@gofynd/fdk-client-javascript 1.4.15-beta.2 → 1.4.15
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 +2 -2
- package/application.d.ts +1 -2
- package/application.js +2 -3
- package/index.d.ts +1 -2
- package/index.js +7 -1
- package/package.json +2 -3
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -18
- package/sdk/application/Cart/CartApplicationClient.d.ts +75 -90
- package/sdk/application/Cart/CartApplicationClient.js +108 -1199
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +81 -142
- package/sdk/application/Catalog/CatalogApplicationClient.js +41 -1344
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -8
- package/sdk/application/Common/CommonApplicationClient.js +2 -92
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -148
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -73
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -727
- package/sdk/application/Content/ContentApplicationClient.d.ts +48 -111
- package/sdk/application/Content/ContentApplicationClient.js +43 -1065
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +8 -13
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +8 -138
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +105 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -18
- package/sdk/application/Lead/LeadApplicationClient.js +5 -217
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +42 -39
- package/sdk/application/Logistic/LogisticApplicationClient.js +91 -493
- package/sdk/application/Order/OrderApplicationClient.d.ts +36 -46
- package/sdk/application/Order/OrderApplicationClient.js +52 -507
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +103 -213
- package/sdk/application/Payment/PaymentApplicationClient.js +84 -2105
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -29
- package/sdk/application/Rewards/RewardsApplicationClient.js +8 -312
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +7 -309
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +8 -176
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +44 -1820
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +3 -52
- package/sdk/application/index.d.ts +0 -18
- package/sdk/application/index.js +0 -33
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +86 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +582 -24
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +116 -19
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +121 -14
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +8 -1
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +51 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +157 -30
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1177 -56
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1662 -249
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +774 -162
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +141 -12
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +8 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +14 -16
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +96 -37
- package/sdk/partner/Theme/ThemePartnerModel.js +90 -36
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +28 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +103 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +612 -179
- package/sdk/partner/Webhook/WebhookPartnerModel.js +253 -150
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +1 -0
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +11 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +14 -8
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +59 -9
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +40 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +11 -130
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +12 -152
- 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 +134 -103
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +407 -112
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +111 -65
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +106 -44
- package/sdk/platform/Cart/CartPlatformModel.d.ts +5060 -1300
- package/sdk/platform/Cart/CartPlatformModel.js +1985 -1217
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +209 -183
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +452 -395
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +185 -142
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +96 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +178 -117
- package/sdk/platform/Catalog/CatalogPlatformClient.js +468 -172
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +6554 -1772
- package/sdk/platform/Catalog/CatalogPlatformModel.js +3264 -1690
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +116 -31
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +85 -24
- package/sdk/platform/Common/CommonPlatformClient.d.ts +3 -2
- package/sdk/platform/Common/CommonPlatformClient.js +3 -2
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +16 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +43 -33
- package/sdk/platform/Communication/CommunicationPlatformModel.js +38 -34
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +46 -42
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +47 -43
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +210 -212
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +46 -33
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +67 -54
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +45 -24
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +134 -30
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +283 -124
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +219 -94
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +37 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +27 -8
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +122 -191
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +447 -831
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +174 -220
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +164 -199
- package/sdk/platform/Content/ContentPlatformClient.d.ts +142 -106
- package/sdk/platform/Content/ContentPlatformClient.js +523 -336
- package/sdk/platform/Content/ContentPlatformModel.d.ts +1233 -476
- package/sdk/platform/Content/ContentPlatformModel.js +514 -487
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +168 -117
- package/sdk/platform/Content/ContentPlatformValidator.js +162 -108
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +14 -12
- package/sdk/platform/Discount/DiscountPlatformClient.js +14 -12
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +94 -36
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +462 -60
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +62 -15
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +75 -13
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +19 -19
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +21 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +370 -101
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +313 -84
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +17 -6
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +85 -7
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +95 -24
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +39 -19
- package/sdk/platform/Order/OrderPlatformClient.d.ts +153 -96
- package/sdk/platform/Order/OrderPlatformClient.js +424 -198
- package/sdk/platform/Order/OrderPlatformModel.d.ts +7747 -1342
- package/sdk/platform/Order/OrderPlatformModel.js +3960 -1262
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +292 -109
- package/sdk/platform/Order/OrderPlatformValidator.js +145 -77
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +93 -105
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +129 -141
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +48 -48
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +48 -48
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +333 -319
- package/sdk/platform/Payment/PaymentPlatformModel.js +288 -278
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +8 -8
- package/sdk/platform/Payment/PaymentPlatformValidator.js +8 -8
- 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 +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +46 -36
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +132 -41
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +46 -17
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +34 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +132 -44
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +681 -64
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2458 -650
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1266 -572
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +176 -47
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +134 -28
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +36 -5
- package/sdk/platform/Share/SharePlatformModel.js +27 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +8 -4
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +2 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +37 -11
- package/sdk/platform/Theme/ThemePlatformModel.js +33 -15
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +720 -427
- package/sdk/platform/Webhook/WebhookPlatformModel.js +410 -386
- 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/Configuration/ConfigurationPublicClient.d.ts +3 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -7
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +112 -2
- package/sdk/public/Content/ContentPublicClient.js +795 -7
- package/sdk/public/Content/ContentPublicModel.d.ts +549 -3
- package/sdk/public/Content/ContentPublicModel.js +649 -3
- package/sdk/public/Content/ContentPublicValidator.d.ts +69 -3
- package/sdk/public/Content/ContentPublicValidator.js +88 -2
- package/sdk/public/Partner/PartnerPublicClient.js +4 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +12 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +21 -21
- package/sdk/public/Webhook/WebhookPublicModel.js +15 -15
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/application/Cart/CartApplicationModel.d.ts +0 -3994
- package/sdk/application/Cart/CartApplicationModel.js +0 -2497
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -769
- package/sdk/application/Cart/CartApplicationValidator.js +0 -530
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3857
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2629
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -791
- package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -551
- package/sdk/application/Common/CommonApplicationModel.d.ts +0 -449
- package/sdk/application/Common/CommonApplicationModel.js +0 -308
- package/sdk/application/Common/CommonApplicationValidator.d.ts +0 -46
- package/sdk/application/Common/CommonApplicationValidator.js +0 -38
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +0 -293
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -201
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +0 -29
- package/sdk/application/Communication/CommunicationApplicationValidator.js +0 -38
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +0 -2556
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1887
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +0 -179
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +0 -176
- package/sdk/application/Content/ContentApplicationModel.d.ts +0 -2133
- package/sdk/application/Content/ContentApplicationModel.js +0 -1589
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -284
- package/sdk/application/Content/ContentApplicationValidator.js +0 -264
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -272
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -190
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Lead/LeadApplicationModel.d.ts +0 -590
- package/sdk/application/Lead/LeadApplicationModel.js +0 -480
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +0 -68
- package/sdk/application/Lead/LeadApplicationValidator.js +0 -71
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +0 -1675
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1121
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -254
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -190
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2296
- package/sdk/application/Order/OrderApplicationModel.js +0 -1471
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -265
- package/sdk/application/Order/OrderApplicationValidator.js +0 -197
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4058
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2630
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +0 -576
- package/sdk/application/Payment/PaymentApplicationValidator.js +0 -594
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +0 -365
- package/sdk/application/Rewards/RewardsApplicationModel.js +0 -396
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +0 -73
- package/sdk/application/Rewards/RewardsApplicationValidator.js +0 -84
- package/sdk/application/Share/ShareApplicationModel.d.ts +0 -339
- package/sdk/application/Share/ShareApplicationModel.js +0 -234
- package/sdk/application/Share/ShareApplicationValidator.d.ts +0 -90
- package/sdk/application/Share/ShareApplicationValidator.js +0 -91
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +0 -1713
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1426
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -66
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -58
- package/sdk/application/User/UserApplicationModel.d.ts +0 -1943
- package/sdk/application/User/UserApplicationModel.js +0 -1382
- package/sdk/application/User/UserApplicationValidator.d.ts +0 -560
- package/sdk/application/User/UserApplicationValidator.js +0 -573
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +0 -52
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -46
- package/sdk/application/Webhook/WebhookApplicationValidator.d.ts +0 -16
- package/sdk/application/Webhook/WebhookApplicationValidator.js +0 -19
- package/sdk/common/Clickstream.d.ts +0 -1
- package/sdk/common/Clickstream.js +0 -464
- 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 -2890
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2148
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,11 +1,85 @@
|
|
|
1
1
|
export = FileStoragePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {
|
|
5
|
-
* @property {
|
|
3
|
+
* @typedef UpdatePdfType
|
|
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 PdfTypeByIdDetails
|
|
14
|
+
* @property {boolean} [store_os]
|
|
15
|
+
* @property {string} [country_code]
|
|
16
|
+
* @property {number} [pdf_type_id]
|
|
17
|
+
* @property {number} [__v]
|
|
18
|
+
* @property {string} [_id]
|
|
19
|
+
* @property {string[]} [format]
|
|
20
|
+
* @property {string} [name]
|
|
21
|
+
* @property {boolean} [visibility]
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* @typedef PdfConfigurationData
|
|
25
|
+
* @property {string} [_id]
|
|
26
|
+
* @property {number} [pdf_type_id]
|
|
27
|
+
* @property {string} [format]
|
|
28
|
+
* @property {string} [template]
|
|
29
|
+
* @property {string} [country_code]
|
|
30
|
+
* @property {number} [__v]
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* @typedef UpdatedDefaultTemplateById
|
|
34
|
+
* @property {PdfConfigurationData} [data]
|
|
35
|
+
* @property {boolean} [success]
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* @typedef UpdateTemplate
|
|
39
|
+
* @property {number} [pdf_type_id]
|
|
40
|
+
* @property {string} [format] - This is invoice document format such as A4, A6, POS, A5
|
|
41
|
+
* @property {string} [country_code] - This is iso code of a country
|
|
42
|
+
* @property {string} [template] - This is html template string
|
|
43
|
+
* @property {boolean} [store_os] - This flag is to identify store-os
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* @typedef PdfDefaultTemplateById
|
|
47
|
+
* @property {string} [_id] - The ID of the PDF default template
|
|
48
|
+
* @property {string} [country_code] - The country code associated with the template
|
|
49
|
+
* @property {string} [format] - The format of the template (e.g., "A4")
|
|
50
|
+
* @property {number} [pdf_type_id] - The ID of the PDF type
|
|
51
|
+
* @property {number} [__v] - Version number
|
|
52
|
+
* @property {string} [template] - The HTML template content
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* @typedef PdfTemplateCreateSuccess
|
|
56
|
+
* @property {number} [code]
|
|
57
|
+
* @property {boolean} [success]
|
|
58
|
+
* @property {PdfTemplateCreateSuccessData} [data]
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* @typedef PdfTemplateCreateSuccessData
|
|
62
|
+
* @property {string} [_id]
|
|
63
|
+
* @property {number} [pdf_type_id]
|
|
64
|
+
* @property {string} [format]
|
|
65
|
+
* @property {string} [template]
|
|
66
|
+
* @property {string} [country_code]
|
|
67
|
+
* @property {number} [__v]
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* @typedef CreateTemplate
|
|
71
|
+
* @property {number} pdf_type_id
|
|
72
|
+
* @property {string} format - This is invoice document format such as A4, A6, POS, A5
|
|
73
|
+
* @property {string} country_code - This is iso code of a country
|
|
74
|
+
* @property {string} [template] - This is html template string
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* @typedef PdfDefaultTemplateSuccess
|
|
78
|
+
* @property {Document[]} [data]
|
|
79
|
+
* @property {boolean} [success] - Indicates if the request was successful.
|
|
6
80
|
*/
|
|
7
81
|
/**
|
|
8
|
-
* @typedef
|
|
82
|
+
* @typedef FailedBrowseFilesResult
|
|
9
83
|
* @property {string} message
|
|
10
84
|
*/
|
|
11
85
|
/**
|
|
@@ -20,7 +94,7 @@ export = FileStoragePlatformModel;
|
|
|
20
94
|
* @property {string} url
|
|
21
95
|
*/
|
|
22
96
|
/**
|
|
23
|
-
* @typedef
|
|
97
|
+
* @typedef FileUpload
|
|
24
98
|
* @property {string} file_name
|
|
25
99
|
* @property {string} file_path
|
|
26
100
|
* @property {string} content_type
|
|
@@ -29,15 +103,10 @@ export = FileStoragePlatformModel;
|
|
|
29
103
|
* @property {string} operation
|
|
30
104
|
* @property {number} size
|
|
31
105
|
* @property {Upload} upload
|
|
32
|
-
* @property {CDN} cdn
|
|
33
106
|
* @property {string[]} [tags]
|
|
34
107
|
*/
|
|
35
108
|
/**
|
|
36
|
-
* @typedef
|
|
37
|
-
* @property {string} [subpath] - The subpath for the file.
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* @typedef StartRequest
|
|
109
|
+
* @typedef FileUploadStart
|
|
41
110
|
* @property {string} file_name
|
|
42
111
|
* @property {string} content_type
|
|
43
112
|
* @property {number} size
|
|
@@ -49,7 +118,7 @@ export = FileStoragePlatformModel;
|
|
|
49
118
|
* @property {string} [username]
|
|
50
119
|
*/
|
|
51
120
|
/**
|
|
52
|
-
* @typedef
|
|
121
|
+
* @typedef FileUploadComplete
|
|
53
122
|
* @property {string} _id
|
|
54
123
|
* @property {string} file_name
|
|
55
124
|
* @property {string} file_path
|
|
@@ -66,6 +135,11 @@ export = FileStoragePlatformModel;
|
|
|
66
135
|
* @property {string} modified_on
|
|
67
136
|
* @property {CreatedBy} [created_by]
|
|
68
137
|
*/
|
|
138
|
+
/**
|
|
139
|
+
* @typedef ProxyFileAccess
|
|
140
|
+
* @property {Object} [data]
|
|
141
|
+
* @property {Object} [support]
|
|
142
|
+
*/
|
|
69
143
|
/**
|
|
70
144
|
* @typedef DestinationNamespace
|
|
71
145
|
* @property {string} [namespace]
|
|
@@ -82,16 +156,16 @@ export = FileStoragePlatformModel;
|
|
|
82
156
|
* @property {number} expiry
|
|
83
157
|
*/
|
|
84
158
|
/**
|
|
85
|
-
* @typedef
|
|
159
|
+
* @typedef SignUrlResult
|
|
86
160
|
* @property {Urls[]} urls
|
|
87
161
|
*/
|
|
88
162
|
/**
|
|
89
|
-
* @typedef
|
|
163
|
+
* @typedef SignUrl
|
|
90
164
|
* @property {number} expiry
|
|
91
165
|
* @property {string[]} urls
|
|
92
166
|
*/
|
|
93
167
|
/**
|
|
94
|
-
* @typedef
|
|
168
|
+
* @typedef InvoiceTypesData
|
|
95
169
|
* @property {boolean} [status]
|
|
96
170
|
* @property {string} _id
|
|
97
171
|
* @property {number} pdf_type_id
|
|
@@ -99,11 +173,12 @@ export = FileStoragePlatformModel;
|
|
|
99
173
|
* @property {string[]} format
|
|
100
174
|
* @property {number} __v
|
|
101
175
|
* @property {boolean} visibility
|
|
176
|
+
* @property {boolean} store_os
|
|
102
177
|
* @property {string} country_code
|
|
103
178
|
*/
|
|
104
179
|
/**
|
|
105
|
-
* @typedef
|
|
106
|
-
* @property {
|
|
180
|
+
* @typedef InvoiceTypes
|
|
181
|
+
* @property {InvoiceTypesData[]} data
|
|
107
182
|
* @property {boolean} success
|
|
108
183
|
*/
|
|
109
184
|
/**
|
|
@@ -384,7 +459,7 @@ export = FileStoragePlatformModel;
|
|
|
384
459
|
* @property {MetaProperty} [generator]
|
|
385
460
|
*/
|
|
386
461
|
/**
|
|
387
|
-
* @typedef
|
|
462
|
+
* @typedef PdfPayloadDetails
|
|
388
463
|
* @property {boolean} [is_export]
|
|
389
464
|
* @property {boolean} [is_export_shipment]
|
|
390
465
|
* @property {string} [app_domain_name]
|
|
@@ -418,8 +493,6 @@ export = FileStoragePlatformModel;
|
|
|
418
493
|
* @property {boolean} [is_self_ship]
|
|
419
494
|
* @property {string} [mode]
|
|
420
495
|
* @property {boolean} [is_self_pickup]
|
|
421
|
-
* @property {Object} [shipment_meta] - This field represents the shipment meta details
|
|
422
|
-
* @property {Object} [order_meta] - This field represents the order meta details
|
|
423
496
|
* @property {string} [platform_name]
|
|
424
497
|
* @property {number} [amount_to_be_collected]
|
|
425
498
|
* @property {number} [amount_paid]
|
|
@@ -438,32 +511,60 @@ export = FileStoragePlatformModel;
|
|
|
438
511
|
* @property {string} [_id] - This field contains the unique identifier for the
|
|
439
512
|
* PDF payload.
|
|
440
513
|
* @property {number} [pdf_type_id] - This is invoice unique id
|
|
441
|
-
* @property {
|
|
514
|
+
* @property {PdfPayloadDetails} payload
|
|
442
515
|
* @property {string} [country_code] - This field represents the country code.
|
|
516
|
+
* @property {number} [__v]
|
|
517
|
+
*/
|
|
518
|
+
/**
|
|
519
|
+
* @typedef savePdfPayload
|
|
520
|
+
* @property {number} [pdf_type_id]
|
|
521
|
+
* @property {PdfPayloadDetails} [payload]
|
|
522
|
+
* @property {string} [country_code]
|
|
523
|
+
*/
|
|
524
|
+
/**
|
|
525
|
+
* @typedef MapperDetails
|
|
526
|
+
* @property {string} [_id]
|
|
527
|
+
* @property {number} [pdf_type_id]
|
|
528
|
+
* @property {PdfPayloadDetails} [payload]
|
|
529
|
+
* @property {string} [country_code]
|
|
443
530
|
* @property {number} [__v] - This field holds the version number.
|
|
444
531
|
*/
|
|
445
532
|
/**
|
|
446
|
-
* @typedef
|
|
533
|
+
* @typedef PdfDataItemsDetails
|
|
447
534
|
* @property {DummyTemplateData[]} data
|
|
448
535
|
* @property {boolean} success
|
|
449
536
|
*/
|
|
450
537
|
/**
|
|
451
538
|
* @typedef PdfConfig
|
|
452
539
|
* @property {string} [format] - This is invoice document format such as A4, A6, POS
|
|
453
|
-
* @property {string} [template] - This is html template string
|
|
454
|
-
* @property {number} [pdf_type_id]
|
|
540
|
+
* @property {string} [template] - This is html template string.
|
|
541
|
+
* @property {number} [pdf_type_id] - This field holds an identifier for the type of PDF.
|
|
542
|
+
* @property {string} [country_code] - This field contains the country code.
|
|
543
|
+
* @property {boolean} [default_template] - This field indicates whether the
|
|
544
|
+
* fetched HTML template is the default template.
|
|
455
545
|
*/
|
|
456
546
|
/**
|
|
457
547
|
* @typedef PdfConfigSuccessData
|
|
458
|
-
* @property {string} [_id]
|
|
459
|
-
*
|
|
460
|
-
* @property {
|
|
461
|
-
*
|
|
462
|
-
* @property {string} [
|
|
463
|
-
*
|
|
464
|
-
* @property {number} [
|
|
548
|
+
* @property {string} [_id] - This field contains the unique identifier for the
|
|
549
|
+
* PDF configuration.
|
|
550
|
+
* @property {number} [company_id] - This field holds the identifier for the
|
|
551
|
+
* company associated with the PDF configuration.
|
|
552
|
+
* @property {string} [application_id] - This field contains the identifier for
|
|
553
|
+
* the application that uses this PDF configuration.
|
|
554
|
+
* @property {number} [pdf_type_id] - This field holds an identifier for the type of PDF.
|
|
555
|
+
* @property {string} [format] - This field specifies the format of the invoice document.
|
|
556
|
+
* @property {string} [template] - This field contains the HTML template string
|
|
557
|
+
* for the PDF document.
|
|
558
|
+
* @property {number} [__v] - This field holds the version number of the PDF
|
|
559
|
+
* configuration document.
|
|
465
560
|
* @property {string} [country_code]
|
|
466
561
|
*/
|
|
562
|
+
/**
|
|
563
|
+
* @typedef DeleteMapperById
|
|
564
|
+
* @property {string} [message] - This field represents the country code.
|
|
565
|
+
* @property {boolean} [default_template] - This field indicates whether the
|
|
566
|
+
* HTML template is the default template.
|
|
567
|
+
*/
|
|
467
568
|
/**
|
|
468
569
|
* @typedef PdfConfigSuccess
|
|
469
570
|
* @property {PdfConfigSuccessData[]} [data]
|
|
@@ -484,11 +585,6 @@ export = FileStoragePlatformModel;
|
|
|
484
585
|
* @property {PdfConfigSaveSuccessData} [data]
|
|
485
586
|
* @property {boolean} [success]
|
|
486
587
|
*/
|
|
487
|
-
/**
|
|
488
|
-
* @typedef PdfDefaultTemplateSuccess
|
|
489
|
-
* @property {Document[]} [data]
|
|
490
|
-
* @property {boolean} [success] - Indicates if the request was successful.
|
|
491
|
-
*/
|
|
492
588
|
/**
|
|
493
589
|
* @typedef Document
|
|
494
590
|
* @property {string} [_id]
|
|
@@ -570,17 +666,142 @@ export = FileStoragePlatformModel;
|
|
|
570
666
|
declare class FileStoragePlatformModel {
|
|
571
667
|
}
|
|
572
668
|
declare namespace FileStoragePlatformModel {
|
|
573
|
-
export {
|
|
669
|
+
export { UpdatePdfType, PdfTypeByIdDetails, PdfConfigurationData, UpdatedDefaultTemplateById, UpdateTemplate, PdfDefaultTemplateById, PdfTemplateCreateSuccess, PdfTemplateCreateSuccessData, CreateTemplate, PdfDefaultTemplateSuccess, FailedBrowseFilesResult, CDN, Upload, FileUpload, FileUploadStart, CreatedBy, FileUploadComplete, ProxyFileAccess, DestinationNamespace, CopyFiles, Urls, SignUrlResult, SignUrl, InvoiceTypesData, InvoiceTypes, ConversionRate, DeliveryPartnerDetail, Image, PaymentData, InvoiceDetail, CompanyDetail, StoreDetail, CustomerBillingDetail, CustomerShippingDetail, ReturnDetail, Brand, Cgst, Sgst, Igst, Tax, ItemsProductTable, ProductTable, Taxes, TaxTable, RegisteredCompanyDetail, Kwargs, ShipmentIdBarcodeGenerator, SignedQrcodeGenerator, KwargsUpiQrcode, UpiQrcodeGenerator, DigitalsignatureGenerator, KwargsAwbNumber, AwbNumberLabelBarcodeGenerator, AwbNumberBarcodeGenerator, MetaProperty, Meta, PdfPayloadDetails, DummyTemplateData, savePdfPayload, MapperDetails, PdfDataItemsDetails, PdfConfig, PdfConfigSuccessData, DeleteMapperById, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, Document, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
|
|
574
670
|
}
|
|
575
|
-
/** @returns {
|
|
576
|
-
declare function
|
|
577
|
-
type
|
|
578
|
-
|
|
579
|
-
|
|
671
|
+
/** @returns {UpdatePdfType} */
|
|
672
|
+
declare function UpdatePdfType(): UpdatePdfType;
|
|
673
|
+
type UpdatePdfType = {
|
|
674
|
+
pdf_type_id?: number;
|
|
675
|
+
name?: string;
|
|
676
|
+
format?: string[];
|
|
677
|
+
visibility?: boolean;
|
|
678
|
+
schema?: any;
|
|
679
|
+
store_os?: boolean;
|
|
680
|
+
country_code?: string;
|
|
681
|
+
};
|
|
682
|
+
/** @returns {PdfTypeByIdDetails} */
|
|
683
|
+
declare function PdfTypeByIdDetails(): PdfTypeByIdDetails;
|
|
684
|
+
type PdfTypeByIdDetails = {
|
|
685
|
+
store_os?: boolean;
|
|
686
|
+
country_code?: string;
|
|
687
|
+
pdf_type_id?: number;
|
|
688
|
+
__v?: number;
|
|
689
|
+
_id?: string;
|
|
690
|
+
format?: string[];
|
|
691
|
+
name?: string;
|
|
692
|
+
visibility?: boolean;
|
|
693
|
+
};
|
|
694
|
+
/** @returns {PdfConfigurationData} */
|
|
695
|
+
declare function PdfConfigurationData(): PdfConfigurationData;
|
|
696
|
+
type PdfConfigurationData = {
|
|
697
|
+
_id?: string;
|
|
698
|
+
pdf_type_id?: number;
|
|
699
|
+
format?: string;
|
|
700
|
+
template?: string;
|
|
701
|
+
country_code?: string;
|
|
702
|
+
__v?: number;
|
|
703
|
+
};
|
|
704
|
+
/** @returns {UpdatedDefaultTemplateById} */
|
|
705
|
+
declare function UpdatedDefaultTemplateById(): UpdatedDefaultTemplateById;
|
|
706
|
+
type UpdatedDefaultTemplateById = {
|
|
707
|
+
data?: PdfConfigurationData;
|
|
708
|
+
success?: boolean;
|
|
709
|
+
};
|
|
710
|
+
/** @returns {UpdateTemplate} */
|
|
711
|
+
declare function UpdateTemplate(): UpdateTemplate;
|
|
712
|
+
type UpdateTemplate = {
|
|
713
|
+
pdf_type_id?: number;
|
|
714
|
+
/**
|
|
715
|
+
* - This is invoice document format such as A4, A6, POS, A5
|
|
716
|
+
*/
|
|
717
|
+
format?: string;
|
|
718
|
+
/**
|
|
719
|
+
* - This is iso code of a country
|
|
720
|
+
*/
|
|
721
|
+
country_code?: string;
|
|
722
|
+
/**
|
|
723
|
+
* - This is html template string
|
|
724
|
+
*/
|
|
725
|
+
template?: string;
|
|
726
|
+
/**
|
|
727
|
+
* - This flag is to identify store-os
|
|
728
|
+
*/
|
|
729
|
+
store_os?: boolean;
|
|
730
|
+
};
|
|
731
|
+
/** @returns {PdfDefaultTemplateById} */
|
|
732
|
+
declare function PdfDefaultTemplateById(): PdfDefaultTemplateById;
|
|
733
|
+
type PdfDefaultTemplateById = {
|
|
734
|
+
/**
|
|
735
|
+
* - The ID of the PDF default template
|
|
736
|
+
*/
|
|
737
|
+
_id?: string;
|
|
738
|
+
/**
|
|
739
|
+
* - The country code associated with the template
|
|
740
|
+
*/
|
|
741
|
+
country_code?: string;
|
|
742
|
+
/**
|
|
743
|
+
* - The format of the template (e.g., "A4")
|
|
744
|
+
*/
|
|
745
|
+
format?: string;
|
|
746
|
+
/**
|
|
747
|
+
* - The ID of the PDF type
|
|
748
|
+
*/
|
|
749
|
+
pdf_type_id?: number;
|
|
750
|
+
/**
|
|
751
|
+
* - Version number
|
|
752
|
+
*/
|
|
753
|
+
__v?: number;
|
|
754
|
+
/**
|
|
755
|
+
* - The HTML template content
|
|
756
|
+
*/
|
|
757
|
+
template?: string;
|
|
758
|
+
};
|
|
759
|
+
/** @returns {PdfTemplateCreateSuccess} */
|
|
760
|
+
declare function PdfTemplateCreateSuccess(): PdfTemplateCreateSuccess;
|
|
761
|
+
type PdfTemplateCreateSuccess = {
|
|
762
|
+
code?: number;
|
|
763
|
+
success?: boolean;
|
|
764
|
+
data?: PdfTemplateCreateSuccessData;
|
|
765
|
+
};
|
|
766
|
+
/** @returns {PdfTemplateCreateSuccessData} */
|
|
767
|
+
declare function PdfTemplateCreateSuccessData(): PdfTemplateCreateSuccessData;
|
|
768
|
+
type PdfTemplateCreateSuccessData = {
|
|
769
|
+
_id?: string;
|
|
770
|
+
pdf_type_id?: number;
|
|
771
|
+
format?: string;
|
|
772
|
+
template?: string;
|
|
773
|
+
country_code?: string;
|
|
774
|
+
__v?: number;
|
|
775
|
+
};
|
|
776
|
+
/** @returns {CreateTemplate} */
|
|
777
|
+
declare function CreateTemplate(): CreateTemplate;
|
|
778
|
+
type CreateTemplate = {
|
|
779
|
+
pdf_type_id: number;
|
|
780
|
+
/**
|
|
781
|
+
* - This is invoice document format such as A4, A6, POS, A5
|
|
782
|
+
*/
|
|
783
|
+
format: string;
|
|
784
|
+
/**
|
|
785
|
+
* - This is iso code of a country
|
|
786
|
+
*/
|
|
787
|
+
country_code: string;
|
|
788
|
+
/**
|
|
789
|
+
* - This is html template string
|
|
790
|
+
*/
|
|
791
|
+
template?: string;
|
|
792
|
+
};
|
|
793
|
+
/** @returns {PdfDefaultTemplateSuccess} */
|
|
794
|
+
declare function PdfDefaultTemplateSuccess(): PdfDefaultTemplateSuccess;
|
|
795
|
+
type PdfDefaultTemplateSuccess = {
|
|
796
|
+
data?: Document[];
|
|
797
|
+
/**
|
|
798
|
+
* - Indicates if the request was successful.
|
|
799
|
+
*/
|
|
800
|
+
success?: boolean;
|
|
580
801
|
};
|
|
581
|
-
/** @returns {
|
|
582
|
-
declare function
|
|
583
|
-
type
|
|
802
|
+
/** @returns {FailedBrowseFilesResult} */
|
|
803
|
+
declare function FailedBrowseFilesResult(): FailedBrowseFilesResult;
|
|
804
|
+
type FailedBrowseFilesResult = {
|
|
584
805
|
message: string;
|
|
585
806
|
};
|
|
586
807
|
/** @returns {CDN} */
|
|
@@ -596,9 +817,9 @@ type Upload = {
|
|
|
596
817
|
expiry: number;
|
|
597
818
|
url: string;
|
|
598
819
|
};
|
|
599
|
-
/** @returns {
|
|
600
|
-
declare function
|
|
601
|
-
type
|
|
820
|
+
/** @returns {FileUpload} */
|
|
821
|
+
declare function FileUpload(): FileUpload;
|
|
822
|
+
type FileUpload = {
|
|
602
823
|
file_name: string;
|
|
603
824
|
file_path: string;
|
|
604
825
|
content_type: string;
|
|
@@ -607,20 +828,11 @@ type StartResponse = {
|
|
|
607
828
|
operation: string;
|
|
608
829
|
size: number;
|
|
609
830
|
upload: Upload;
|
|
610
|
-
cdn: CDN;
|
|
611
831
|
tags?: string[];
|
|
612
832
|
};
|
|
613
|
-
/** @returns {
|
|
614
|
-
declare function
|
|
615
|
-
type
|
|
616
|
-
/**
|
|
617
|
-
* - The subpath for the file.
|
|
618
|
-
*/
|
|
619
|
-
subpath?: string;
|
|
620
|
-
};
|
|
621
|
-
/** @returns {StartRequest} */
|
|
622
|
-
declare function StartRequest(): StartRequest;
|
|
623
|
-
type StartRequest = {
|
|
833
|
+
/** @returns {FileUploadStart} */
|
|
834
|
+
declare function FileUploadStart(): FileUploadStart;
|
|
835
|
+
type FileUploadStart = {
|
|
624
836
|
file_name: string;
|
|
625
837
|
content_type: string;
|
|
626
838
|
size: number;
|
|
@@ -632,9 +844,9 @@ declare function CreatedBy(): CreatedBy;
|
|
|
632
844
|
type CreatedBy = {
|
|
633
845
|
username?: string;
|
|
634
846
|
};
|
|
635
|
-
/** @returns {
|
|
636
|
-
declare function
|
|
637
|
-
type
|
|
847
|
+
/** @returns {FileUploadComplete} */
|
|
848
|
+
declare function FileUploadComplete(): FileUploadComplete;
|
|
849
|
+
type FileUploadComplete = {
|
|
638
850
|
_id: string;
|
|
639
851
|
file_name: string;
|
|
640
852
|
file_path: string;
|
|
@@ -651,6 +863,12 @@ type CompleteResponse = {
|
|
|
651
863
|
modified_on: string;
|
|
652
864
|
created_by?: CreatedBy;
|
|
653
865
|
};
|
|
866
|
+
/** @returns {ProxyFileAccess} */
|
|
867
|
+
declare function ProxyFileAccess(): ProxyFileAccess;
|
|
868
|
+
type ProxyFileAccess = {
|
|
869
|
+
data?: any;
|
|
870
|
+
support?: any;
|
|
871
|
+
};
|
|
654
872
|
/** @returns {DestinationNamespace} */
|
|
655
873
|
declare function DestinationNamespace(): DestinationNamespace;
|
|
656
874
|
type DestinationNamespace = {
|
|
@@ -669,20 +887,20 @@ type Urls = {
|
|
|
669
887
|
signed_url: string;
|
|
670
888
|
expiry: number;
|
|
671
889
|
};
|
|
672
|
-
/** @returns {
|
|
673
|
-
declare function
|
|
674
|
-
type
|
|
890
|
+
/** @returns {SignUrlResult} */
|
|
891
|
+
declare function SignUrlResult(): SignUrlResult;
|
|
892
|
+
type SignUrlResult = {
|
|
675
893
|
urls: Urls[];
|
|
676
894
|
};
|
|
677
|
-
/** @returns {
|
|
678
|
-
declare function
|
|
679
|
-
type
|
|
895
|
+
/** @returns {SignUrl} */
|
|
896
|
+
declare function SignUrl(): SignUrl;
|
|
897
|
+
type SignUrl = {
|
|
680
898
|
expiry: number;
|
|
681
899
|
urls: string[];
|
|
682
900
|
};
|
|
683
|
-
/** @returns {
|
|
684
|
-
declare function
|
|
685
|
-
type
|
|
901
|
+
/** @returns {InvoiceTypesData} */
|
|
902
|
+
declare function InvoiceTypesData(): InvoiceTypesData;
|
|
903
|
+
type InvoiceTypesData = {
|
|
686
904
|
status?: boolean;
|
|
687
905
|
_id: string;
|
|
688
906
|
pdf_type_id: number;
|
|
@@ -690,12 +908,13 @@ type InvoiceTypesDataResponse = {
|
|
|
690
908
|
format: string[];
|
|
691
909
|
__v: number;
|
|
692
910
|
visibility: boolean;
|
|
911
|
+
store_os: boolean;
|
|
693
912
|
country_code: string;
|
|
694
913
|
};
|
|
695
|
-
/** @returns {
|
|
696
|
-
declare function
|
|
697
|
-
type
|
|
698
|
-
data:
|
|
914
|
+
/** @returns {InvoiceTypes} */
|
|
915
|
+
declare function InvoiceTypes(): InvoiceTypes;
|
|
916
|
+
type InvoiceTypes = {
|
|
917
|
+
data: InvoiceTypesData[];
|
|
699
918
|
success: boolean;
|
|
700
919
|
};
|
|
701
920
|
/** @returns {ConversionRate} */
|
|
@@ -1072,9 +1291,9 @@ declare function Meta(): Meta;
|
|
|
1072
1291
|
type Meta = {
|
|
1073
1292
|
generator?: MetaProperty;
|
|
1074
1293
|
};
|
|
1075
|
-
/** @returns {
|
|
1076
|
-
declare function
|
|
1077
|
-
type
|
|
1294
|
+
/** @returns {PdfPayloadDetails} */
|
|
1295
|
+
declare function PdfPayloadDetails(): PdfPayloadDetails;
|
|
1296
|
+
type PdfPayloadDetails = {
|
|
1078
1297
|
is_export?: boolean;
|
|
1079
1298
|
is_export_shipment?: boolean;
|
|
1080
1299
|
app_domain_name?: string;
|
|
@@ -1108,14 +1327,6 @@ type DummyTemplateDataPayload = {
|
|
|
1108
1327
|
is_self_ship?: boolean;
|
|
1109
1328
|
mode?: string;
|
|
1110
1329
|
is_self_pickup?: boolean;
|
|
1111
|
-
/**
|
|
1112
|
-
* - This field represents the shipment meta details
|
|
1113
|
-
*/
|
|
1114
|
-
shipment_meta?: any;
|
|
1115
|
-
/**
|
|
1116
|
-
* - This field represents the order meta details
|
|
1117
|
-
*/
|
|
1118
|
-
order_meta?: any;
|
|
1119
1330
|
platform_name?: string;
|
|
1120
1331
|
amount_to_be_collected?: number;
|
|
1121
1332
|
amount_paid?: number;
|
|
@@ -1141,19 +1352,35 @@ type DummyTemplateData = {
|
|
|
1141
1352
|
* - This is invoice unique id
|
|
1142
1353
|
*/
|
|
1143
1354
|
pdf_type_id?: number;
|
|
1144
|
-
payload:
|
|
1355
|
+
payload: PdfPayloadDetails;
|
|
1145
1356
|
/**
|
|
1146
1357
|
* - This field represents the country code.
|
|
1147
1358
|
*/
|
|
1148
1359
|
country_code?: string;
|
|
1360
|
+
__v?: number;
|
|
1361
|
+
};
|
|
1362
|
+
/** @returns {savePdfPayload} */
|
|
1363
|
+
declare function savePdfPayload(): savePdfPayload;
|
|
1364
|
+
type savePdfPayload = {
|
|
1365
|
+
pdf_type_id?: number;
|
|
1366
|
+
payload?: PdfPayloadDetails;
|
|
1367
|
+
country_code?: string;
|
|
1368
|
+
};
|
|
1369
|
+
/** @returns {MapperDetails} */
|
|
1370
|
+
declare function MapperDetails(): MapperDetails;
|
|
1371
|
+
type MapperDetails = {
|
|
1372
|
+
_id?: string;
|
|
1373
|
+
pdf_type_id?: number;
|
|
1374
|
+
payload?: PdfPayloadDetails;
|
|
1375
|
+
country_code?: string;
|
|
1149
1376
|
/**
|
|
1150
1377
|
* - This field holds the version number.
|
|
1151
1378
|
*/
|
|
1152
1379
|
__v?: number;
|
|
1153
1380
|
};
|
|
1154
|
-
/** @returns {
|
|
1155
|
-
declare function
|
|
1156
|
-
type
|
|
1381
|
+
/** @returns {PdfDataItemsDetails} */
|
|
1382
|
+
declare function PdfDataItemsDetails(): PdfDataItemsDetails;
|
|
1383
|
+
type PdfDataItemsDetails = {
|
|
1157
1384
|
data: DummyTemplateData[];
|
|
1158
1385
|
success: boolean;
|
|
1159
1386
|
};
|
|
@@ -1165,23 +1392,74 @@ type PdfConfig = {
|
|
|
1165
1392
|
*/
|
|
1166
1393
|
format?: string;
|
|
1167
1394
|
/**
|
|
1168
|
-
* - This is html template string
|
|
1395
|
+
* - This is html template string.
|
|
1169
1396
|
*/
|
|
1170
1397
|
template?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* - This field holds an identifier for the type of PDF.
|
|
1400
|
+
*/
|
|
1171
1401
|
pdf_type_id?: number;
|
|
1402
|
+
/**
|
|
1403
|
+
* - This field contains the country code.
|
|
1404
|
+
*/
|
|
1405
|
+
country_code?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* - This field indicates whether the
|
|
1408
|
+
* fetched HTML template is the default template.
|
|
1409
|
+
*/
|
|
1410
|
+
default_template?: boolean;
|
|
1172
1411
|
};
|
|
1173
1412
|
/** @returns {PdfConfigSuccessData} */
|
|
1174
1413
|
declare function PdfConfigSuccessData(): PdfConfigSuccessData;
|
|
1175
1414
|
type PdfConfigSuccessData = {
|
|
1415
|
+
/**
|
|
1416
|
+
* - This field contains the unique identifier for the
|
|
1417
|
+
* PDF configuration.
|
|
1418
|
+
*/
|
|
1176
1419
|
_id?: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* - This field holds the identifier for the
|
|
1422
|
+
* company associated with the PDF configuration.
|
|
1423
|
+
*/
|
|
1177
1424
|
company_id?: number;
|
|
1425
|
+
/**
|
|
1426
|
+
* - This field contains the identifier for
|
|
1427
|
+
* the application that uses this PDF configuration.
|
|
1428
|
+
*/
|
|
1178
1429
|
application_id?: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* - This field holds an identifier for the type of PDF.
|
|
1432
|
+
*/
|
|
1179
1433
|
pdf_type_id?: number;
|
|
1434
|
+
/**
|
|
1435
|
+
* - This field specifies the format of the invoice document.
|
|
1436
|
+
*/
|
|
1180
1437
|
format?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* - This field contains the HTML template string
|
|
1440
|
+
* for the PDF document.
|
|
1441
|
+
*/
|
|
1181
1442
|
template?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* - This field holds the version number of the PDF
|
|
1445
|
+
* configuration document.
|
|
1446
|
+
*/
|
|
1182
1447
|
__v?: number;
|
|
1183
1448
|
country_code?: string;
|
|
1184
1449
|
};
|
|
1450
|
+
/** @returns {DeleteMapperById} */
|
|
1451
|
+
declare function DeleteMapperById(): DeleteMapperById;
|
|
1452
|
+
type DeleteMapperById = {
|
|
1453
|
+
/**
|
|
1454
|
+
* - This field represents the country code.
|
|
1455
|
+
*/
|
|
1456
|
+
message?: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* - This field indicates whether the
|
|
1459
|
+
* HTML template is the default template.
|
|
1460
|
+
*/
|
|
1461
|
+
default_template?: boolean;
|
|
1462
|
+
};
|
|
1185
1463
|
/** @returns {PdfConfigSuccess} */
|
|
1186
1464
|
declare function PdfConfigSuccess(): PdfConfigSuccess;
|
|
1187
1465
|
type PdfConfigSuccess = {
|
|
@@ -1205,15 +1483,6 @@ type PdfConfigSaveSuccess = {
|
|
|
1205
1483
|
data?: PdfConfigSaveSuccessData;
|
|
1206
1484
|
success?: boolean;
|
|
1207
1485
|
};
|
|
1208
|
-
/** @returns {PdfDefaultTemplateSuccess} */
|
|
1209
|
-
declare function PdfDefaultTemplateSuccess(): PdfDefaultTemplateSuccess;
|
|
1210
|
-
type PdfDefaultTemplateSuccess = {
|
|
1211
|
-
data?: Document[];
|
|
1212
|
-
/**
|
|
1213
|
-
* - Indicates if the request was successful.
|
|
1214
|
-
*/
|
|
1215
|
-
success?: boolean;
|
|
1216
|
-
};
|
|
1217
1486
|
/** @returns {Document} */
|
|
1218
1487
|
declare function Document(): Document;
|
|
1219
1488
|
type Document = {
|