@gofynd/fdk-client-javascript 1.4.14 → 1.4.15-beta.10
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 +0 -2
- package/sdk/application/ApplicationClient.js +0 -20
- package/sdk/application/Cart/CartApplicationClient.d.ts +55 -97
- package/sdk/application/Cart/CartApplicationClient.js +60 -1262
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +80 -162
- package/sdk/application/Catalog/CatalogApplicationClient.js +148 -1313
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -9
- package/sdk/application/Common/CommonApplicationClient.js +5 -90
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +6 -19
- package/sdk/application/Communication/CommunicationApplicationClient.js +6 -145
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +32 -80
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +31 -725
- package/sdk/application/Content/ContentApplicationClient.d.ts +63 -85
- package/sdk/application/Content/ContentApplicationClient.js +126 -942
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +11 -15
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +26 -130
- package/sdk/application/Lead/LeadApplicationClient.d.ts +10 -17
- package/sdk/application/Lead/LeadApplicationClient.js +32 -201
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +22 -62
- package/sdk/application/Logistic/LogisticApplicationClient.js +51 -647
- package/sdk/application/Order/OrderApplicationClient.d.ts +22 -56
- package/sdk/application/Order/OrderApplicationClient.js +86 -555
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +92 -209
- package/sdk/application/Payment/PaymentApplicationClient.js +57 -2099
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +15 -26
- package/sdk/application/Rewards/RewardsApplicationClient.js +17 -303
- package/sdk/application/Share/ShareApplicationClient.d.ts +14 -24
- package/sdk/application/Share/ShareApplicationClient.js +34 -294
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -14
- package/sdk/application/Theme/ThemeApplicationClient.js +30 -166
- package/sdk/application/User/UserApplicationClient.d.ts +87 -138
- package/sdk/application/User/UserApplicationClient.js +47 -1817
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -7
- package/sdk/application/Webhook/WebhookApplicationClient.js +6 -49
- package/sdk/application/index.d.ts +0 -19
- package/sdk/application/index.js +0 -35
- 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 +12 -86
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +24 -582
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +21 -116
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +16 -121
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -8
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -51
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerClient.js +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerModel.js +15 -15
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +20 -126
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +20 -970
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +85 -767
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +76 -429
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -10
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +6 -120
- package/sdk/partner/OAuthClient.js +1 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -8
- package/sdk/partner/Theme/ThemePartnerClient.js +16 -14
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +39 -135
- package/sdk/partner/Theme/ThemePartnerModel.js +38 -114
- package/sdk/partner/Theme/ThemePartnerValidator.js +4 -4
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -28
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -103
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +179 -612
- package/sdk/partner/Webhook/WebhookPartnerModel.js +150 -253
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -1
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -11
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +4 -5
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +8 -14
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +9 -59
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +4 -40
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +32 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +243 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +130 -11
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +152 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +39 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +35 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +388 -443
- package/sdk/platform/Billing/BillingPlatformModel.js +263 -280
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +18 -16
- package/sdk/platform/Billing/BillingPlatformValidator.js +9 -8
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +103 -134
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +112 -407
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +65 -111
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +44 -106
- package/sdk/platform/Cart/CartPlatformModel.d.ts +1328 -4975
- package/sdk/platform/Cart/CartPlatformModel.js +1229 -1922
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +183 -208
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +358 -383
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +126 -122
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +68 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +118 -141
- package/sdk/platform/Catalog/CatalogPlatformClient.js +170 -193
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1744 -1501
- package/sdk/platform/Catalog/CatalogPlatformModel.js +1211 -1383
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +18 -18
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +18 -18
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -3
- package/sdk/platform/Common/CommonPlatformClient.js +2 -3
- package/sdk/platform/Common/CommonPlatformModel.d.ts +9 -9
- package/sdk/platform/Common/CommonPlatformModel.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +17 -16
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +8 -8
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +33 -43
- package/sdk/platform/Communication/CommunicationPlatformModel.js +34 -38
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +42 -46
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +43 -47
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +223 -223
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +212 -210
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +12 -12
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +12 -12
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +33 -46
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +54 -67
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +18 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +24 -45
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +30 -134
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +138 -283
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +100 -219
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -37
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +8 -27
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +141 -124
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +422 -449
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +141 -179
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +130 -168
- package/sdk/platform/Content/ContentPlatformClient.d.ts +106 -142
- package/sdk/platform/Content/ContentPlatformClient.js +336 -523
- package/sdk/platform/Content/ContentPlatformModel.d.ts +395 -1241
- package/sdk/platform/Content/ContentPlatformModel.js +390 -521
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +117 -168
- package/sdk/platform/Content/ContentPlatformValidator.js +108 -162
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +12 -14
- package/sdk/platform/Discount/DiscountPlatformClient.js +12 -14
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +13 -13
- package/sdk/platform/Discount/DiscountPlatformModel.js +12 -12
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformValidator.js +2 -2
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +39 -95
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +63 -462
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +15 -62
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +13 -75
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +22 -20
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +24 -21
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -370
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +104 -313
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +320 -0
- package/sdk/platform/Finance/FinancePlatformClient.js +2333 -0
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +2890 -0
- package/sdk/platform/Finance/FinancePlatformModel.js +2148 -0
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +284 -0
- package/sdk/platform/Finance/FinancePlatformValidator.js +354 -0
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformClient.js +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +5 -5
- package/sdk/platform/Lead/LeadPlatformModel.js +16 -16
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -25
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -175
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +4 -52
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +3 -34
- package/sdk/platform/Order/OrderPlatformClient.d.ts +103 -174
- package/sdk/platform/Order/OrderPlatformClient.js +275 -528
- package/sdk/platform/Order/OrderPlatformModel.d.ts +3078 -5449
- package/sdk/platform/Order/OrderPlatformModel.js +1659 -3501
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +219 -234
- package/sdk/platform/Order/OrderPlatformValidator.js +118 -146
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +7 -9
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +9 -9
- package/sdk/platform/Partner/PartnerPlatformModel.js +8 -8
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +106 -94
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +146 -131
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +93 -64
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +70 -62
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -20
- package/sdk/platform/Payment/PaymentPlatformClient.js +20 -20
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +507 -386
- package/sdk/platform/Payment/PaymentPlatformModel.js +376 -323
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformValidator.js +10 -10
- package/sdk/platform/PlatformClient.d.ts +2 -0
- package/sdk/platform/PlatformClient.js +4 -0
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +9 -9
- package/sdk/platform/Rewards/RewardsPlatformModel.js +8 -8
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +35 -45
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +13 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +12 -24
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +46 -40
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +68 -62
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +396 -620
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +326 -501
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +11 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.js +2 -2
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -36
- package/sdk/platform/Share/SharePlatformModel.js +4 -27
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +4 -8
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +0 -5
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -2
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +13 -76
- package/sdk/platform/Theme/ThemePlatformModel.js +17 -57
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/User/UserPlatformApplicationClient.js +12 -12
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/User/UserPlatformApplicationValidator.js +2 -2
- package/sdk/platform/User/UserPlatformModel.d.ts +21 -21
- package/sdk/platform/User/UserPlatformModel.js +23 -23
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +78 -25
- package/sdk/platform/Webhook/WebhookPlatformClient.js +470 -75
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +427 -720
- package/sdk/platform/Webhook/WebhookPlatformModel.js +386 -410
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +55 -10
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +72 -12
- package/sdk/platform/index.d.ts +1 -0
- package/sdk/platform/index.js +2 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -8
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +9 -9
- package/sdk/public/Configuration/ConfigurationPublicModel.js +6 -6
- package/sdk/public/Content/ContentPublicClient.d.ts +2 -112
- package/sdk/public/Content/ContentPublicClient.js +19 -793
- package/sdk/public/Content/ContentPublicModel.d.ts +3 -549
- package/sdk/public/Content/ContentPublicModel.js +3 -649
- package/sdk/public/Content/ContentPublicValidator.d.ts +3 -69
- package/sdk/public/Content/ContentPublicValidator.js +2 -88
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +14 -2
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +13 -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 -4340
- package/sdk/application/Cart/CartApplicationModel.js +0 -2718
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -788
- package/sdk/application/Cart/CartApplicationValidator.js +0 -546
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +0 -3909
- package/sdk/application/Catalog/CatalogApplicationModel.js +0 -2667
- 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 -2544
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -1875
- 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 -2189
- package/sdk/application/Content/ContentApplicationModel.js +0 -1640
- package/sdk/application/Content/ContentApplicationValidator.d.ts +0 -290
- package/sdk/application/Content/ContentApplicationValidator.js +0 -269
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +0 -270
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -188
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +0 -56
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +0 -53
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +0 -36
- package/sdk/application/Finance/FinanceApplicationClient.js +0 -202
- package/sdk/application/Finance/FinanceApplicationModel.d.ts +0 -289
- package/sdk/application/Finance/FinanceApplicationModel.js +0 -208
- package/sdk/application/Finance/FinanceApplicationValidator.d.ts +0 -25
- package/sdk/application/Finance/FinanceApplicationValidator.js +0 -31
- 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 -2034
- package/sdk/application/Logistic/LogisticApplicationModel.js +0 -1391
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +0 -299
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -224
- package/sdk/application/Order/OrderApplicationModel.d.ts +0 -2612
- package/sdk/application/Order/OrderApplicationModel.js +0 -1669
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -279
- package/sdk/application/Order/OrderApplicationValidator.js +0 -210
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +0 -4062
- package/sdk/application/Payment/PaymentApplicationModel.js +0 -2632
- 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 -1744
- package/sdk/application/Theme/ThemeApplicationModel.js +0 -1446
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -79
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -65
- 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 -54
- package/sdk/application/Webhook/WebhookApplicationModel.js +0 -48
- 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
|
@@ -1,85 +1,11 @@
|
|
|
1
1
|
export = FileStoragePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {
|
|
5
|
-
* @property {
|
|
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.
|
|
3
|
+
* @typedef ProxyResponse
|
|
4
|
+
* @property {Object} [data]
|
|
5
|
+
* @property {Object} [support]
|
|
80
6
|
*/
|
|
81
7
|
/**
|
|
82
|
-
* @typedef
|
|
8
|
+
* @typedef FailedResponse
|
|
83
9
|
* @property {string} message
|
|
84
10
|
*/
|
|
85
11
|
/**
|
|
@@ -94,7 +20,7 @@ export = FileStoragePlatformModel;
|
|
|
94
20
|
* @property {string} url
|
|
95
21
|
*/
|
|
96
22
|
/**
|
|
97
|
-
* @typedef
|
|
23
|
+
* @typedef StartResponse
|
|
98
24
|
* @property {string} file_name
|
|
99
25
|
* @property {string} file_path
|
|
100
26
|
* @property {string} content_type
|
|
@@ -103,22 +29,28 @@ export = FileStoragePlatformModel;
|
|
|
103
29
|
* @property {string} operation
|
|
104
30
|
* @property {number} size
|
|
105
31
|
* @property {Upload} upload
|
|
32
|
+
* @property {CDN} cdn
|
|
106
33
|
* @property {string[]} [tags]
|
|
107
34
|
*/
|
|
108
35
|
/**
|
|
109
|
-
* @typedef
|
|
36
|
+
* @typedef Params
|
|
37
|
+
* @property {string} [subpath] - The subpath for the file.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* @typedef StartRequest
|
|
110
41
|
* @property {string} file_name
|
|
111
42
|
* @property {string} content_type
|
|
112
43
|
* @property {number} size
|
|
113
44
|
* @property {string[]} [tags]
|
|
114
45
|
* @property {Object} [params]
|
|
46
|
+
* @property {string} [enc_key]
|
|
115
47
|
*/
|
|
116
48
|
/**
|
|
117
49
|
* @typedef CreatedBy
|
|
118
50
|
* @property {string} [username]
|
|
119
51
|
*/
|
|
120
52
|
/**
|
|
121
|
-
* @typedef
|
|
53
|
+
* @typedef CompleteResponse
|
|
122
54
|
* @property {string} _id
|
|
123
55
|
* @property {string} file_name
|
|
124
56
|
* @property {string} file_path
|
|
@@ -135,11 +67,6 @@ export = FileStoragePlatformModel;
|
|
|
135
67
|
* @property {string} modified_on
|
|
136
68
|
* @property {CreatedBy} [created_by]
|
|
137
69
|
*/
|
|
138
|
-
/**
|
|
139
|
-
* @typedef ProxyFileAccess
|
|
140
|
-
* @property {Object} [data]
|
|
141
|
-
* @property {Object} [support]
|
|
142
|
-
*/
|
|
143
70
|
/**
|
|
144
71
|
* @typedef DestinationNamespace
|
|
145
72
|
* @property {string} [namespace]
|
|
@@ -156,16 +83,22 @@ export = FileStoragePlatformModel;
|
|
|
156
83
|
* @property {number} expiry
|
|
157
84
|
*/
|
|
158
85
|
/**
|
|
159
|
-
* @typedef
|
|
86
|
+
* @typedef SignUrlResponse
|
|
160
87
|
* @property {Urls[]} urls
|
|
161
88
|
*/
|
|
162
89
|
/**
|
|
163
|
-
* @typedef
|
|
90
|
+
* @typedef EncryptionMapping
|
|
91
|
+
* @property {string} [enc_url]
|
|
92
|
+
* @property {string} [value]
|
|
93
|
+
*/
|
|
94
|
+
/**
|
|
95
|
+
* @typedef SignUrlRequest
|
|
164
96
|
* @property {number} expiry
|
|
165
97
|
* @property {string[]} urls
|
|
98
|
+
* @property {EncryptionMapping[]} [enc_url_mapping]
|
|
166
99
|
*/
|
|
167
100
|
/**
|
|
168
|
-
* @typedef
|
|
101
|
+
* @typedef InvoiceTypesDataResponse
|
|
169
102
|
* @property {boolean} [status]
|
|
170
103
|
* @property {string} _id
|
|
171
104
|
* @property {number} pdf_type_id
|
|
@@ -173,12 +106,11 @@ export = FileStoragePlatformModel;
|
|
|
173
106
|
* @property {string[]} format
|
|
174
107
|
* @property {number} __v
|
|
175
108
|
* @property {boolean} visibility
|
|
176
|
-
* @property {boolean} store_os
|
|
177
109
|
* @property {string} country_code
|
|
178
110
|
*/
|
|
179
111
|
/**
|
|
180
|
-
* @typedef
|
|
181
|
-
* @property {
|
|
112
|
+
* @typedef InvoiceTypesResponse
|
|
113
|
+
* @property {InvoiceTypesDataResponse[]} data
|
|
182
114
|
* @property {boolean} success
|
|
183
115
|
*/
|
|
184
116
|
/**
|
|
@@ -459,7 +391,7 @@ export = FileStoragePlatformModel;
|
|
|
459
391
|
* @property {MetaProperty} [generator]
|
|
460
392
|
*/
|
|
461
393
|
/**
|
|
462
|
-
* @typedef
|
|
394
|
+
* @typedef DummyTemplateDataPayload
|
|
463
395
|
* @property {boolean} [is_export]
|
|
464
396
|
* @property {boolean} [is_export_shipment]
|
|
465
397
|
* @property {string} [app_domain_name]
|
|
@@ -493,6 +425,8 @@ export = FileStoragePlatformModel;
|
|
|
493
425
|
* @property {boolean} [is_self_ship]
|
|
494
426
|
* @property {string} [mode]
|
|
495
427
|
* @property {boolean} [is_self_pickup]
|
|
428
|
+
* @property {Object} [shipment_meta] - This field represents the shipment meta details
|
|
429
|
+
* @property {Object} [order_meta] - This field represents the order meta details
|
|
496
430
|
* @property {string} [platform_name]
|
|
497
431
|
* @property {number} [amount_to_be_collected]
|
|
498
432
|
* @property {number} [amount_paid]
|
|
@@ -511,60 +445,32 @@ export = FileStoragePlatformModel;
|
|
|
511
445
|
* @property {string} [_id] - This field contains the unique identifier for the
|
|
512
446
|
* PDF payload.
|
|
513
447
|
* @property {number} [pdf_type_id] - This is invoice unique id
|
|
514
|
-
* @property {
|
|
448
|
+
* @property {DummyTemplateDataPayload} payload
|
|
515
449
|
* @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]
|
|
530
450
|
* @property {number} [__v] - This field holds the version number.
|
|
531
451
|
*/
|
|
532
452
|
/**
|
|
533
|
-
* @typedef
|
|
453
|
+
* @typedef DummyTemplateDataItems
|
|
534
454
|
* @property {DummyTemplateData[]} data
|
|
535
455
|
* @property {boolean} success
|
|
536
456
|
*/
|
|
537
457
|
/**
|
|
538
458
|
* @typedef PdfConfig
|
|
539
459
|
* @property {string} [format] - This is invoice document format such as A4, A6, POS
|
|
540
|
-
* @property {string} [template] - This is html template string
|
|
541
|
-
* @property {number} [pdf_type_id]
|
|
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.
|
|
460
|
+
* @property {string} [template] - This is html template string
|
|
461
|
+
* @property {number} [pdf_type_id]
|
|
545
462
|
*/
|
|
546
463
|
/**
|
|
547
464
|
* @typedef PdfConfigSuccessData
|
|
548
|
-
* @property {string} [_id]
|
|
549
|
-
*
|
|
550
|
-
* @property {
|
|
551
|
-
*
|
|
552
|
-
* @property {string} [
|
|
553
|
-
*
|
|
554
|
-
* @property {number} [
|
|
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
|
+
* @property {string} [_id]
|
|
466
|
+
* @property {number} [company_id]
|
|
467
|
+
* @property {string} [application_id]
|
|
468
|
+
* @property {number} [pdf_type_id]
|
|
469
|
+
* @property {string} [format]
|
|
470
|
+
* @property {string} [template]
|
|
471
|
+
* @property {number} [__v]
|
|
560
472
|
* @property {string} [country_code]
|
|
561
473
|
*/
|
|
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
|
-
*/
|
|
568
474
|
/**
|
|
569
475
|
* @typedef PdfConfigSuccess
|
|
570
476
|
* @property {PdfConfigSuccessData[]} [data]
|
|
@@ -585,6 +491,11 @@ export = FileStoragePlatformModel;
|
|
|
585
491
|
* @property {PdfConfigSaveSuccessData} [data]
|
|
586
492
|
* @property {boolean} [success]
|
|
587
493
|
*/
|
|
494
|
+
/**
|
|
495
|
+
* @typedef PdfDefaultTemplateSuccess
|
|
496
|
+
* @property {Document[]} [data]
|
|
497
|
+
* @property {boolean} [success] - Indicates if the request was successful.
|
|
498
|
+
*/
|
|
588
499
|
/**
|
|
589
500
|
* @typedef Document
|
|
590
501
|
* @property {string} [_id]
|
|
@@ -666,142 +577,17 @@ export = FileStoragePlatformModel;
|
|
|
666
577
|
declare class FileStoragePlatformModel {
|
|
667
578
|
}
|
|
668
579
|
declare namespace FileStoragePlatformModel {
|
|
669
|
-
export {
|
|
580
|
+
export { ProxyResponse, FailedResponse, CDN, Upload, StartResponse, Params, StartRequest, CreatedBy, CompleteResponse, DestinationNamespace, CopyFiles, Urls, SignUrlResponse, EncryptionMapping, SignUrlRequest, InvoiceTypesDataResponse, InvoiceTypesResponse, 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, DummyTemplateDataPayload, DummyTemplateData, DummyTemplateDataItems, PdfConfig, PdfConfigSuccessData, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, PdfDefaultTemplateSuccess, Document, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
|
|
670
581
|
}
|
|
671
|
-
/** @returns {
|
|
672
|
-
declare function
|
|
673
|
-
type
|
|
674
|
-
|
|
675
|
-
|
|
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;
|
|
582
|
+
/** @returns {ProxyResponse} */
|
|
583
|
+
declare function ProxyResponse(): ProxyResponse;
|
|
584
|
+
type ProxyResponse = {
|
|
585
|
+
data?: any;
|
|
586
|
+
support?: any;
|
|
801
587
|
};
|
|
802
|
-
/** @returns {
|
|
803
|
-
declare function
|
|
804
|
-
type
|
|
588
|
+
/** @returns {FailedResponse} */
|
|
589
|
+
declare function FailedResponse(): FailedResponse;
|
|
590
|
+
type FailedResponse = {
|
|
805
591
|
message: string;
|
|
806
592
|
};
|
|
807
593
|
/** @returns {CDN} */
|
|
@@ -817,9 +603,9 @@ type Upload = {
|
|
|
817
603
|
expiry: number;
|
|
818
604
|
url: string;
|
|
819
605
|
};
|
|
820
|
-
/** @returns {
|
|
821
|
-
declare function
|
|
822
|
-
type
|
|
606
|
+
/** @returns {StartResponse} */
|
|
607
|
+
declare function StartResponse(): StartResponse;
|
|
608
|
+
type StartResponse = {
|
|
823
609
|
file_name: string;
|
|
824
610
|
file_path: string;
|
|
825
611
|
content_type: string;
|
|
@@ -828,25 +614,35 @@ type FileUpload = {
|
|
|
828
614
|
operation: string;
|
|
829
615
|
size: number;
|
|
830
616
|
upload: Upload;
|
|
617
|
+
cdn: CDN;
|
|
831
618
|
tags?: string[];
|
|
832
619
|
};
|
|
833
|
-
/** @returns {
|
|
834
|
-
declare function
|
|
835
|
-
type
|
|
620
|
+
/** @returns {Params} */
|
|
621
|
+
declare function Params(): Params;
|
|
622
|
+
type Params = {
|
|
623
|
+
/**
|
|
624
|
+
* - The subpath for the file.
|
|
625
|
+
*/
|
|
626
|
+
subpath?: string;
|
|
627
|
+
};
|
|
628
|
+
/** @returns {StartRequest} */
|
|
629
|
+
declare function StartRequest(): StartRequest;
|
|
630
|
+
type StartRequest = {
|
|
836
631
|
file_name: string;
|
|
837
632
|
content_type: string;
|
|
838
633
|
size: number;
|
|
839
634
|
tags?: string[];
|
|
840
635
|
params?: any;
|
|
636
|
+
enc_key?: string;
|
|
841
637
|
};
|
|
842
638
|
/** @returns {CreatedBy} */
|
|
843
639
|
declare function CreatedBy(): CreatedBy;
|
|
844
640
|
type CreatedBy = {
|
|
845
641
|
username?: string;
|
|
846
642
|
};
|
|
847
|
-
/** @returns {
|
|
848
|
-
declare function
|
|
849
|
-
type
|
|
643
|
+
/** @returns {CompleteResponse} */
|
|
644
|
+
declare function CompleteResponse(): CompleteResponse;
|
|
645
|
+
type CompleteResponse = {
|
|
850
646
|
_id: string;
|
|
851
647
|
file_name: string;
|
|
852
648
|
file_path: string;
|
|
@@ -863,12 +659,6 @@ type FileUploadComplete = {
|
|
|
863
659
|
modified_on: string;
|
|
864
660
|
created_by?: CreatedBy;
|
|
865
661
|
};
|
|
866
|
-
/** @returns {ProxyFileAccess} */
|
|
867
|
-
declare function ProxyFileAccess(): ProxyFileAccess;
|
|
868
|
-
type ProxyFileAccess = {
|
|
869
|
-
data?: any;
|
|
870
|
-
support?: any;
|
|
871
|
-
};
|
|
872
662
|
/** @returns {DestinationNamespace} */
|
|
873
663
|
declare function DestinationNamespace(): DestinationNamespace;
|
|
874
664
|
type DestinationNamespace = {
|
|
@@ -887,20 +677,27 @@ type Urls = {
|
|
|
887
677
|
signed_url: string;
|
|
888
678
|
expiry: number;
|
|
889
679
|
};
|
|
890
|
-
/** @returns {
|
|
891
|
-
declare function
|
|
892
|
-
type
|
|
680
|
+
/** @returns {SignUrlResponse} */
|
|
681
|
+
declare function SignUrlResponse(): SignUrlResponse;
|
|
682
|
+
type SignUrlResponse = {
|
|
893
683
|
urls: Urls[];
|
|
894
684
|
};
|
|
895
|
-
/** @returns {
|
|
896
|
-
declare function
|
|
897
|
-
type
|
|
685
|
+
/** @returns {EncryptionMapping} */
|
|
686
|
+
declare function EncryptionMapping(): EncryptionMapping;
|
|
687
|
+
type EncryptionMapping = {
|
|
688
|
+
enc_url?: string;
|
|
689
|
+
value?: string;
|
|
690
|
+
};
|
|
691
|
+
/** @returns {SignUrlRequest} */
|
|
692
|
+
declare function SignUrlRequest(): SignUrlRequest;
|
|
693
|
+
type SignUrlRequest = {
|
|
898
694
|
expiry: number;
|
|
899
695
|
urls: string[];
|
|
696
|
+
enc_url_mapping?: EncryptionMapping[];
|
|
900
697
|
};
|
|
901
|
-
/** @returns {
|
|
902
|
-
declare function
|
|
903
|
-
type
|
|
698
|
+
/** @returns {InvoiceTypesDataResponse} */
|
|
699
|
+
declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
|
|
700
|
+
type InvoiceTypesDataResponse = {
|
|
904
701
|
status?: boolean;
|
|
905
702
|
_id: string;
|
|
906
703
|
pdf_type_id: number;
|
|
@@ -908,13 +705,12 @@ type InvoiceTypesData = {
|
|
|
908
705
|
format: string[];
|
|
909
706
|
__v: number;
|
|
910
707
|
visibility: boolean;
|
|
911
|
-
store_os: boolean;
|
|
912
708
|
country_code: string;
|
|
913
709
|
};
|
|
914
|
-
/** @returns {
|
|
915
|
-
declare function
|
|
916
|
-
type
|
|
917
|
-
data:
|
|
710
|
+
/** @returns {InvoiceTypesResponse} */
|
|
711
|
+
declare function InvoiceTypesResponse(): InvoiceTypesResponse;
|
|
712
|
+
type InvoiceTypesResponse = {
|
|
713
|
+
data: InvoiceTypesDataResponse[];
|
|
918
714
|
success: boolean;
|
|
919
715
|
};
|
|
920
716
|
/** @returns {ConversionRate} */
|
|
@@ -1291,9 +1087,9 @@ declare function Meta(): Meta;
|
|
|
1291
1087
|
type Meta = {
|
|
1292
1088
|
generator?: MetaProperty;
|
|
1293
1089
|
};
|
|
1294
|
-
/** @returns {
|
|
1295
|
-
declare function
|
|
1296
|
-
type
|
|
1090
|
+
/** @returns {DummyTemplateDataPayload} */
|
|
1091
|
+
declare function DummyTemplateDataPayload(): DummyTemplateDataPayload;
|
|
1092
|
+
type DummyTemplateDataPayload = {
|
|
1297
1093
|
is_export?: boolean;
|
|
1298
1094
|
is_export_shipment?: boolean;
|
|
1299
1095
|
app_domain_name?: string;
|
|
@@ -1327,6 +1123,14 @@ type PdfPayloadDetails = {
|
|
|
1327
1123
|
is_self_ship?: boolean;
|
|
1328
1124
|
mode?: string;
|
|
1329
1125
|
is_self_pickup?: boolean;
|
|
1126
|
+
/**
|
|
1127
|
+
* - This field represents the shipment meta details
|
|
1128
|
+
*/
|
|
1129
|
+
shipment_meta?: any;
|
|
1130
|
+
/**
|
|
1131
|
+
* - This field represents the order meta details
|
|
1132
|
+
*/
|
|
1133
|
+
order_meta?: any;
|
|
1330
1134
|
platform_name?: string;
|
|
1331
1135
|
amount_to_be_collected?: number;
|
|
1332
1136
|
amount_paid?: number;
|
|
@@ -1352,35 +1156,19 @@ type DummyTemplateData = {
|
|
|
1352
1156
|
* - This is invoice unique id
|
|
1353
1157
|
*/
|
|
1354
1158
|
pdf_type_id?: number;
|
|
1355
|
-
payload:
|
|
1159
|
+
payload: DummyTemplateDataPayload;
|
|
1356
1160
|
/**
|
|
1357
1161
|
* - This field represents the country code.
|
|
1358
1162
|
*/
|
|
1359
1163
|
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;
|
|
1376
1164
|
/**
|
|
1377
1165
|
* - This field holds the version number.
|
|
1378
1166
|
*/
|
|
1379
1167
|
__v?: number;
|
|
1380
1168
|
};
|
|
1381
|
-
/** @returns {
|
|
1382
|
-
declare function
|
|
1383
|
-
type
|
|
1169
|
+
/** @returns {DummyTemplateDataItems} */
|
|
1170
|
+
declare function DummyTemplateDataItems(): DummyTemplateDataItems;
|
|
1171
|
+
type DummyTemplateDataItems = {
|
|
1384
1172
|
data: DummyTemplateData[];
|
|
1385
1173
|
success: boolean;
|
|
1386
1174
|
};
|
|
@@ -1392,74 +1180,23 @@ type PdfConfig = {
|
|
|
1392
1180
|
*/
|
|
1393
1181
|
format?: string;
|
|
1394
1182
|
/**
|
|
1395
|
-
* - This is html template string
|
|
1183
|
+
* - This is html template string
|
|
1396
1184
|
*/
|
|
1397
1185
|
template?: string;
|
|
1398
|
-
/**
|
|
1399
|
-
* - This field holds an identifier for the type of PDF.
|
|
1400
|
-
*/
|
|
1401
1186
|
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;
|
|
1411
1187
|
};
|
|
1412
1188
|
/** @returns {PdfConfigSuccessData} */
|
|
1413
1189
|
declare function PdfConfigSuccessData(): PdfConfigSuccessData;
|
|
1414
1190
|
type PdfConfigSuccessData = {
|
|
1415
|
-
/**
|
|
1416
|
-
* - This field contains the unique identifier for the
|
|
1417
|
-
* PDF configuration.
|
|
1418
|
-
*/
|
|
1419
1191
|
_id?: string;
|
|
1420
|
-
/**
|
|
1421
|
-
* - This field holds the identifier for the
|
|
1422
|
-
* company associated with the PDF configuration.
|
|
1423
|
-
*/
|
|
1424
1192
|
company_id?: number;
|
|
1425
|
-
/**
|
|
1426
|
-
* - This field contains the identifier for
|
|
1427
|
-
* the application that uses this PDF configuration.
|
|
1428
|
-
*/
|
|
1429
1193
|
application_id?: string;
|
|
1430
|
-
/**
|
|
1431
|
-
* - This field holds an identifier for the type of PDF.
|
|
1432
|
-
*/
|
|
1433
1194
|
pdf_type_id?: number;
|
|
1434
|
-
/**
|
|
1435
|
-
* - This field specifies the format of the invoice document.
|
|
1436
|
-
*/
|
|
1437
1195
|
format?: string;
|
|
1438
|
-
/**
|
|
1439
|
-
* - This field contains the HTML template string
|
|
1440
|
-
* for the PDF document.
|
|
1441
|
-
*/
|
|
1442
1196
|
template?: string;
|
|
1443
|
-
/**
|
|
1444
|
-
* - This field holds the version number of the PDF
|
|
1445
|
-
* configuration document.
|
|
1446
|
-
*/
|
|
1447
1197
|
__v?: number;
|
|
1448
1198
|
country_code?: string;
|
|
1449
1199
|
};
|
|
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
|
-
};
|
|
1463
1200
|
/** @returns {PdfConfigSuccess} */
|
|
1464
1201
|
declare function PdfConfigSuccess(): PdfConfigSuccess;
|
|
1465
1202
|
type PdfConfigSuccess = {
|
|
@@ -1483,6 +1220,15 @@ type PdfConfigSaveSuccess = {
|
|
|
1483
1220
|
data?: PdfConfigSaveSuccessData;
|
|
1484
1221
|
success?: boolean;
|
|
1485
1222
|
};
|
|
1223
|
+
/** @returns {PdfDefaultTemplateSuccess} */
|
|
1224
|
+
declare function PdfDefaultTemplateSuccess(): PdfDefaultTemplateSuccess;
|
|
1225
|
+
type PdfDefaultTemplateSuccess = {
|
|
1226
|
+
data?: Document[];
|
|
1227
|
+
/**
|
|
1228
|
+
* - Indicates if the request was successful.
|
|
1229
|
+
*/
|
|
1230
|
+
success?: boolean;
|
|
1231
|
+
};
|
|
1486
1232
|
/** @returns {Document} */
|
|
1487
1233
|
declare function Document(): Document;
|
|
1488
1234
|
type Document = {
|