@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
|
@@ -27,6 +27,10 @@ export = OrderPlatformValidator;
|
|
|
27
27
|
* @typedef CheckOrderStatusParam
|
|
28
28
|
* @property {OrderPlatformModel.OrderStatus} body
|
|
29
29
|
*/
|
|
30
|
+
/**
|
|
31
|
+
* @typedef CreateChannelConfigParam
|
|
32
|
+
* @property {OrderPlatformModel.CreateChannelConfigData} body
|
|
33
|
+
*/
|
|
30
34
|
/**
|
|
31
35
|
* @typedef CreateOrderParam
|
|
32
36
|
* @property {OrderPlatformModel.CreateOrderAPI} body
|
|
@@ -41,7 +45,7 @@ export = OrderPlatformValidator;
|
|
|
41
45
|
*/
|
|
42
46
|
/**
|
|
43
47
|
* @typedef DownloadLanesReportParam
|
|
44
|
-
* @property {OrderPlatformModel.
|
|
48
|
+
* @property {OrderPlatformModel.BulkReportsDownloadRequestSchema} body
|
|
45
49
|
*/
|
|
46
50
|
/**
|
|
47
51
|
* @typedef EInvoiceRetryParam
|
|
@@ -68,7 +72,7 @@ export = OrderPlatformValidator;
|
|
|
68
72
|
*/
|
|
69
73
|
/**
|
|
70
74
|
* @typedef GenerateProcessManifestParam
|
|
71
|
-
* @property {OrderPlatformModel.
|
|
75
|
+
* @property {OrderPlatformModel.ProcessManifestRequestSchema} body
|
|
72
76
|
*/
|
|
73
77
|
/**
|
|
74
78
|
* @typedef GetAllowedStateTransitionParam
|
|
@@ -83,7 +87,7 @@ export = OrderPlatformValidator;
|
|
|
83
87
|
*/
|
|
84
88
|
/**
|
|
85
89
|
* @typedef GetBagByIdParam
|
|
86
|
-
* @property {string} [bagId] -
|
|
90
|
+
* @property {string} [bagId] - Unique identifier of a bag
|
|
87
91
|
* @property {string} [channelBagId] - Id of application bag
|
|
88
92
|
* @property {string} [channelId] - Id of application
|
|
89
93
|
*/
|
|
@@ -104,8 +108,8 @@ export = OrderPlatformValidator;
|
|
|
104
108
|
* @typedef GetBulkShipmentExcelFileParam
|
|
105
109
|
* @property {string} [salesChannels] - Comma separated values of sales channel ids
|
|
106
110
|
* @property {string} [dpIds] - Comma separated values of delivery partner ids
|
|
107
|
-
* @property {string} [startDate] - UTC
|
|
108
|
-
* @property {string} [endDate] - UTC
|
|
111
|
+
* @property {string} [startDate] - Date time in UTC timezone as per ISO format.
|
|
112
|
+
* @property {string} [endDate] - Date time in UTC timezone as per ISO format.
|
|
109
113
|
* @property {string} [stores] - Comma separated values of store ids
|
|
110
114
|
* @property {string} [tags] - Comma separated values of tags
|
|
111
115
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
@@ -115,11 +119,12 @@ export = OrderPlatformValidator;
|
|
|
115
119
|
* @property {number} [pageNo]
|
|
116
120
|
* @property {number} [pageSize]
|
|
117
121
|
*/
|
|
122
|
+
/** @typedef GetChannelConfigParam */
|
|
118
123
|
/**
|
|
119
124
|
* @typedef GetFileByStatusParam
|
|
120
125
|
* @property {string} batchId - Batch Id to identify the bulk operation request.
|
|
121
126
|
* @property {string} status - The status of the jobs to filter the results.
|
|
122
|
-
* @property {string} fileType
|
|
127
|
+
* @property {string} fileType
|
|
123
128
|
* @property {string} [reportType] - The type of report to be downloaded.
|
|
124
129
|
*/
|
|
125
130
|
/**
|
|
@@ -135,15 +140,27 @@ export = OrderPlatformValidator;
|
|
|
135
140
|
* @property {string} [salesChannels]
|
|
136
141
|
* @property {string} [paymentMode] - Comma separated values of payment modes
|
|
137
142
|
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
138
|
-
* @property {string} [searchType]
|
|
143
|
+
* @property {string} [searchType] - Search_type refers to the field that will
|
|
144
|
+
* be used as the target for the search operation
|
|
139
145
|
* @property {string} [searchValue]
|
|
140
146
|
* @property {string} [tags]
|
|
141
|
-
* @property {number} [timeToDispatch]
|
|
147
|
+
* @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
|
|
142
148
|
* @property {string} [paymentMethods]
|
|
143
149
|
* @property {boolean} [myOrders]
|
|
144
150
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
145
151
|
* company order
|
|
146
|
-
* @property {string} [orderType]
|
|
152
|
+
* @property {string} [orderType] - Defines the specific journey a shipment will
|
|
153
|
+
* follow based on the application's operational needs and customer
|
|
154
|
+
* preferences. This field categorizes orders into distinct types, each
|
|
155
|
+
* associated with a unique processing flow. For example:
|
|
156
|
+
*
|
|
157
|
+
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
158
|
+
* from being packed to arriving at the customer’s address.
|
|
159
|
+
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
160
|
+
* shipping steps to make it ready faster for the customer to collect in person.
|
|
161
|
+
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
162
|
+
* or services, such as software, digital subscriptions, e-books, online
|
|
163
|
+
* courses, or any other item that can be delivered electronically.
|
|
147
164
|
*/
|
|
148
165
|
/**
|
|
149
166
|
* @typedef GetManifestDetailsParam
|
|
@@ -200,44 +217,58 @@ export = OrderPlatformValidator;
|
|
|
200
217
|
/**
|
|
201
218
|
* @typedef GetOrdersParam
|
|
202
219
|
* @property {string} [lane] - Lane refers to a section where orders are
|
|
203
|
-
* assigned, indicating its grouping
|
|
220
|
+
* assigned, indicating its grouping.
|
|
204
221
|
* @property {string} [searchType] - Search_type refers to the field that will
|
|
205
|
-
* be used as the target for the search operation
|
|
222
|
+
* be used as the target for the search operation.
|
|
206
223
|
* @property {string} [bagStatus] - Bag_status refers to status of the entity.
|
|
207
224
|
* Filters orders based on the status.
|
|
208
225
|
* @property {number} [timeToDispatch] - Time_to_dispatch refers to estimated SLA time.
|
|
209
|
-
* @property {string} [paymentMethods]
|
|
226
|
+
* @property {string} [paymentMethods] - Comma separated values of payment
|
|
227
|
+
* methods that were used to place order.
|
|
210
228
|
* @property {string} [tags] - Tags refers to additional descriptive labels
|
|
211
229
|
* associated with the order
|
|
212
230
|
* @property {string} [searchValue] - Search_value is matched against the field
|
|
213
231
|
* specified by the search_type
|
|
214
|
-
* @property {string} [fromDate]
|
|
215
|
-
* @property {string} [toDate]
|
|
216
|
-
* @property {string} [startDate]
|
|
217
|
-
* @property {string} [endDate]
|
|
232
|
+
* @property {string} [fromDate] - Date time in UTC timezone as per ISO format.
|
|
233
|
+
* @property {string} [toDate] - Date time in UTC timezone as per ISO format.
|
|
234
|
+
* @property {string} [startDate] - Date time in UTC timezone as per ISO format.
|
|
235
|
+
* @property {string} [endDate] - Date time in UTC timezone as per ISO format.
|
|
218
236
|
* @property {string} [dpIds] - Delivery Partner IDs to which shipments are assigned.
|
|
219
|
-
* @property {string} [stores]
|
|
220
|
-
*
|
|
221
|
-
* @property {
|
|
222
|
-
*
|
|
237
|
+
* @property {string} [stores] - A comma-separated list of store IDs used to
|
|
238
|
+
* filter results to only those related to specific stores.
|
|
239
|
+
* @property {string} [salesChannels] - A comma-separated list of sales channel
|
|
240
|
+
* IDs to filter results based on the sales channels involved.
|
|
241
|
+
* @property {number} [pageNo] - Specifies the page number for paginated results.
|
|
242
|
+
* @property {number} [pageSize] - Determines the number of results returned per page.
|
|
223
243
|
* @property {boolean} [isPrioritySort]
|
|
224
244
|
* @property {string} [customMeta]
|
|
225
245
|
* @property {boolean} [myOrders]
|
|
226
246
|
* @property {boolean} [showCrossCompanyData] - Flag to view cross & non-cross
|
|
227
247
|
* company order
|
|
228
|
-
* @property {string} [customerId]
|
|
248
|
+
* @property {string} [customerId] - The unique identifier for the customer
|
|
249
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
229
250
|
* @property {string} [orderType]
|
|
230
251
|
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
231
252
|
* shipments are allowed
|
|
253
|
+
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
254
|
+
* retrieving shipments or orders. It specifies whether the results should be
|
|
255
|
+
* organized based on shipment groups or order groups. For example, using
|
|
256
|
+
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
257
|
+
* may not be recognized, leading to errors or default behavior.
|
|
232
258
|
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
233
259
|
* orders. This is useful when fetching data for a specific date range while
|
|
234
260
|
* performing searches.
|
|
261
|
+
* @property {string} [fulfillmentType] - Define the Fulfillment Type for
|
|
262
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
263
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
264
|
+
* also depends on the login user accessType and store access
|
|
235
265
|
*/
|
|
236
266
|
/** @typedef GetRoleBasedActionsParam */
|
|
237
267
|
/**
|
|
238
268
|
* @typedef GetShipmentByIdParam
|
|
239
|
-
* @property {string} [channelShipmentId] -
|
|
240
|
-
*
|
|
269
|
+
* @property {string} [channelShipmentId] - The shipment ID used in the
|
|
270
|
+
* application, which can be used to reference specific shipments.
|
|
271
|
+
* @property {string} [shipmentId] - The unique identifier for a shipment.
|
|
241
272
|
* @property {boolean} [fetchActiveShipment] - Flag to fetch active or
|
|
242
273
|
* deactivated shipments
|
|
243
274
|
* @property {boolean} [allowInactive] - Flag indicating whether inactive
|
|
@@ -260,41 +291,68 @@ export = OrderPlatformValidator;
|
|
|
260
291
|
/**
|
|
261
292
|
* @typedef GetShipmentsParam
|
|
262
293
|
* @property {string} [lane] - Name of lane for which data is to be fetched
|
|
263
|
-
* @property {string} [bagStatus] - Comma separated values of bag statuses
|
|
294
|
+
* @property {string} [bagStatus] - Comma separated values of bag statuses.
|
|
264
295
|
* @property {boolean} [statusOverrideLane] - Use this flag to fetch by
|
|
265
|
-
* bag_status and override lane
|
|
266
|
-
* @property {number} [timeToDispatch]
|
|
267
|
-
* @property {string} [searchType] -
|
|
268
|
-
*
|
|
296
|
+
* bag_status and override lane.
|
|
297
|
+
* @property {number} [timeToDispatch] - Indicates the time to dispatch.
|
|
298
|
+
* @property {string} [searchType] - Specifies the key used to determine the
|
|
299
|
+
* type of search being performed.
|
|
300
|
+
* @property {string} [searchValue] - The value corresponding to the search
|
|
301
|
+
* type, such as a specific shipment ID or order ID.
|
|
269
302
|
* @property {string} [fromDate] - Start Date in DD-MM-YYYY format
|
|
270
303
|
* @property {string} [toDate] - End Date in DD-MM-YYYY format
|
|
271
|
-
* @property {string} [startDate] - UTC
|
|
272
|
-
*
|
|
273
|
-
* @property {string} [
|
|
274
|
-
*
|
|
275
|
-
* @property {string} [
|
|
276
|
-
*
|
|
277
|
-
* @property {
|
|
278
|
-
*
|
|
279
|
-
* @property {
|
|
280
|
-
*
|
|
281
|
-
* @property {
|
|
282
|
-
* @property {
|
|
283
|
-
* @property {
|
|
284
|
-
*
|
|
285
|
-
* @property {
|
|
286
|
-
*
|
|
287
|
-
* @property {boolean} [
|
|
288
|
-
*
|
|
289
|
-
* @property {string} [
|
|
290
|
-
* @property {
|
|
291
|
-
*
|
|
292
|
-
* @property {string} [
|
|
293
|
-
* @property {string} [
|
|
294
|
-
*
|
|
304
|
+
* @property {string} [startDate] - The UTC start date in ISO format
|
|
305
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
306
|
+
* @property {string} [endDate] - The UTC end date in ISO format
|
|
307
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
308
|
+
* @property {string} [dpIds] - A comma-separated list of delivery partner IDs
|
|
309
|
+
* to filter results by specific delivery partners.
|
|
310
|
+
* @property {string} [stores] - A comma-separated list of store IDs used to
|
|
311
|
+
* filter results to only those related to specific stores.
|
|
312
|
+
* @property {string} [salesChannels] - A comma-separated list of sales channel
|
|
313
|
+
* IDs to filter results based on the sales channels involved.
|
|
314
|
+
* @property {number} [pageNo] - Specifies the page number for paginated results.
|
|
315
|
+
* @property {number} [pageSize] - Determines the number of results returned per page.
|
|
316
|
+
* @property {boolean} [fetchActiveShipment] - A boolean flag that indicates
|
|
317
|
+
* whether to include only active shipments in the results.
|
|
318
|
+
* @property {boolean} [allowInactive] - A flag indicating whether to allow the
|
|
319
|
+
* inclusion of inactive shipments in the results.
|
|
320
|
+
* @property {boolean} [excludeLockedShipments] - A flag to specify whether to
|
|
321
|
+
* exclude shipments that are locked from the results.
|
|
322
|
+
* @property {string} [paymentMethods] - A comma-separated list of payment methods.
|
|
323
|
+
* @property {string} [channelShipmentId] - The shipment ID used in the
|
|
324
|
+
* application, which can be used to reference specific shipments.
|
|
325
|
+
* @property {string} [channelOrderId] - The order ID used in the application.
|
|
326
|
+
* @property {string} [customMeta] - Custom metadata associated with the query,
|
|
327
|
+
* allowing for additional filtering or information to be passed.
|
|
328
|
+
* @property {string} [orderingChannel] - The channel through which the order was placed.
|
|
329
|
+
* @property {string} [companyAffiliateTag] - A tag used to identify the
|
|
330
|
+
* company's affiliation for filtering or reporting purposes.
|
|
331
|
+
* @property {boolean} [myOrders] - A boolean flag indicating whether the query
|
|
332
|
+
* should return only the user's orders.
|
|
333
|
+
* @property {string} [platformUserId] - The unique identifier of the user on
|
|
334
|
+
* the platform, useful for filtering orders related to a specific user.
|
|
335
|
+
* @property {string} [sortType] - Determines the sorting order of the results
|
|
336
|
+
* based on specific criteria.
|
|
337
|
+
* @property {boolean} [showCrossCompanyData] - A flag indicating whether to
|
|
338
|
+
* include data from both cross-company and non-cross-company orders in the results.
|
|
339
|
+
* @property {string} [tags] - A comma-separated list of tags associated with
|
|
340
|
+
* the orders to filter results based on specific characteristics.
|
|
341
|
+
* @property {string} [customerId] - The unique identifier for the customer
|
|
342
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
343
|
+
* @property {string} [orderType] - The type of order being queried.
|
|
344
|
+
* @property {string} [groupEntity] - Defines the grouping criterion for
|
|
345
|
+
* retrieving shipments or orders. It specifies whether the results should be
|
|
346
|
+
* organized based on shipment groups or order groups. For example, using
|
|
347
|
+
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
348
|
+
* may not be recognized, leading to errors or default behavior.
|
|
295
349
|
* @property {boolean} [enforceDateFilter] - Applies a date filter for listing
|
|
296
350
|
* shipments. This is useful when fetching data for a specific date range
|
|
297
351
|
* while performing searches.
|
|
352
|
+
* @property {string} [fulfillmentType] - Define the Fulfillment Type for
|
|
353
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
354
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
355
|
+
* also depends on the login user accessType and store access
|
|
298
356
|
*/
|
|
299
357
|
/**
|
|
300
358
|
* @typedef GetStateManagerConfigParam
|
|
@@ -350,23 +408,17 @@ export = OrderPlatformValidator;
|
|
|
350
408
|
*/
|
|
351
409
|
/**
|
|
352
410
|
* @typedef UpdateAddressParam
|
|
353
|
-
* @property {string} shipmentId
|
|
354
|
-
* @property {
|
|
355
|
-
* @property {string} [address]
|
|
356
|
-
* @property {string} [addressType]
|
|
357
|
-
* @property {string} [pincode]
|
|
358
|
-
* @property {string} [phone]
|
|
359
|
-
* @property {string} [email]
|
|
360
|
-
* @property {string} [landmark]
|
|
361
|
-
* @property {string} addressCategory
|
|
362
|
-
* @property {string} [city]
|
|
363
|
-
* @property {string} [state]
|
|
364
|
-
* @property {string} [country]
|
|
411
|
+
* @property {string} shipmentId - Unique shipment no. that is auto-generated
|
|
412
|
+
* @property {OrderPlatformModel.UpdateAddressRequestBody} body
|
|
365
413
|
*/
|
|
366
414
|
/**
|
|
367
415
|
* @typedef UpdatePackagingDimensionsParam
|
|
368
416
|
* @property {OrderPlatformModel.UpdatePackagingDimensionsPayload} body
|
|
369
417
|
*/
|
|
418
|
+
/**
|
|
419
|
+
* @typedef UpdatePaymentInfoParam
|
|
420
|
+
* @property {OrderPlatformModel.UpdateShipmentPaymentMode} body
|
|
421
|
+
*/
|
|
370
422
|
/**
|
|
371
423
|
* @typedef UpdateShipmentLockParam
|
|
372
424
|
* @property {OrderPlatformModel.UpdateShipmentLockPayload} body
|
|
@@ -398,6 +450,8 @@ declare class OrderPlatformValidator {
|
|
|
398
450
|
static bulkStateTransistion(): BulkStateTransistionParam;
|
|
399
451
|
/** @returns {CheckOrderStatusParam} */
|
|
400
452
|
static checkOrderStatus(): CheckOrderStatusParam;
|
|
453
|
+
/** @returns {CreateChannelConfigParam} */
|
|
454
|
+
static createChannelConfig(): CreateChannelConfigParam;
|
|
401
455
|
/** @returns {CreateOrderParam} */
|
|
402
456
|
static createOrder(): CreateOrderParam;
|
|
403
457
|
/** @returns {DispatchManifestsParam} */
|
|
@@ -432,6 +486,8 @@ declare class OrderPlatformValidator {
|
|
|
432
486
|
static getBulkActionTemplate(): any;
|
|
433
487
|
/** @returns {GetBulkShipmentExcelFileParam} */
|
|
434
488
|
static getBulkShipmentExcelFile(): GetBulkShipmentExcelFileParam;
|
|
489
|
+
/** @returns {GetChannelConfigParam} */
|
|
490
|
+
static getChannelConfig(): any;
|
|
435
491
|
/** @returns {GetFileByStatusParam} */
|
|
436
492
|
static getFileByStatus(): GetFileByStatusParam;
|
|
437
493
|
/** @returns {GetLaneConfigParam} */
|
|
@@ -486,6 +542,8 @@ declare class OrderPlatformValidator {
|
|
|
486
542
|
static updateAddress(): UpdateAddressParam;
|
|
487
543
|
/** @returns {UpdatePackagingDimensionsParam} */
|
|
488
544
|
static updatePackagingDimensions(): UpdatePackagingDimensionsParam;
|
|
545
|
+
/** @returns {UpdatePaymentInfoParam} */
|
|
546
|
+
static updatePaymentInfo(): UpdatePaymentInfoParam;
|
|
489
547
|
/** @returns {UpdateShipmentLockParam} */
|
|
490
548
|
static updateShipmentLock(): UpdateShipmentLockParam;
|
|
491
549
|
/** @returns {UpdateShipmentStatusParam} */
|
|
@@ -498,7 +556,7 @@ declare class OrderPlatformValidator {
|
|
|
498
556
|
static verifyMobileOTP(): VerifyMobileOTPParam;
|
|
499
557
|
}
|
|
500
558
|
declare namespace OrderPlatformValidator {
|
|
501
|
-
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, InvalidateShipmentCacheParam, JobDetailsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
|
|
559
|
+
export { AddStateManagerConfigParam, AttachOrderUserParam, BulkListingParam, BulkStateTransistionParam, CheckOrderStatusParam, CreateChannelConfigParam, CreateOrderParam, DispatchManifestsParam, DownloadBulkActionTemplateParam, DownloadLanesReportParam, EInvoiceRetryParam, FailedOrderLogDetailsParam, FetchRefundModeConfigParam, GenerateInvoiceIDParam, GeneratePOSReceiptByOrderIdParam, GenerateProcessManifestParam, GetAllowedStateTransitionParam, GetAllowedTemplatesForBulkParam, GetAnnouncementsParam, GetBagByIdParam, GetBagsParam, GetBulkActionTemplateParam, GetBulkShipmentExcelFileParam, GetChannelConfigParam, GetFileByStatusParam, GetLaneConfigParam, GetManifestDetailsParam, GetManifestShipmentsParam, GetManifestfiltersParam, GetManifestsParam, GetOrderByIdParam, GetOrdersParam, GetRoleBasedActionsParam, GetShipmentByIdParam, GetShipmentHistoryParam, GetShipmentReasonsParam, GetShipmentsParam, GetStateManagerConfigParam, GetStateTransitionMapParam, GetTemplateParam, GetfiltersParam, InvalidateShipmentCacheParam, JobDetailsParam, OrderUpdateParam, PostShipmentHistoryParam, ReassignLocationParam, SendSmsNinjaParam, SendUserMobileOTPParam, TrackShipmentParam, UpdateAddressParam, UpdatePackagingDimensionsParam, UpdatePaymentInfoParam, UpdateShipmentLockParam, UpdateShipmentStatusParam, UpdateShipmentTrackingParam, UploadConsentsParam, VerifyMobileOTPParam };
|
|
502
560
|
}
|
|
503
561
|
type AddStateManagerConfigParam = {
|
|
504
562
|
body: OrderPlatformModel.TransitionConfigPayload;
|
|
@@ -544,6 +602,9 @@ type BulkStateTransistionParam = {
|
|
|
544
602
|
type CheckOrderStatusParam = {
|
|
545
603
|
body: OrderPlatformModel.OrderStatus;
|
|
546
604
|
};
|
|
605
|
+
type CreateChannelConfigParam = {
|
|
606
|
+
body: OrderPlatformModel.CreateChannelConfigData;
|
|
607
|
+
};
|
|
547
608
|
type CreateOrderParam = {
|
|
548
609
|
body: OrderPlatformModel.CreateOrderAPI;
|
|
549
610
|
};
|
|
@@ -557,7 +618,7 @@ type DownloadBulkActionTemplateParam = {
|
|
|
557
618
|
templateSlug?: string;
|
|
558
619
|
};
|
|
559
620
|
type DownloadLanesReportParam = {
|
|
560
|
-
body: OrderPlatformModel.
|
|
621
|
+
body: OrderPlatformModel.BulkReportsDownloadRequestSchema;
|
|
561
622
|
};
|
|
562
623
|
type EInvoiceRetryParam = {
|
|
563
624
|
body: OrderPlatformModel.EInvoiceRetry;
|
|
@@ -584,7 +645,7 @@ type GeneratePOSReceiptByOrderIdParam = {
|
|
|
584
645
|
documentType?: string;
|
|
585
646
|
};
|
|
586
647
|
type GenerateProcessManifestParam = {
|
|
587
|
-
body: OrderPlatformModel.
|
|
648
|
+
body: OrderPlatformModel.ProcessManifestRequestSchema;
|
|
588
649
|
};
|
|
589
650
|
type GetAllowedStateTransitionParam = {
|
|
590
651
|
/**
|
|
@@ -605,7 +666,7 @@ type GetAnnouncementsParam = {
|
|
|
605
666
|
};
|
|
606
667
|
type GetBagByIdParam = {
|
|
607
668
|
/**
|
|
608
|
-
* -
|
|
669
|
+
* - Unique identifier of a bag
|
|
609
670
|
*/
|
|
610
671
|
bagId?: string;
|
|
611
672
|
/**
|
|
@@ -665,11 +726,11 @@ type GetBulkShipmentExcelFileParam = {
|
|
|
665
726
|
*/
|
|
666
727
|
dpIds?: string;
|
|
667
728
|
/**
|
|
668
|
-
* - UTC
|
|
729
|
+
* - Date time in UTC timezone as per ISO format.
|
|
669
730
|
*/
|
|
670
731
|
startDate?: string;
|
|
671
732
|
/**
|
|
672
|
-
* - UTC
|
|
733
|
+
* - Date time in UTC timezone as per ISO format.
|
|
673
734
|
*/
|
|
674
735
|
endDate?: string;
|
|
675
736
|
/**
|
|
@@ -708,9 +769,6 @@ type GetFileByStatusParam = {
|
|
|
708
769
|
* - The status of the jobs to filter the results.
|
|
709
770
|
*/
|
|
710
771
|
status: string;
|
|
711
|
-
/**
|
|
712
|
-
* - The type of file to be downloaded.
|
|
713
|
-
*/
|
|
714
772
|
fileType: string;
|
|
715
773
|
/**
|
|
716
774
|
* - The type of report to be downloaded.
|
|
@@ -759,9 +817,16 @@ type GetLaneConfigParam = {
|
|
|
759
817
|
* - Comma separated values of bag statuses
|
|
760
818
|
*/
|
|
761
819
|
bagStatus?: string;
|
|
820
|
+
/**
|
|
821
|
+
* - Search_type refers to the field that will
|
|
822
|
+
* be used as the target for the search operation
|
|
823
|
+
*/
|
|
762
824
|
searchType?: string;
|
|
763
825
|
searchValue?: string;
|
|
764
826
|
tags?: string;
|
|
827
|
+
/**
|
|
828
|
+
* - Time_to_dispatch refers to estimated SLA time.
|
|
829
|
+
*/
|
|
765
830
|
timeToDispatch?: number;
|
|
766
831
|
paymentMethods?: string;
|
|
767
832
|
myOrders?: boolean;
|
|
@@ -770,6 +835,20 @@ type GetLaneConfigParam = {
|
|
|
770
835
|
* company order
|
|
771
836
|
*/
|
|
772
837
|
showCrossCompanyData?: boolean;
|
|
838
|
+
/**
|
|
839
|
+
* - Defines the specific journey a shipment will
|
|
840
|
+
* follow based on the application's operational needs and customer
|
|
841
|
+
* preferences. This field categorizes orders into distinct types, each
|
|
842
|
+
* associated with a unique processing flow. For example:
|
|
843
|
+
*
|
|
844
|
+
* - "HomeDelivery": The order goes through all the steps needed for delivery,
|
|
845
|
+
* from being packed to arriving at the customer’s address.
|
|
846
|
+
* - "PickAtStore": The order is prepared for pickup at the store, skipping
|
|
847
|
+
* shipping steps to make it ready faster for the customer to collect in person.
|
|
848
|
+
* - "Digital": This order type likely refers to orders that involve digital goods
|
|
849
|
+
* or services, such as software, digital subscriptions, e-books, online
|
|
850
|
+
* courses, or any other item that can be delivered electronically.
|
|
851
|
+
*/
|
|
773
852
|
orderType?: string;
|
|
774
853
|
};
|
|
775
854
|
type GetManifestDetailsParam = {
|
|
@@ -903,12 +982,12 @@ type GetOrderByIdParam = {
|
|
|
903
982
|
type GetOrdersParam = {
|
|
904
983
|
/**
|
|
905
984
|
* - Lane refers to a section where orders are
|
|
906
|
-
* assigned, indicating its grouping
|
|
985
|
+
* assigned, indicating its grouping.
|
|
907
986
|
*/
|
|
908
987
|
lane?: string;
|
|
909
988
|
/**
|
|
910
989
|
* - Search_type refers to the field that will
|
|
911
|
-
* be used as the target for the search operation
|
|
990
|
+
* be used as the target for the search operation.
|
|
912
991
|
*/
|
|
913
992
|
searchType?: string;
|
|
914
993
|
/**
|
|
@@ -920,6 +999,10 @@ type GetOrdersParam = {
|
|
|
920
999
|
* - Time_to_dispatch refers to estimated SLA time.
|
|
921
1000
|
*/
|
|
922
1001
|
timeToDispatch?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* - Comma separated values of payment
|
|
1004
|
+
* methods that were used to place order.
|
|
1005
|
+
*/
|
|
923
1006
|
paymentMethods?: string;
|
|
924
1007
|
/**
|
|
925
1008
|
* - Tags refers to additional descriptive labels
|
|
@@ -931,17 +1014,43 @@ type GetOrdersParam = {
|
|
|
931
1014
|
* specified by the search_type
|
|
932
1015
|
*/
|
|
933
1016
|
searchValue?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1019
|
+
*/
|
|
934
1020
|
fromDate?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1023
|
+
*/
|
|
935
1024
|
toDate?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1027
|
+
*/
|
|
936
1028
|
startDate?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* - Date time in UTC timezone as per ISO format.
|
|
1031
|
+
*/
|
|
937
1032
|
endDate?: string;
|
|
938
1033
|
/**
|
|
939
1034
|
* - Delivery Partner IDs to which shipments are assigned.
|
|
940
1035
|
*/
|
|
941
1036
|
dpIds?: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* - A comma-separated list of store IDs used to
|
|
1039
|
+
* filter results to only those related to specific stores.
|
|
1040
|
+
*/
|
|
942
1041
|
stores?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* - A comma-separated list of sales channel
|
|
1044
|
+
* IDs to filter results based on the sales channels involved.
|
|
1045
|
+
*/
|
|
943
1046
|
salesChannels?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* - Specifies the page number for paginated results.
|
|
1049
|
+
*/
|
|
944
1050
|
pageNo?: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* - Determines the number of results returned per page.
|
|
1053
|
+
*/
|
|
945
1054
|
pageSize?: number;
|
|
946
1055
|
isPrioritySort?: boolean;
|
|
947
1056
|
customMeta?: string;
|
|
@@ -951,6 +1060,10 @@ type GetOrdersParam = {
|
|
|
951
1060
|
* company order
|
|
952
1061
|
*/
|
|
953
1062
|
showCrossCompanyData?: boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* - The unique identifier for the customer
|
|
1065
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
1066
|
+
*/
|
|
954
1067
|
customerId?: string;
|
|
955
1068
|
orderType?: string;
|
|
956
1069
|
/**
|
|
@@ -958,20 +1071,36 @@ type GetOrdersParam = {
|
|
|
958
1071
|
* shipments are allowed
|
|
959
1072
|
*/
|
|
960
1073
|
allowInactive?: boolean;
|
|
1074
|
+
/**
|
|
1075
|
+
* - Defines the grouping criterion for
|
|
1076
|
+
* retrieving shipments or orders. It specifies whether the results should be
|
|
1077
|
+
* organized based on shipment groups or order groups. For example, using
|
|
1078
|
+
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1079
|
+
* may not be recognized, leading to errors or default behavior.
|
|
1080
|
+
*/
|
|
1081
|
+
groupEntity?: string;
|
|
961
1082
|
/**
|
|
962
1083
|
* - Applies a date filter for listing
|
|
963
1084
|
* orders. This is useful when fetching data for a specific date range while
|
|
964
1085
|
* performing searches.
|
|
965
1086
|
*/
|
|
966
1087
|
enforceDateFilter?: boolean;
|
|
1088
|
+
/**
|
|
1089
|
+
* - Define the Fulfillment Type for
|
|
1090
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
1091
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
1092
|
+
* also depends on the login user accessType and store access
|
|
1093
|
+
*/
|
|
1094
|
+
fulfillmentType?: string;
|
|
967
1095
|
};
|
|
968
1096
|
type GetShipmentByIdParam = {
|
|
969
1097
|
/**
|
|
970
|
-
* -
|
|
1098
|
+
* - The shipment ID used in the
|
|
1099
|
+
* application, which can be used to reference specific shipments.
|
|
971
1100
|
*/
|
|
972
1101
|
channelShipmentId?: string;
|
|
973
1102
|
/**
|
|
974
|
-
* -
|
|
1103
|
+
* - The unique identifier for a shipment.
|
|
975
1104
|
*/
|
|
976
1105
|
shipmentId?: string;
|
|
977
1106
|
/**
|
|
@@ -1018,21 +1147,26 @@ type GetShipmentsParam = {
|
|
|
1018
1147
|
*/
|
|
1019
1148
|
lane?: string;
|
|
1020
1149
|
/**
|
|
1021
|
-
* - Comma separated values of bag statuses
|
|
1150
|
+
* - Comma separated values of bag statuses.
|
|
1022
1151
|
*/
|
|
1023
1152
|
bagStatus?: string;
|
|
1024
1153
|
/**
|
|
1025
1154
|
* - Use this flag to fetch by
|
|
1026
|
-
* bag_status and override lane
|
|
1155
|
+
* bag_status and override lane.
|
|
1027
1156
|
*/
|
|
1028
1157
|
statusOverrideLane?: boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
* - Indicates the time to dispatch.
|
|
1160
|
+
*/
|
|
1029
1161
|
timeToDispatch?: number;
|
|
1030
1162
|
/**
|
|
1031
|
-
* -
|
|
1163
|
+
* - Specifies the key used to determine the
|
|
1164
|
+
* type of search being performed.
|
|
1032
1165
|
*/
|
|
1033
1166
|
searchType?: string;
|
|
1034
1167
|
/**
|
|
1035
|
-
* -
|
|
1168
|
+
* - The value corresponding to the search
|
|
1169
|
+
* type, such as a specific shipment ID or order ID.
|
|
1036
1170
|
*/
|
|
1037
1171
|
searchValue?: string;
|
|
1038
1172
|
/**
|
|
@@ -1044,83 +1178,135 @@ type GetShipmentsParam = {
|
|
|
1044
1178
|
*/
|
|
1045
1179
|
toDate?: string;
|
|
1046
1180
|
/**
|
|
1047
|
-
* - UTC
|
|
1181
|
+
* - The UTC start date in ISO format
|
|
1182
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1048
1183
|
*/
|
|
1049
1184
|
startDate?: string;
|
|
1050
1185
|
/**
|
|
1051
|
-
* - UTC
|
|
1186
|
+
* - The UTC end date in ISO format
|
|
1187
|
+
* (YYYY-MM-DDTHH:MM:SSZ) for filtering results.
|
|
1052
1188
|
*/
|
|
1053
1189
|
endDate?: string;
|
|
1054
1190
|
/**
|
|
1055
|
-
* -
|
|
1191
|
+
* - A comma-separated list of delivery partner IDs
|
|
1192
|
+
* to filter results by specific delivery partners.
|
|
1056
1193
|
*/
|
|
1057
1194
|
dpIds?: string;
|
|
1058
1195
|
/**
|
|
1059
|
-
* -
|
|
1196
|
+
* - A comma-separated list of store IDs used to
|
|
1197
|
+
* filter results to only those related to specific stores.
|
|
1060
1198
|
*/
|
|
1061
1199
|
stores?: string;
|
|
1062
1200
|
/**
|
|
1063
|
-
* -
|
|
1201
|
+
* - A comma-separated list of sales channel
|
|
1202
|
+
* IDs to filter results based on the sales channels involved.
|
|
1064
1203
|
*/
|
|
1065
1204
|
salesChannels?: string;
|
|
1066
1205
|
/**
|
|
1067
|
-
* -
|
|
1206
|
+
* - Specifies the page number for paginated results.
|
|
1068
1207
|
*/
|
|
1069
1208
|
pageNo?: number;
|
|
1070
1209
|
/**
|
|
1071
|
-
* -
|
|
1210
|
+
* - Determines the number of results returned per page.
|
|
1072
1211
|
*/
|
|
1073
1212
|
pageSize?: number;
|
|
1074
1213
|
/**
|
|
1075
|
-
* -
|
|
1214
|
+
* - A boolean flag that indicates
|
|
1215
|
+
* whether to include only active shipments in the results.
|
|
1076
1216
|
*/
|
|
1077
1217
|
fetchActiveShipment?: boolean;
|
|
1078
1218
|
/**
|
|
1079
|
-
* -
|
|
1219
|
+
* - A flag indicating whether to allow the
|
|
1220
|
+
* inclusion of inactive shipments in the results.
|
|
1080
1221
|
*/
|
|
1081
1222
|
allowInactive?: boolean;
|
|
1082
1223
|
/**
|
|
1083
|
-
* -
|
|
1224
|
+
* - A flag to specify whether to
|
|
1225
|
+
* exclude shipments that are locked from the results.
|
|
1084
1226
|
*/
|
|
1085
1227
|
excludeLockedShipments?: boolean;
|
|
1086
1228
|
/**
|
|
1087
|
-
* -
|
|
1229
|
+
* - A comma-separated list of payment methods.
|
|
1088
1230
|
*/
|
|
1089
1231
|
paymentMethods?: string;
|
|
1090
1232
|
/**
|
|
1091
|
-
* -
|
|
1233
|
+
* - The shipment ID used in the
|
|
1234
|
+
* application, which can be used to reference specific shipments.
|
|
1092
1235
|
*/
|
|
1093
1236
|
channelShipmentId?: string;
|
|
1094
1237
|
/**
|
|
1095
|
-
* -
|
|
1238
|
+
* - The order ID used in the application.
|
|
1096
1239
|
*/
|
|
1097
1240
|
channelOrderId?: string;
|
|
1241
|
+
/**
|
|
1242
|
+
* - Custom metadata associated with the query,
|
|
1243
|
+
* allowing for additional filtering or information to be passed.
|
|
1244
|
+
*/
|
|
1098
1245
|
customMeta?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* - The channel through which the order was placed.
|
|
1248
|
+
*/
|
|
1099
1249
|
orderingChannel?: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* - A tag used to identify the
|
|
1252
|
+
* company's affiliation for filtering or reporting purposes.
|
|
1253
|
+
*/
|
|
1100
1254
|
companyAffiliateTag?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* - A boolean flag indicating whether the query
|
|
1257
|
+
* should return only the user's orders.
|
|
1258
|
+
*/
|
|
1101
1259
|
myOrders?: boolean;
|
|
1260
|
+
/**
|
|
1261
|
+
* - The unique identifier of the user on
|
|
1262
|
+
* the platform, useful for filtering orders related to a specific user.
|
|
1263
|
+
*/
|
|
1102
1264
|
platformUserId?: string;
|
|
1103
1265
|
/**
|
|
1104
|
-
* -
|
|
1266
|
+
* - Determines the sorting order of the results
|
|
1267
|
+
* based on specific criteria.
|
|
1105
1268
|
*/
|
|
1106
1269
|
sortType?: string;
|
|
1107
1270
|
/**
|
|
1108
|
-
* -
|
|
1109
|
-
* company
|
|
1271
|
+
* - A flag indicating whether to
|
|
1272
|
+
* include data from both cross-company and non-cross-company orders in the results.
|
|
1110
1273
|
*/
|
|
1111
1274
|
showCrossCompanyData?: boolean;
|
|
1112
1275
|
/**
|
|
1113
|
-
* -
|
|
1276
|
+
* - A comma-separated list of tags associated with
|
|
1277
|
+
* the orders to filter results based on specific characteristics.
|
|
1114
1278
|
*/
|
|
1115
1279
|
tags?: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* - The unique identifier for the customer
|
|
1282
|
+
* associated with the query, useful for filtering results to a specific customer.
|
|
1283
|
+
*/
|
|
1116
1284
|
customerId?: string;
|
|
1285
|
+
/**
|
|
1286
|
+
* - The type of order being queried.
|
|
1287
|
+
*/
|
|
1117
1288
|
orderType?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* - Defines the grouping criterion for
|
|
1291
|
+
* retrieving shipments or orders. It specifies whether the results should be
|
|
1292
|
+
* organized based on shipment groups or order groups. For example, using
|
|
1293
|
+
* 'shipments' groups results by shipment, while an invalid value like 'abcd'
|
|
1294
|
+
* may not be recognized, leading to errors or default behavior.
|
|
1295
|
+
*/
|
|
1296
|
+
groupEntity?: string;
|
|
1118
1297
|
/**
|
|
1119
1298
|
* - Applies a date filter for listing
|
|
1120
1299
|
* shipments. This is useful when fetching data for a specific date range
|
|
1121
1300
|
* while performing searches.
|
|
1122
1301
|
*/
|
|
1123
1302
|
enforceDateFilter?: boolean;
|
|
1303
|
+
/**
|
|
1304
|
+
* - Define the Fulfillment Type for
|
|
1305
|
+
* Listing Orders, This is use when we want to get list of shipments or orders
|
|
1306
|
+
* by cross store or cross company or fulfilling Store (by default), this is
|
|
1307
|
+
* also depends on the login user accessType and store access
|
|
1308
|
+
*/
|
|
1309
|
+
fulfillmentType?: string;
|
|
1124
1310
|
};
|
|
1125
1311
|
type GetStateManagerConfigParam = {
|
|
1126
1312
|
/**
|
|
@@ -1193,22 +1379,18 @@ type TrackShipmentParam = {
|
|
|
1193
1379
|
pageSize?: number;
|
|
1194
1380
|
};
|
|
1195
1381
|
type UpdateAddressParam = {
|
|
1382
|
+
/**
|
|
1383
|
+
* - Unique shipment no. that is auto-generated
|
|
1384
|
+
*/
|
|
1196
1385
|
shipmentId: string;
|
|
1197
|
-
|
|
1198
|
-
address?: string;
|
|
1199
|
-
addressType?: string;
|
|
1200
|
-
pincode?: string;
|
|
1201
|
-
phone?: string;
|
|
1202
|
-
email?: string;
|
|
1203
|
-
landmark?: string;
|
|
1204
|
-
addressCategory: string;
|
|
1205
|
-
city?: string;
|
|
1206
|
-
state?: string;
|
|
1207
|
-
country?: string;
|
|
1386
|
+
body: OrderPlatformModel.UpdateAddressRequestBody;
|
|
1208
1387
|
};
|
|
1209
1388
|
type UpdatePackagingDimensionsParam = {
|
|
1210
1389
|
body: OrderPlatformModel.UpdatePackagingDimensionsPayload;
|
|
1211
1390
|
};
|
|
1391
|
+
type UpdatePaymentInfoParam = {
|
|
1392
|
+
body: OrderPlatformModel.UpdateShipmentPaymentMode;
|
|
1393
|
+
};
|
|
1212
1394
|
type UpdateShipmentLockParam = {
|
|
1213
1395
|
body: OrderPlatformModel.UpdateShipmentLockPayload;
|
|
1214
1396
|
};
|
|
@@ -1226,6 +1408,7 @@ type VerifyMobileOTPParam = {
|
|
|
1226
1408
|
};
|
|
1227
1409
|
type GetAllowedTemplatesForBulkParam = any;
|
|
1228
1410
|
type GetBulkActionTemplateParam = any;
|
|
1411
|
+
type GetChannelConfigParam = any;
|
|
1229
1412
|
type GetRoleBasedActionsParam = any;
|
|
1230
1413
|
type GetStateTransitionMapParam = any;
|
|
1231
1414
|
import OrderPlatformModel = require("./OrderPlatformModel");
|