@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-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 +1 -1
- package/package.json +3 -2
- package/sdk/application/ApplicationClient.js +20 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
- package/sdk/application/Cart/CartApplicationClient.js +3 -5
- package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
- package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
- package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
- package/sdk/application/Cart/CartApplicationValidator.js +0 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
- package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
- package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
- package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
- package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
- package/sdk/application/Common/CommonApplicationModel.js +172 -172
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
- package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
- package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
- package/sdk/application/Content/ContentApplicationClient.js +0 -246
- package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
- package/sdk/application/Content/ContentApplicationModel.js +565 -817
- package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
- package/sdk/application/Content/ContentApplicationValidator.js +0 -41
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
- package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
- package/sdk/application/Lead/LeadApplicationModel.js +301 -301
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
- package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
- package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
- package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
- package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
- package/sdk/application/Order/OrderApplicationClient.js +8 -32
- package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
- package/sdk/application/Order/OrderApplicationModel.js +816 -824
- package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
- package/sdk/application/Order/OrderApplicationValidator.js +0 -8
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
- package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
- package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
- package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
- package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
- package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
- package/sdk/application/Share/ShareApplicationModel.js +121 -121
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
- package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
- package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
- package/sdk/application/User/UserApplicationClient.d.ts +0 -33
- package/sdk/application/User/UserApplicationClient.js +0 -239
- package/sdk/application/User/UserApplicationModel.d.ts +753 -768
- package/sdk/application/User/UserApplicationModel.js +731 -755
- package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
- package/sdk/application/User/UserApplicationValidator.js +0 -36
- package/sdk/common/Clickstream.d.ts +1 -0
- package/sdk/common/Clickstream.js +254 -0
- package/sdk/common/Utility.js +1 -4
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
- package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
- package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
- package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
- package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
- package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
- package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
- package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
- package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
- package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
- package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
- package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
- package/sdk/platform/Common/CommonPlatformModel.js +187 -187
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
- package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
- package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
- package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
- package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
- package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
- package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
- package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
- package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
- package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
- package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
- package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
- package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
- package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
- package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/PlatformApplicationClient.js +4 -4
- package/sdk/platform/PlatformClient.d.ts +2 -4
- package/sdk/platform/PlatformClient.js +4 -8
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
- package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
- package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
- package/sdk/platform/Share/SharePlatformModel.js +139 -139
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
- package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
- package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
- package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
- package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
- package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
- package/sdk/platform/User/UserPlatformModel.js +428 -679
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
- package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
- package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
- package/sdk/platform/index.d.ts +1 -1
- package/sdk/platform/index.js +2 -2
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
- package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
- package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
- package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
- package/sdk/public/Partner/PartnerPublicModel.js +113 -113
- package/sdk/public/PublicClient.d.ts +0 -4
- package/sdk/public/PublicClient.js +0 -8
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
- package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
- package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
- package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
- package/sdk/public/index.d.ts +0 -2
- package/sdk/public/index.js +0 -4
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
- package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
- package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
- package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
- package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
- package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
- package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
- package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
- package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
- package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
- package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
- package/sdk/public/Billing/BillingPublicClient.js +0 -116
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
- package/sdk/public/Billing/BillingPublicModel.js +0 -96
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
- package/sdk/public/Billing/BillingPublicValidator.js +0 -19
- package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
- package/sdk/public/Content/ContentPublicClient.js +0 -114
- package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
- package/sdk/public/Content/ContentPublicModel.js +0 -60
- package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
- package/sdk/public/Content/ContentPublicValidator.js +0 -19
|
@@ -1,161 +1,146 @@
|
|
|
1
1
|
export = FinancePlatformModel;
|
|
2
2
|
/**
|
|
3
|
-
* @typedef
|
|
4
|
-
* @property {string} [
|
|
3
|
+
* @typedef GenerateReportMeta
|
|
4
|
+
* @property {string} [brand]
|
|
5
|
+
* @property {string} [company]
|
|
6
|
+
* @property {string} [channel]
|
|
5
7
|
*/
|
|
6
8
|
/**
|
|
7
|
-
* @typedef
|
|
8
|
-
* @property {
|
|
9
|
-
* @property {
|
|
9
|
+
* @typedef GenerateReportFilters
|
|
10
|
+
* @property {string[]} [brand]
|
|
11
|
+
* @property {string[]} [company]
|
|
12
|
+
* @property {string[]} [channel]
|
|
10
13
|
*/
|
|
11
14
|
/**
|
|
12
|
-
* @typedef
|
|
13
|
-
* @property {string} [
|
|
14
|
-
* @property {string} [
|
|
15
|
-
* @property {
|
|
16
|
-
* @property {string} [
|
|
17
|
-
* @property {
|
|
18
|
-
* @property {string} [ordering_channel]
|
|
19
|
-
* @property {string} [shipment_id]
|
|
20
|
-
* @property {string} [staff_id]
|
|
21
|
-
* @property {string} [store_id]
|
|
15
|
+
* @typedef GenerateReportPlatform
|
|
16
|
+
* @property {string} [start_date]
|
|
17
|
+
* @property {string} [end_date]
|
|
18
|
+
* @property {GenerateReportMeta} [meta]
|
|
19
|
+
* @property {string} [report_id]
|
|
20
|
+
* @property {GenerateReportFilters} [filters]
|
|
22
21
|
*/
|
|
23
22
|
/**
|
|
24
|
-
* @typedef
|
|
25
|
-
* @property {
|
|
23
|
+
* @typedef GenerateReportRequest
|
|
24
|
+
* @property {GenerateReportPlatform} [data]
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* @typedef Page
|
|
28
|
+
* @property {number} [item_total]
|
|
29
|
+
* @property {string} [next_id]
|
|
30
|
+
* @property {boolean} [has_previous]
|
|
31
|
+
* @property {boolean} [has_next]
|
|
32
|
+
* @property {number} [current]
|
|
33
|
+
* @property {string} type
|
|
34
|
+
* @property {number} [size]
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* @typedef GenerateReportJson
|
|
38
|
+
* @property {string[][]} [items]
|
|
39
|
+
* @property {Page} [page]
|
|
26
40
|
* @property {string} [end_date]
|
|
27
|
-
* @property {
|
|
28
|
-
* @property {number} [pagesize]
|
|
29
|
-
* @property {string} [search]
|
|
30
|
-
* @property {string} [search_type]
|
|
41
|
+
* @property {string[]} [headers]
|
|
31
42
|
* @property {string} [start_date]
|
|
32
|
-
* @property {
|
|
43
|
+
* @property {number} [item_count]
|
|
33
44
|
*/
|
|
34
45
|
/**
|
|
35
|
-
* @typedef
|
|
36
|
-
* @property {string} [
|
|
37
|
-
* @property {
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
* @typedef Error
|
|
47
|
+
* @property {string} [reason]
|
|
48
|
+
* @property {boolean} [success]
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* @typedef DownloadReport
|
|
40
52
|
* @property {number} [page]
|
|
41
53
|
* @property {number} [pagesize]
|
|
42
|
-
* @property {string} [report_id]
|
|
43
|
-
* @property {string} [search]
|
|
44
|
-
* @property {string} [search_type]
|
|
45
54
|
* @property {string} [start_date]
|
|
55
|
+
* @property {string} [end_date]
|
|
46
56
|
*/
|
|
47
57
|
/**
|
|
48
|
-
* @typedef
|
|
49
|
-
* @property {string
|
|
50
|
-
* @property {string
|
|
51
|
-
* @property {
|
|
52
|
-
* @property {
|
|
53
|
-
* @property {
|
|
54
|
-
* @property {string
|
|
58
|
+
* @typedef DownloadReportItems
|
|
59
|
+
* @property {string} [start_date]
|
|
60
|
+
* @property {string} [end_date]
|
|
61
|
+
* @property {GenerateReportMeta} [meta]
|
|
62
|
+
* @property {string} [report_id]
|
|
63
|
+
* @property {GenerateReportFilters} [filters]
|
|
64
|
+
* @property {string} [type_of_request]
|
|
55
65
|
*/
|
|
56
66
|
/**
|
|
57
|
-
* @typedef
|
|
58
|
-
* @property {
|
|
59
|
-
* @property {
|
|
60
|
-
* @property {
|
|
61
|
-
* @property {string} [invoice_number]
|
|
62
|
-
* @property {string} [order_id]
|
|
63
|
-
* @property {string} [shipment_id]
|
|
64
|
-
* @property {string} [status]
|
|
65
|
-
* @property {number} [total_amount]
|
|
67
|
+
* @typedef DownloadReportList
|
|
68
|
+
* @property {DownloadReportItems[]} [items]
|
|
69
|
+
* @property {Page} [page]
|
|
70
|
+
* @property {number} [item_count]
|
|
66
71
|
*/
|
|
67
72
|
/**
|
|
68
|
-
* @typedef
|
|
69
|
-
* @property {string} [
|
|
73
|
+
* @typedef GetEngineData
|
|
74
|
+
* @property {string} [table_name]
|
|
75
|
+
* @property {string[]} [project]
|
|
76
|
+
* @property {Object} [filters]
|
|
70
77
|
*/
|
|
71
78
|
/**
|
|
72
|
-
* @typedef
|
|
73
|
-
* @property {
|
|
74
|
-
* @property {string} [currency_type]
|
|
75
|
-
* @property {boolean} [is_cn_as_refund_method]
|
|
76
|
-
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
77
|
-
* @property {string[]} [ordering_channel]
|
|
78
|
-
* @property {string} [sales_channel_name]
|
|
79
|
-
* @property {number} [seller_id]
|
|
80
|
-
* @property {string[]} [slug_values]
|
|
81
|
-
* @property {string[]} [source_channel]
|
|
82
|
-
* @property {number} [validity]
|
|
79
|
+
* @typedef GetEngineRequest
|
|
80
|
+
* @property {GetEngineData} [data]
|
|
83
81
|
*/
|
|
84
82
|
/**
|
|
85
|
-
* @typedef
|
|
86
|
-
* @property {
|
|
83
|
+
* @typedef GetEngineResponse
|
|
84
|
+
* @property {boolean} [success]
|
|
85
|
+
* @property {Object[]} [items]
|
|
86
|
+
* @property {Page} [page]
|
|
87
|
+
* @property {number} [item_count]
|
|
87
88
|
*/
|
|
88
89
|
/**
|
|
89
|
-
* @typedef
|
|
90
|
-
* @property {string} [
|
|
91
|
-
* @property {boolean} [success]
|
|
90
|
+
* @typedef GetReason
|
|
91
|
+
* @property {string} [reason_type]
|
|
92
92
|
*/
|
|
93
93
|
/**
|
|
94
|
-
* @typedef
|
|
95
|
-
* @property {
|
|
96
|
-
* @property {number} [page]
|
|
97
|
-
* @property {number} [pagesize]
|
|
98
|
-
* @property {string} [seller_id]
|
|
99
|
-
* @property {string} [start_end]
|
|
94
|
+
* @typedef GetReasonRequest
|
|
95
|
+
* @property {GetReason} [data]
|
|
100
96
|
*/
|
|
101
97
|
/**
|
|
102
|
-
* @typedef
|
|
103
|
-
* @property {
|
|
98
|
+
* @typedef ReasonItem
|
|
99
|
+
* @property {string} [id]
|
|
100
|
+
* @property {string} [name]
|
|
101
|
+
* @property {string} [display_name]
|
|
104
102
|
*/
|
|
105
103
|
/**
|
|
106
|
-
* @typedef
|
|
107
|
-
* @property {
|
|
108
|
-
* @property {
|
|
104
|
+
* @typedef GetReasonResponse
|
|
105
|
+
* @property {boolean} [success]
|
|
106
|
+
* @property {ReasonItem[]} [item_list]
|
|
109
107
|
* @property {number} [item_count]
|
|
110
|
-
* @property {Object[]} [items]
|
|
111
|
-
* @property {string} [message]
|
|
112
108
|
* @property {Page} [page]
|
|
113
|
-
* @property {boolean} [show_mr]
|
|
114
109
|
*/
|
|
115
110
|
/**
|
|
116
|
-
* @typedef
|
|
117
|
-
* @property {
|
|
111
|
+
* @typedef GetReportListData
|
|
112
|
+
* @property {string} [role_name]
|
|
113
|
+
* @property {boolean} [listing_enabled]
|
|
118
114
|
*/
|
|
119
115
|
/**
|
|
120
|
-
* @typedef
|
|
121
|
-
* @property {
|
|
122
|
-
* @property {number} [cn_amount]
|
|
123
|
-
* @property {CnDetails} [cn_details]
|
|
124
|
-
* @property {string} [cn_reference_number]
|
|
125
|
-
* @property {string} [cn_status]
|
|
126
|
-
* @property {string} [customer_mobile_number]
|
|
127
|
-
* @property {RedemptionDetails[]} [redemption_details]
|
|
128
|
-
* @property {number} [remaining_cn_amount]
|
|
116
|
+
* @typedef GetReportListRequest
|
|
117
|
+
* @property {GetReportListData} [data]
|
|
129
118
|
*/
|
|
130
119
|
/**
|
|
131
|
-
* @typedef
|
|
132
|
-
* @property {
|
|
120
|
+
* @typedef GetAffiliate
|
|
121
|
+
* @property {number} [company_id]
|
|
133
122
|
*/
|
|
134
123
|
/**
|
|
135
|
-
* @typedef
|
|
136
|
-
* @property {CreditNoteDetails} [data]
|
|
124
|
+
* @typedef GetReportListResponse
|
|
137
125
|
* @property {boolean} [success]
|
|
126
|
+
* @property {ReportItem[]} [items]
|
|
127
|
+
* @property {Page} [page]
|
|
128
|
+
* @property {number} [total_count]
|
|
138
129
|
*/
|
|
139
130
|
/**
|
|
140
|
-
* @typedef
|
|
141
|
-
* @property {string} [
|
|
131
|
+
* @typedef ReportItem
|
|
132
|
+
* @property {string} [id]
|
|
142
133
|
* @property {string} [name]
|
|
143
|
-
* @property {string} [
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
* @
|
|
147
|
-
* @property {string} [
|
|
148
|
-
* @property {number} [seller_id]
|
|
149
|
-
* @property {string[]} [slug_values]
|
|
150
|
-
*/
|
|
151
|
-
/**
|
|
152
|
-
* @typedef DeleteConfigRequest
|
|
153
|
-
* @property {DeleteConfig} [data]
|
|
134
|
+
* @property {string} [description]
|
|
135
|
+
* @property {string[]} [allowed_filters]
|
|
136
|
+
* @property {Object} [config_meta]
|
|
137
|
+
* @property {string} [report_type]
|
|
138
|
+
* @property {string} [display_date]
|
|
154
139
|
*/
|
|
155
140
|
/**
|
|
156
|
-
* @typedef
|
|
157
|
-
* @property {string} [message]
|
|
141
|
+
* @typedef GetAffiliateResponse
|
|
158
142
|
* @property {boolean} [success]
|
|
143
|
+
* @property {Object[]} [docs]
|
|
159
144
|
*/
|
|
160
145
|
/**
|
|
161
146
|
* @typedef DownloadCreditDebitNote
|
|
@@ -165,676 +150,610 @@ export = FinancePlatformModel;
|
|
|
165
150
|
* @typedef DownloadCreditDebitNoteRequest
|
|
166
151
|
* @property {DownloadCreditDebitNote} [data]
|
|
167
152
|
*/
|
|
168
|
-
/**
|
|
169
|
-
* @typedef DownloadCreditDebitNoteResponse
|
|
170
|
-
* @property {DownloadCreditDebitNoteResponseData[]} [data]
|
|
171
|
-
* @property {boolean} [success]
|
|
172
|
-
*/
|
|
173
153
|
/**
|
|
174
154
|
* @typedef DownloadCreditDebitNoteResponseData
|
|
175
155
|
* @property {string} [id]
|
|
176
156
|
* @property {string} [pdf_s3_url]
|
|
177
157
|
*/
|
|
178
158
|
/**
|
|
179
|
-
* @typedef
|
|
180
|
-
* @property {
|
|
181
|
-
* @property {
|
|
182
|
-
* @property {number} [pagesize]
|
|
183
|
-
* @property {string} [start_date]
|
|
159
|
+
* @typedef DownloadCreditDebitNoteResponse
|
|
160
|
+
* @property {boolean} [success]
|
|
161
|
+
* @property {DownloadCreditDebitNoteResponseData[]} [data]
|
|
184
162
|
*/
|
|
185
163
|
/**
|
|
186
|
-
* @typedef
|
|
187
|
-
* @property {
|
|
164
|
+
* @typedef PaymentProcessPayload
|
|
165
|
+
* @property {string} [platform]
|
|
166
|
+
* @property {string} [amount]
|
|
167
|
+
* @property {string} [transaction_type]
|
|
168
|
+
* @property {string} [source_reference]
|
|
169
|
+
* @property {string} [total_amount]
|
|
170
|
+
* @property {Object} [meta]
|
|
171
|
+
* @property {string} [currency]
|
|
172
|
+
* @property {string} [seller_id]
|
|
173
|
+
* @property {string} [mode_of_payment]
|
|
174
|
+
* @property {string} [invoice_number]
|
|
188
175
|
*/
|
|
189
176
|
/**
|
|
190
|
-
* @typedef
|
|
191
|
-
* @property {
|
|
177
|
+
* @typedef PaymentProcessRequest
|
|
178
|
+
* @property {PaymentProcessPayload} [data]
|
|
192
179
|
*/
|
|
193
180
|
/**
|
|
194
|
-
* @typedef
|
|
195
|
-
* @property {
|
|
196
|
-
* @property {
|
|
197
|
-
* @property {
|
|
198
|
-
* @property {string} [
|
|
199
|
-
* @property {string} [
|
|
200
|
-
* @property {string} [type_of_request]
|
|
181
|
+
* @typedef PaymentProcessResponse
|
|
182
|
+
* @property {number} [code]
|
|
183
|
+
* @property {string} [message]
|
|
184
|
+
* @property {Object} [meta]
|
|
185
|
+
* @property {string} [transaction_id]
|
|
186
|
+
* @property {string} [redirect_url]
|
|
201
187
|
*/
|
|
202
188
|
/**
|
|
203
|
-
* @typedef
|
|
204
|
-
* @property {number} [
|
|
205
|
-
* @property {
|
|
206
|
-
* @property {
|
|
189
|
+
* @typedef CreditlineDataPlatformPayload
|
|
190
|
+
* @property {number} [page]
|
|
191
|
+
* @property {string} [seller_id]
|
|
192
|
+
* @property {string} [end_end]
|
|
193
|
+
* @property {string} [start_end]
|
|
194
|
+
* @property {number} [pagesize]
|
|
207
195
|
*/
|
|
208
196
|
/**
|
|
209
|
-
* @typedef
|
|
210
|
-
* @property {
|
|
211
|
-
* @property {string} [display_name]
|
|
212
|
-
* @property {string} [download_link]
|
|
213
|
-
* @property {string} [end_date]
|
|
214
|
-
* @property {Object} [filters]
|
|
215
|
-
* @property {string} [full_name]
|
|
216
|
-
* @property {Object} [meta]
|
|
217
|
-
* @property {string} [msg]
|
|
218
|
-
* @property {string} [report_config_id]
|
|
219
|
-
* @property {string} [report_name]
|
|
220
|
-
* @property {Object} [request_dict]
|
|
221
|
-
* @property {string} [requested_by]
|
|
222
|
-
* @property {string} [start_date]
|
|
223
|
-
* @property {string} [status]
|
|
224
|
-
*/
|
|
225
|
-
/**
|
|
226
|
-
* @typedef Error
|
|
227
|
-
* @property {string} [reason]
|
|
228
|
-
* @property {boolean} [success]
|
|
229
|
-
*/
|
|
230
|
-
/**
|
|
231
|
-
* @typedef GenerateReportCustomerCnRequest
|
|
232
|
-
* @property {CnGenerateReport} [data]
|
|
233
|
-
*/
|
|
234
|
-
/**
|
|
235
|
-
* @typedef GenerateReportCustomerCnResponse
|
|
236
|
-
* @property {GenerateReportCustomerCnResponseData} [data]
|
|
197
|
+
* @typedef CreditlineDataPlatformRequest
|
|
198
|
+
* @property {CreditlineDataPlatformPayload} [data]
|
|
237
199
|
*/
|
|
238
200
|
/**
|
|
239
|
-
* @typedef
|
|
240
|
-
* @property {
|
|
241
|
-
* @property {
|
|
201
|
+
* @typedef CreditlineDataPlatformResponse
|
|
202
|
+
* @property {Object[]} [items]
|
|
203
|
+
* @property {number} [code]
|
|
204
|
+
* @property {boolean} [show_mr]
|
|
205
|
+
* @property {Object} [page]
|
|
206
|
+
* @property {string} [message]
|
|
242
207
|
* @property {string[]} [headers]
|
|
243
208
|
* @property {number} [item_count]
|
|
244
|
-
* @property {CnGenerateReportItems[]} [items]
|
|
245
|
-
* @property {Page} [page]
|
|
246
|
-
* @property {string[]} [primary_headers]
|
|
247
|
-
* @property {Object} [row_header_display_order]
|
|
248
|
-
* @property {string} [start_date]
|
|
249
209
|
*/
|
|
250
210
|
/**
|
|
251
|
-
* @typedef
|
|
252
|
-
* @property {string
|
|
253
|
-
* @property {string[]} [channel]
|
|
254
|
-
* @property {string[]} [company]
|
|
211
|
+
* @typedef IsCreditlinePayload
|
|
212
|
+
* @property {string} [seller_id]
|
|
255
213
|
*/
|
|
256
214
|
/**
|
|
257
|
-
* @typedef
|
|
258
|
-
* @property {
|
|
259
|
-
* @property {string[]} [headers]
|
|
260
|
-
* @property {number} [item_count]
|
|
261
|
-
* @property {string[][]} [items]
|
|
262
|
-
* @property {Page} [page]
|
|
263
|
-
* @property {string} [start_date]
|
|
215
|
+
* @typedef IsCreditlinePlatformRequest
|
|
216
|
+
* @property {IsCreditlinePayload} [data]
|
|
264
217
|
*/
|
|
265
218
|
/**
|
|
266
|
-
* @typedef
|
|
267
|
-
* @property {
|
|
268
|
-
* @property {
|
|
269
|
-
* @property {string} [company]
|
|
219
|
+
* @typedef IsCreditlinePlatformResponse
|
|
220
|
+
* @property {boolean} [is_creditline_opted]
|
|
221
|
+
* @property {number} [code]
|
|
270
222
|
*/
|
|
271
223
|
/**
|
|
272
|
-
* @typedef
|
|
273
|
-
* @property {
|
|
274
|
-
* @property {GenerateReportFilters} [filters]
|
|
275
|
-
* @property {GenerateReportMeta} [meta]
|
|
276
|
-
* @property {string} [report_id]
|
|
277
|
-
* @property {string} [start_date]
|
|
224
|
+
* @typedef InvoiceTypePayloadData
|
|
225
|
+
* @property {boolean} [is_active]
|
|
278
226
|
*/
|
|
279
227
|
/**
|
|
280
|
-
* @typedef
|
|
281
|
-
* @property {
|
|
228
|
+
* @typedef InvoiceTypeRequest
|
|
229
|
+
* @property {InvoiceTypePayloadData} [data]
|
|
282
230
|
*/
|
|
283
231
|
/**
|
|
284
|
-
* @typedef
|
|
285
|
-
* @property {
|
|
232
|
+
* @typedef InvoiceTypeResponseItems
|
|
233
|
+
* @property {string} [text]
|
|
234
|
+
* @property {string} [value]
|
|
286
235
|
*/
|
|
287
236
|
/**
|
|
288
|
-
* @typedef
|
|
289
|
-
* @property {Object[]} [docs]
|
|
237
|
+
* @typedef InvoiceTypeResponse
|
|
290
238
|
* @property {boolean} [success]
|
|
239
|
+
* @property {InvoiceTypeResponseItems[]} [invoice_type_list]
|
|
240
|
+
* @property {InvoiceTypeResponseItems[]} [payment_status_list]
|
|
291
241
|
*/
|
|
292
242
|
/**
|
|
293
|
-
* @typedef
|
|
294
|
-
* @property {
|
|
243
|
+
* @typedef InoviceListingPayloadDataFilters
|
|
244
|
+
* @property {string[]} [payment_status]
|
|
245
|
+
* @property {string[]} [invoice_type]
|
|
246
|
+
* @property {string[]} [company_id]
|
|
295
247
|
*/
|
|
296
248
|
/**
|
|
297
|
-
* @typedef
|
|
298
|
-
* @property {
|
|
299
|
-
* @property {
|
|
249
|
+
* @typedef InvoiceListingPayloadData
|
|
250
|
+
* @property {number} [page_size]
|
|
251
|
+
* @property {number} [page]
|
|
252
|
+
* @property {string} [start_date]
|
|
253
|
+
* @property {string} [end_date]
|
|
254
|
+
* @property {string} [search]
|
|
255
|
+
* @property {InoviceListingPayloadDataFilters} [filters]
|
|
300
256
|
*/
|
|
301
257
|
/**
|
|
302
|
-
* @typedef
|
|
303
|
-
* @property {
|
|
304
|
-
* @property {string} [currency_type]
|
|
305
|
-
* @property {boolean} [is_cn_as_refund_method]
|
|
306
|
-
* @property {GetCnConfigResponseMeta} [meta]
|
|
307
|
-
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
308
|
-
* @property {string[]} [redemption_ordering_channel]
|
|
309
|
-
* @property {number} [seller_id]
|
|
310
|
-
* @property {number} [validity]
|
|
258
|
+
* @typedef InvoiceListingRequest
|
|
259
|
+
* @property {InvoiceListingPayloadData} [data]
|
|
311
260
|
*/
|
|
312
261
|
/**
|
|
313
|
-
* @typedef
|
|
314
|
-
* @property {
|
|
315
|
-
* @property {string
|
|
262
|
+
* @typedef UnpaidInvoiceDataItems
|
|
263
|
+
* @property {number} [total_unpaid_invoice_count]
|
|
264
|
+
* @property {string} [currency]
|
|
265
|
+
* @property {number} [total_unpaid_amount]
|
|
316
266
|
*/
|
|
317
267
|
/**
|
|
318
|
-
* @typedef
|
|
319
|
-
* @property {string} [
|
|
320
|
-
* @property {string} [
|
|
321
|
-
* @property {
|
|
268
|
+
* @typedef InvoiceListingResponseItems
|
|
269
|
+
* @property {string} [amount]
|
|
270
|
+
* @property {string} [company]
|
|
271
|
+
* @property {string} [status]
|
|
272
|
+
* @property {string} [due_date]
|
|
273
|
+
* @property {string} [invoice_date]
|
|
274
|
+
* @property {string} [invoice_type]
|
|
275
|
+
* @property {string} [period]
|
|
276
|
+
* @property {string} [invoice_number]
|
|
277
|
+
* @property {boolean} [is_downloadable]
|
|
278
|
+
* @property {string} [invoice_id]
|
|
322
279
|
*/
|
|
323
280
|
/**
|
|
324
|
-
* @typedef
|
|
325
|
-
* @property {
|
|
281
|
+
* @typedef InvoiceListingResponse
|
|
282
|
+
* @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
|
|
283
|
+
* @property {InvoiceListingResponseItems[]} [items]
|
|
284
|
+
* @property {Page} [page]
|
|
285
|
+
* @property {number} [item_count]
|
|
326
286
|
*/
|
|
327
287
|
/**
|
|
328
|
-
* @typedef
|
|
329
|
-
* @property {
|
|
330
|
-
* @property {boolean} [success]
|
|
288
|
+
* @typedef InvoicePdfPayloadData
|
|
289
|
+
* @property {string[]} [invoice_number]
|
|
331
290
|
*/
|
|
332
291
|
/**
|
|
333
|
-
* @typedef
|
|
334
|
-
* @property {
|
|
335
|
-
* @property {number} [total_credited_balance]
|
|
292
|
+
* @typedef InvoicePdfRequest
|
|
293
|
+
* @property {InvoicePdfPayloadData} [data]
|
|
336
294
|
*/
|
|
337
295
|
/**
|
|
338
|
-
* @typedef
|
|
339
|
-
* @property {
|
|
340
|
-
* @property {string[]} [
|
|
341
|
-
* @property {string} [
|
|
296
|
+
* @typedef InvoicePdfResponse
|
|
297
|
+
* @property {boolean} [success]
|
|
298
|
+
* @property {string[]} [data]
|
|
299
|
+
* @property {string[]} [error]
|
|
342
300
|
*/
|
|
343
301
|
/**
|
|
344
|
-
* @typedef
|
|
345
|
-
* @property {
|
|
302
|
+
* @typedef IsCnRefundMethodData
|
|
303
|
+
* @property {string} [affiliate_id]
|
|
304
|
+
* @property {boolean} [toggle_edit_required]
|
|
305
|
+
* @property {number} [seller_id]
|
|
346
306
|
*/
|
|
347
307
|
/**
|
|
348
|
-
* @typedef
|
|
349
|
-
* @property {
|
|
350
|
-
* @property {Object[]} [items]
|
|
351
|
-
* @property {Page} [page]
|
|
352
|
-
* @property {boolean} [success]
|
|
308
|
+
* @typedef IsCnRefundMethodRequest
|
|
309
|
+
* @property {IsCnRefundMethodData} [data]
|
|
353
310
|
*/
|
|
354
311
|
/**
|
|
355
|
-
* @typedef
|
|
356
|
-
* @property {
|
|
312
|
+
* @typedef IsCnRefundMethodResponseData
|
|
313
|
+
* @property {boolean} [is_first_time_user]
|
|
357
314
|
*/
|
|
358
315
|
/**
|
|
359
|
-
* @typedef
|
|
360
|
-
* @property {GetPdfUrlViewResponseData} [data]
|
|
316
|
+
* @typedef IsCnRefundMethodResponse
|
|
361
317
|
* @property {boolean} [success]
|
|
318
|
+
* @property {IsCnRefundMethodResponseData} [data]
|
|
362
319
|
*/
|
|
363
320
|
/**
|
|
364
|
-
* @typedef
|
|
365
|
-
* @property {
|
|
366
|
-
* @property {string} [s3_pdf_link]
|
|
321
|
+
* @typedef CreditNoteConfigNotificationEvents
|
|
322
|
+
* @property {number} [expiration_reminder_to_customer]
|
|
367
323
|
*/
|
|
368
324
|
/**
|
|
369
|
-
* @typedef
|
|
370
|
-
* @property {
|
|
325
|
+
* @typedef CreateSellerCreditNoteConfig
|
|
326
|
+
* @property {boolean} [is_cn_as_refund_method]
|
|
327
|
+
* @property {string} [affiliate_id]
|
|
328
|
+
* @property {string[]} [source_channel]
|
|
329
|
+
* @property {number} [seller_id]
|
|
330
|
+
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
331
|
+
* @property {string} [sales_channel_name]
|
|
332
|
+
* @property {string[]} [ordering_channel]
|
|
333
|
+
* @property {number} [validity]
|
|
334
|
+
* @property {string} [currency_type]
|
|
335
|
+
* @property {string[]} [slug_values]
|
|
371
336
|
*/
|
|
372
337
|
/**
|
|
373
|
-
* @typedef
|
|
374
|
-
* @property {
|
|
338
|
+
* @typedef CreateSellerCreditNoteConfigRequest
|
|
339
|
+
* @property {CreateSellerCreditNoteConfig} [data]
|
|
375
340
|
*/
|
|
376
341
|
/**
|
|
377
|
-
* @typedef
|
|
378
|
-
* @property {number} [item_count]
|
|
379
|
-
* @property {ReasonItem[]} [item_list]
|
|
380
|
-
* @property {Page} [page]
|
|
342
|
+
* @typedef CreateSellerCreditNoteConfigResponse
|
|
381
343
|
* @property {boolean} [success]
|
|
344
|
+
* @property {string} [message]
|
|
382
345
|
*/
|
|
383
346
|
/**
|
|
384
|
-
* @typedef
|
|
385
|
-
* @property {
|
|
386
|
-
* @property {string} [
|
|
387
|
-
* @property {
|
|
388
|
-
* @property {string} [value]
|
|
389
|
-
*/
|
|
390
|
-
/**
|
|
391
|
-
* @typedef GetReportingFiltersResponse
|
|
392
|
-
* @property {GetReportingNestedFilters[]} [filters]
|
|
393
|
-
* @property {GetReportingFilters} [search]
|
|
394
|
-
* @property {GetReportingFilters} [status]
|
|
347
|
+
* @typedef DeleteConfig
|
|
348
|
+
* @property {string} [affiliate_id]
|
|
349
|
+
* @property {string[]} [slug_values]
|
|
350
|
+
* @property {number} [seller_id]
|
|
395
351
|
*/
|
|
396
352
|
/**
|
|
397
|
-
* @typedef
|
|
398
|
-
* @property {
|
|
399
|
-
* @property {string} [placeholder_text]
|
|
400
|
-
* @property {boolean} [required]
|
|
401
|
-
* @property {string} [text]
|
|
402
|
-
* @property {string} [type]
|
|
403
|
-
* @property {string} [value]
|
|
353
|
+
* @typedef DeleteConfigRequest
|
|
354
|
+
* @property {DeleteConfig} [data]
|
|
404
355
|
*/
|
|
405
356
|
/**
|
|
406
|
-
* @typedef
|
|
407
|
-
* @property {boolean} [
|
|
408
|
-
* @property {string} [
|
|
357
|
+
* @typedef DeleteConfigResponse
|
|
358
|
+
* @property {boolean} [success]
|
|
359
|
+
* @property {string} [message]
|
|
409
360
|
*/
|
|
410
361
|
/**
|
|
411
|
-
* @typedef
|
|
412
|
-
* @property {
|
|
362
|
+
* @typedef ChannelDisplayName
|
|
363
|
+
* @property {string} [platform_pos]
|
|
413
364
|
*/
|
|
414
365
|
/**
|
|
415
|
-
* @typedef
|
|
416
|
-
* @property {ReportItem[]} [items]
|
|
417
|
-
* @property {Page} [page]
|
|
366
|
+
* @typedef ChannelDisplayNameResponse
|
|
418
367
|
* @property {boolean} [success]
|
|
419
|
-
* @property {
|
|
368
|
+
* @property {ChannelDisplayName} [data]
|
|
420
369
|
*/
|
|
421
370
|
/**
|
|
422
|
-
* @typedef
|
|
423
|
-
* @property {string
|
|
424
|
-
* @property {string[]} [invoice_type]
|
|
425
|
-
* @property {string[]} [payment_status]
|
|
371
|
+
* @typedef CnReferenceNumber
|
|
372
|
+
* @property {string} [cn_reference_number]
|
|
426
373
|
*/
|
|
427
374
|
/**
|
|
428
|
-
* @typedef
|
|
429
|
-
* @property {
|
|
375
|
+
* @typedef GetPdfUrlViewRequest
|
|
376
|
+
* @property {CnReferenceNumber} [data]
|
|
430
377
|
*/
|
|
431
378
|
/**
|
|
432
|
-
* @typedef
|
|
433
|
-
* @property {
|
|
379
|
+
* @typedef GetPdfUrlViewResponseData
|
|
380
|
+
* @property {string} [s3_pdf_link]
|
|
381
|
+
* @property {string} [cn_reference_number]
|
|
434
382
|
*/
|
|
435
383
|
/**
|
|
436
|
-
* @typedef
|
|
437
|
-
* @property {boolean} [
|
|
438
|
-
* @property {
|
|
439
|
-
* @property {string} [performed_by]
|
|
440
|
-
* @property {string} [reason]
|
|
441
|
-
* @property {number} [retry_attempts]
|
|
442
|
-
* @property {string} [status]
|
|
384
|
+
* @typedef GetPdfUrlViewResponse
|
|
385
|
+
* @property {boolean} [success]
|
|
386
|
+
* @property {GetPdfUrlViewResponseData} [data]
|
|
443
387
|
*/
|
|
444
388
|
/**
|
|
445
|
-
* @typedef
|
|
446
|
-
* @property {
|
|
447
|
-
* @property {InoviceListingPayloadDataFilters} [filters]
|
|
448
|
-
* @property {number} [page]
|
|
449
|
-
* @property {number} [page_size]
|
|
450
|
-
* @property {string} [search]
|
|
451
|
-
* @property {string} [start_date]
|
|
389
|
+
* @typedef CreditNoteDetailsRequest
|
|
390
|
+
* @property {CnReferenceNumber} [data]
|
|
452
391
|
*/
|
|
453
392
|
/**
|
|
454
|
-
* @typedef
|
|
455
|
-
* @property {
|
|
393
|
+
* @typedef CnDetails
|
|
394
|
+
* @property {string} [staff_id]
|
|
395
|
+
* @property {string} [expiry_date]
|
|
396
|
+
* @property {string} [channel_of_issuance]
|
|
397
|
+
* @property {string} [order_id]
|
|
398
|
+
* @property {string} [date_issued]
|
|
399
|
+
* @property {string} [ordering_channel]
|
|
400
|
+
* @property {string} [shipment_id]
|
|
401
|
+
* @property {string} [store_id]
|
|
402
|
+
* @property {string} [invoice_number]
|
|
456
403
|
*/
|
|
457
404
|
/**
|
|
458
|
-
* @typedef
|
|
459
|
-
* @property {
|
|
460
|
-
* @property {
|
|
461
|
-
* @property {
|
|
462
|
-
* @property {
|
|
405
|
+
* @typedef RedemptionDetails
|
|
406
|
+
* @property {string} [staff_id]
|
|
407
|
+
* @property {string} [created_at]
|
|
408
|
+
* @property {string} [order_id]
|
|
409
|
+
* @property {string} [store_id]
|
|
410
|
+
* @property {string} [shipment_id]
|
|
411
|
+
* @property {string} [ordering_channel]
|
|
412
|
+
* @property {number} [amount_debited]
|
|
413
|
+
* @property {string} [invoice_number]
|
|
463
414
|
*/
|
|
464
415
|
/**
|
|
465
|
-
* @typedef
|
|
466
|
-
* @property {string} [
|
|
467
|
-
* @property {string} [
|
|
468
|
-
* @property {
|
|
469
|
-
* @property {
|
|
470
|
-
* @property {
|
|
471
|
-
* @property {
|
|
472
|
-
* @property {
|
|
473
|
-
* @property {
|
|
474
|
-
* @property {boolean} [is_downloadable]
|
|
475
|
-
* @property {string} [period]
|
|
476
|
-
* @property {string} [status]
|
|
416
|
+
* @typedef CreditNoteDetails
|
|
417
|
+
* @property {string} [cn_status]
|
|
418
|
+
* @property {string} [customer_mobile_number]
|
|
419
|
+
* @property {string} [cn_reference_number]
|
|
420
|
+
* @property {Object} [cn_details]
|
|
421
|
+
* @property {RedemptionDetails[]} [redemption_details]
|
|
422
|
+
* @property {number} [remaining_cn_amount]
|
|
423
|
+
* @property {number} [available_cn_balance]
|
|
424
|
+
* @property {number} [cn_amount]
|
|
477
425
|
*/
|
|
478
426
|
/**
|
|
479
|
-
* @typedef
|
|
480
|
-
* @property {InvoicePaymentDetailsResponseData} [data]
|
|
481
|
-
* @property {boolean} [payment_details_visible]
|
|
427
|
+
* @typedef CreditNoteDetailsResponse
|
|
482
428
|
* @property {boolean} [success]
|
|
429
|
+
* @property {CreditNoteDetails} [data]
|
|
483
430
|
*/
|
|
484
431
|
/**
|
|
485
|
-
* @typedef
|
|
486
|
-
* @property {
|
|
487
|
-
* @property {
|
|
432
|
+
* @typedef GetCustomerCreditBalance
|
|
433
|
+
* @property {string} [affiliate_id]
|
|
434
|
+
* @property {number} [seller_id]
|
|
435
|
+
* @property {string} [customer_mobile_number]
|
|
488
436
|
*/
|
|
489
437
|
/**
|
|
490
|
-
* @typedef
|
|
491
|
-
* @property {
|
|
438
|
+
* @typedef GetCustomerCreditBalanceRequest
|
|
439
|
+
* @property {GetCustomerCreditBalance} [data]
|
|
492
440
|
*/
|
|
493
441
|
/**
|
|
494
|
-
* @typedef
|
|
495
|
-
* @property {
|
|
442
|
+
* @typedef GetCustomerCreditBalanceResponseData
|
|
443
|
+
* @property {string} [customer_mobile_number]
|
|
444
|
+
* @property {number} [total_credited_balance]
|
|
496
445
|
*/
|
|
497
446
|
/**
|
|
498
|
-
* @typedef
|
|
499
|
-
* @property {string[]} [data]
|
|
500
|
-
* @property {string[]} [error]
|
|
447
|
+
* @typedef GetCustomerCreditBalanceResponse
|
|
501
448
|
* @property {boolean} [success]
|
|
449
|
+
* @property {GetCustomerCreditBalanceResponseData} [data]
|
|
502
450
|
*/
|
|
503
451
|
/**
|
|
504
|
-
* @typedef
|
|
505
|
-
* @property {
|
|
506
|
-
*/
|
|
507
|
-
/**
|
|
508
|
-
* @typedef InvoiceTypeRequest
|
|
509
|
-
* @property {InvoiceTypePayloadData} [data]
|
|
510
|
-
*/
|
|
511
|
-
/**
|
|
512
|
-
* @typedef InvoiceTypeResponse
|
|
513
|
-
* @property {InvoiceTypeResponseItems[]} [invoice_type_list]
|
|
514
|
-
* @property {InvoiceTypeResponseItems[]} [payment_status_list]
|
|
515
|
-
* @property {boolean} [success]
|
|
452
|
+
* @typedef GetCnConfigRequest
|
|
453
|
+
* @property {DeleteConfig} [data]
|
|
516
454
|
*/
|
|
517
455
|
/**
|
|
518
|
-
* @typedef
|
|
519
|
-
* @property {string} [
|
|
520
|
-
* @property {string} [
|
|
456
|
+
* @typedef GetCnConfigResponseMeta
|
|
457
|
+
* @property {string} [reason]
|
|
458
|
+
* @property {string[]} [source_channel]
|
|
521
459
|
*/
|
|
522
460
|
/**
|
|
523
|
-
* @typedef
|
|
461
|
+
* @typedef GetCnConfigResponseData
|
|
462
|
+
* @property {boolean} [is_cn_as_refund_method]
|
|
524
463
|
* @property {string} [affiliate_id]
|
|
464
|
+
* @property {GetCnConfigResponseMeta} [meta]
|
|
525
465
|
* @property {number} [seller_id]
|
|
526
|
-
* @property {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
* @
|
|
530
|
-
* @property {IsCnRefundMethodData} [data]
|
|
466
|
+
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
467
|
+
* @property {number} [validity]
|
|
468
|
+
* @property {string[]} [redemption_ordering_channel]
|
|
469
|
+
* @property {string} [currency_type]
|
|
531
470
|
*/
|
|
532
471
|
/**
|
|
533
|
-
* @typedef
|
|
534
|
-
* @property {IsCnRefundMethodResponseData} [data]
|
|
472
|
+
* @typedef GetCnConfigResponse
|
|
535
473
|
* @property {boolean} [success]
|
|
474
|
+
* @property {GetCnConfigResponseData} [data]
|
|
536
475
|
*/
|
|
537
476
|
/**
|
|
538
|
-
* @typedef
|
|
539
|
-
* @property {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
* @
|
|
543
|
-
* @property {
|
|
477
|
+
* @typedef CnGenerateReportFilters
|
|
478
|
+
* @property {string[]} [staff_id]
|
|
479
|
+
* @property {string[]} [channel_of_issuance]
|
|
480
|
+
* @property {string[]} [utilisation]
|
|
481
|
+
* @property {string[]} [ordering_channel]
|
|
482
|
+
* @property {number[]} [store_id]
|
|
483
|
+
* @property {string[]} [types_of_transaction]
|
|
544
484
|
*/
|
|
545
485
|
/**
|
|
546
|
-
* @typedef
|
|
547
|
-
* @property {
|
|
486
|
+
* @typedef CnGenerateReport
|
|
487
|
+
* @property {number} [page]
|
|
488
|
+
* @property {string} [end_date]
|
|
489
|
+
* @property {number} [pagesize]
|
|
490
|
+
* @property {CnGenerateReportFilters} [filters]
|
|
491
|
+
* @property {string} [affiliate_id]
|
|
492
|
+
* @property {GenerateReportFilters} [meta]
|
|
493
|
+
* @property {string} [search]
|
|
494
|
+
* @property {string} [report_id]
|
|
495
|
+
* @property {string} [search_type]
|
|
496
|
+
* @property {string} [start_date]
|
|
548
497
|
*/
|
|
549
498
|
/**
|
|
550
|
-
* @typedef
|
|
551
|
-
* @property {
|
|
552
|
-
* @property {boolean} [is_creditline_opted]
|
|
499
|
+
* @typedef GenerateReportCustomerCnRequest
|
|
500
|
+
* @property {CnGenerateReport} [data]
|
|
553
501
|
*/
|
|
554
502
|
/**
|
|
555
|
-
* @typedef
|
|
556
|
-
* @property {
|
|
557
|
-
* @property {
|
|
558
|
-
* @property {
|
|
559
|
-
* @property {
|
|
560
|
-
* @property {string} [
|
|
561
|
-
* @property {
|
|
562
|
-
* @property {string}
|
|
503
|
+
* @typedef CnGenerateReportItems
|
|
504
|
+
* @property {string} [expiry_date]
|
|
505
|
+
* @property {string} [status]
|
|
506
|
+
* @property {number} [total_amount]
|
|
507
|
+
* @property {string} [order_id]
|
|
508
|
+
* @property {string} [date_issued]
|
|
509
|
+
* @property {string} [shipment_id]
|
|
510
|
+
* @property {string} [invoice_number]
|
|
511
|
+
* @property {string} [credit_note_number]
|
|
563
512
|
*/
|
|
564
513
|
/**
|
|
565
|
-
* @typedef
|
|
566
|
-
* @property {
|
|
567
|
-
* @property {
|
|
568
|
-
* @property {
|
|
514
|
+
* @typedef GenerateReportCustomerCnResponseData
|
|
515
|
+
* @property {CnGenerateReportItems[]} [items]
|
|
516
|
+
* @property {Object} [row_header_display_order]
|
|
517
|
+
* @property {string} [end_date]
|
|
518
|
+
* @property {Page} [page]
|
|
519
|
+
* @property {string[]} [headers]
|
|
520
|
+
* @property {string[]} [primary_headers]
|
|
521
|
+
* @property {string[]} [allowed_filters]
|
|
522
|
+
* @property {string} [start_date]
|
|
523
|
+
* @property {number} [item_count]
|
|
569
524
|
*/
|
|
570
525
|
/**
|
|
571
|
-
* @typedef
|
|
572
|
-
* @property {
|
|
573
|
-
* @property {string} [value]
|
|
526
|
+
* @typedef GenerateReportCustomerCnResponse
|
|
527
|
+
* @property {GenerateReportCustomerCnResponseData} [data]
|
|
574
528
|
*/
|
|
575
529
|
/**
|
|
576
|
-
* @typedef
|
|
577
|
-
* @property {
|
|
578
|
-
* @property {string} [
|
|
579
|
-
* @property {string} [
|
|
580
|
-
* @property {
|
|
581
|
-
* @property {string} [
|
|
582
|
-
* @property {string} [
|
|
583
|
-
* @property {string} [
|
|
584
|
-
* @property {
|
|
585
|
-
* @property {string} [total_amount]
|
|
586
|
-
* @property {string} [transaction_type]
|
|
530
|
+
* @typedef CnDownloadReport
|
|
531
|
+
* @property {number} [page]
|
|
532
|
+
* @property {string} [start_date]
|
|
533
|
+
* @property {string} [end_date]
|
|
534
|
+
* @property {string} [affiliate_id]
|
|
535
|
+
* @property {string} [search]
|
|
536
|
+
* @property {string[]} [status]
|
|
537
|
+
* @property {string} [search_type]
|
|
538
|
+
* @property {number} [pagesize]
|
|
587
539
|
*/
|
|
588
540
|
/**
|
|
589
|
-
* @typedef
|
|
590
|
-
* @property {
|
|
541
|
+
* @typedef DownloadReportCustomerCnRequest
|
|
542
|
+
* @property {CnDownloadReport} [data]
|
|
591
543
|
*/
|
|
592
544
|
/**
|
|
593
|
-
* @typedef
|
|
594
|
-
* @property {
|
|
595
|
-
* @property {string} [
|
|
545
|
+
* @typedef DownloadReportResponseData
|
|
546
|
+
* @property {string} [report_config_id]
|
|
547
|
+
* @property {string} [full_name]
|
|
548
|
+
* @property {string} [requested_by]
|
|
549
|
+
* @property {string} [start_date]
|
|
550
|
+
* @property {string} [end_date]
|
|
551
|
+
* @property {Object} [request_dict]
|
|
552
|
+
* @property {string} [download_link]
|
|
553
|
+
* @property {string} [created_at]
|
|
596
554
|
* @property {Object} [meta]
|
|
597
|
-
* @property {string} [
|
|
598
|
-
* @property {string} [
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* @typedef ReasonItem
|
|
555
|
+
* @property {string} [msg]
|
|
556
|
+
* @property {string} [report_name]
|
|
557
|
+
* @property {string} [status]
|
|
602
558
|
* @property {string} [display_name]
|
|
603
|
-
* @property {
|
|
604
|
-
* @property {string} [name]
|
|
559
|
+
* @property {Object} [filters]
|
|
605
560
|
*/
|
|
606
561
|
/**
|
|
607
|
-
* @typedef
|
|
608
|
-
* @property {
|
|
609
|
-
* @property {string} [created_at]
|
|
610
|
-
* @property {string} [invoice_number]
|
|
611
|
-
* @property {string} [order_id]
|
|
612
|
-
* @property {string} [ordering_channel]
|
|
613
|
-
* @property {string} [shipment_id]
|
|
614
|
-
* @property {string} [staff_id]
|
|
615
|
-
* @property {string} [store_id]
|
|
562
|
+
* @typedef DownloadReportCustomerCnResponse
|
|
563
|
+
* @property {DownloadReportResponseData[]} [data]
|
|
616
564
|
*/
|
|
617
565
|
/**
|
|
618
|
-
* @typedef
|
|
619
|
-
* @property {string
|
|
620
|
-
* @property {
|
|
621
|
-
* @property {
|
|
622
|
-
* @property {string} [
|
|
623
|
-
* @property {string} [id]
|
|
624
|
-
* @property {string} [name]
|
|
625
|
-
* @property {string} [report_type]
|
|
566
|
+
* @typedef GetReportingFilters
|
|
567
|
+
* @property {string} [text]
|
|
568
|
+
* @property {string} [type]
|
|
569
|
+
* @property {Object[]} [options]
|
|
570
|
+
* @property {string} [value]
|
|
626
571
|
*/
|
|
627
572
|
/**
|
|
628
|
-
* @typedef
|
|
629
|
-
* @property {
|
|
573
|
+
* @typedef GetReportingNestedFilters
|
|
574
|
+
* @property {string} [text]
|
|
575
|
+
* @property {Object[]} [options]
|
|
576
|
+
* @property {boolean} [required]
|
|
577
|
+
* @property {string} [placeholder_text]
|
|
578
|
+
* @property {string} [type]
|
|
579
|
+
* @property {string} [value]
|
|
630
580
|
*/
|
|
631
581
|
/**
|
|
632
|
-
* @typedef
|
|
633
|
-
* @property {
|
|
634
|
-
* @property {
|
|
635
|
-
* @property {
|
|
636
|
-
* @property {string} [unlock_reason]
|
|
637
|
-
*/
|
|
638
|
-
/**
|
|
639
|
-
* @typedef UnlockCreditNoteResponse
|
|
640
|
-
* @property {UnlockCreditNoteResponseData} [data]
|
|
641
|
-
* @property {boolean} [success]
|
|
642
|
-
*/
|
|
643
|
-
/**
|
|
644
|
-
* @typedef UnlockCreditNoteResponseData
|
|
645
|
-
* @property {boolean} [is_cn_unlocked]
|
|
646
|
-
* @property {string} [status]
|
|
647
|
-
*/
|
|
648
|
-
/**
|
|
649
|
-
* @typedef UnpaidInvoiceDataItems
|
|
650
|
-
* @property {string} [currency]
|
|
651
|
-
* @property {number} [total_unpaid_amount]
|
|
652
|
-
* @property {number} [total_unpaid_invoice_count]
|
|
582
|
+
* @typedef GetReportingFiltersResponse
|
|
583
|
+
* @property {GetReportingFilters} [search]
|
|
584
|
+
* @property {GetReportingNestedFilters[]} [filters]
|
|
585
|
+
* @property {GetReportingFilters} [status]
|
|
653
586
|
*/
|
|
654
587
|
declare class FinancePlatformModel {
|
|
655
588
|
}
|
|
656
589
|
declare namespace FinancePlatformModel {
|
|
657
|
-
export {
|
|
590
|
+
export { GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportRequest, Page, GenerateReportJson, Error, DownloadReport, DownloadReportItems, DownloadReportList, GetEngineData, GetEngineRequest, GetEngineResponse, GetReason, GetReasonRequest, ReasonItem, GetReasonResponse, GetReportListData, GetReportListRequest, GetAffiliate, GetReportListResponse, ReportItem, GetAffiliateResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponseData, DownloadCreditDebitNoteResponse, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponseItems, InvoiceTypeResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, UnpaidInvoiceDataItems, InvoiceListingResponseItems, InvoiceListingResponse, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponseData, IsCnRefundMethodResponse, CreditNoteConfigNotificationEvents, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, DeleteConfig, DeleteConfigRequest, DeleteConfigResponse, ChannelDisplayName, ChannelDisplayNameResponse, CnReferenceNumber, GetPdfUrlViewRequest, GetPdfUrlViewResponseData, GetPdfUrlViewResponse, CreditNoteDetailsRequest, CnDetails, RedemptionDetails, CreditNoteDetails, CreditNoteDetailsResponse, GetCustomerCreditBalance, GetCustomerCreditBalanceRequest, GetCustomerCreditBalanceResponseData, GetCustomerCreditBalanceResponse, GetCnConfigRequest, GetCnConfigResponseMeta, GetCnConfigResponseData, GetCnConfigResponse, CnGenerateReportFilters, CnGenerateReport, GenerateReportCustomerCnRequest, CnGenerateReportItems, GenerateReportCustomerCnResponseData, GenerateReportCustomerCnResponse, CnDownloadReport, DownloadReportCustomerCnRequest, DownloadReportResponseData, DownloadReportCustomerCnResponse, GetReportingFilters, GetReportingNestedFilters, GetReportingFiltersResponse };
|
|
658
591
|
}
|
|
659
|
-
/** @returns {
|
|
660
|
-
declare function
|
|
661
|
-
type
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
|
|
666
|
-
type ChannelDisplayNameResponse = {
|
|
667
|
-
data?: ChannelDisplayName;
|
|
668
|
-
success?: boolean;
|
|
592
|
+
/** @returns {GenerateReportMeta} */
|
|
593
|
+
declare function GenerateReportMeta(): GenerateReportMeta;
|
|
594
|
+
type GenerateReportMeta = {
|
|
595
|
+
brand?: string;
|
|
596
|
+
company?: string;
|
|
597
|
+
channel?: string;
|
|
669
598
|
};
|
|
670
|
-
/** @returns {
|
|
671
|
-
declare function
|
|
672
|
-
type
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
invoice_number?: string;
|
|
677
|
-
order_id?: string;
|
|
678
|
-
ordering_channel?: string;
|
|
679
|
-
shipment_id?: string;
|
|
680
|
-
staff_id?: string;
|
|
681
|
-
store_id?: string;
|
|
599
|
+
/** @returns {GenerateReportFilters} */
|
|
600
|
+
declare function GenerateReportFilters(): GenerateReportFilters;
|
|
601
|
+
type GenerateReportFilters = {
|
|
602
|
+
brand?: string[];
|
|
603
|
+
company?: string[];
|
|
604
|
+
channel?: string[];
|
|
682
605
|
};
|
|
683
|
-
/** @returns {
|
|
684
|
-
declare function
|
|
685
|
-
type
|
|
686
|
-
affiliate_id?: string;
|
|
687
|
-
end_date?: string;
|
|
688
|
-
page?: number;
|
|
689
|
-
pagesize?: number;
|
|
690
|
-
search?: string;
|
|
691
|
-
search_type?: string;
|
|
606
|
+
/** @returns {GenerateReportPlatform} */
|
|
607
|
+
declare function GenerateReportPlatform(): GenerateReportPlatform;
|
|
608
|
+
type GenerateReportPlatform = {
|
|
692
609
|
start_date?: string;
|
|
693
|
-
status?: string[];
|
|
694
|
-
};
|
|
695
|
-
/** @returns {CnGenerateReport} */
|
|
696
|
-
declare function CnGenerateReport(): CnGenerateReport;
|
|
697
|
-
type CnGenerateReport = {
|
|
698
|
-
affiliate_id?: string;
|
|
699
610
|
end_date?: string;
|
|
700
|
-
|
|
701
|
-
meta?: GenerateReportFilters;
|
|
702
|
-
page?: number;
|
|
703
|
-
pagesize?: number;
|
|
611
|
+
meta?: GenerateReportMeta;
|
|
704
612
|
report_id?: string;
|
|
705
|
-
|
|
706
|
-
search_type?: string;
|
|
707
|
-
start_date?: string;
|
|
708
|
-
};
|
|
709
|
-
/** @returns {CnGenerateReportFilters} */
|
|
710
|
-
declare function CnGenerateReportFilters(): CnGenerateReportFilters;
|
|
711
|
-
type CnGenerateReportFilters = {
|
|
712
|
-
channel_of_issuance?: string[];
|
|
713
|
-
ordering_channel?: string[];
|
|
714
|
-
staff_id?: string[];
|
|
715
|
-
store_id?: number[];
|
|
716
|
-
types_of_transaction?: string[];
|
|
717
|
-
utilisation?: string[];
|
|
718
|
-
};
|
|
719
|
-
/** @returns {CnGenerateReportItems} */
|
|
720
|
-
declare function CnGenerateReportItems(): CnGenerateReportItems;
|
|
721
|
-
type CnGenerateReportItems = {
|
|
722
|
-
credit_note_number?: string;
|
|
723
|
-
date_issued?: string;
|
|
724
|
-
expiry_date?: string;
|
|
725
|
-
invoice_number?: string;
|
|
726
|
-
order_id?: string;
|
|
727
|
-
shipment_id?: string;
|
|
728
|
-
status?: string;
|
|
729
|
-
total_amount?: number;
|
|
613
|
+
filters?: GenerateReportFilters;
|
|
730
614
|
};
|
|
731
|
-
/** @returns {
|
|
732
|
-
declare function
|
|
733
|
-
type
|
|
734
|
-
|
|
615
|
+
/** @returns {GenerateReportRequest} */
|
|
616
|
+
declare function GenerateReportRequest(): GenerateReportRequest;
|
|
617
|
+
type GenerateReportRequest = {
|
|
618
|
+
data?: GenerateReportPlatform;
|
|
735
619
|
};
|
|
736
|
-
/** @returns {
|
|
737
|
-
declare function
|
|
738
|
-
type
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
slug_values?: string[];
|
|
747
|
-
source_channel?: string[];
|
|
748
|
-
validity?: number;
|
|
620
|
+
/** @returns {Page} */
|
|
621
|
+
declare function Page(): Page;
|
|
622
|
+
type Page = {
|
|
623
|
+
item_total?: number;
|
|
624
|
+
next_id?: string;
|
|
625
|
+
has_previous?: boolean;
|
|
626
|
+
has_next?: boolean;
|
|
627
|
+
current?: number;
|
|
628
|
+
type: string;
|
|
629
|
+
size?: number;
|
|
749
630
|
};
|
|
750
|
-
/** @returns {
|
|
751
|
-
declare function
|
|
752
|
-
type
|
|
753
|
-
|
|
631
|
+
/** @returns {GenerateReportJson} */
|
|
632
|
+
declare function GenerateReportJson(): GenerateReportJson;
|
|
633
|
+
type GenerateReportJson = {
|
|
634
|
+
items?: string[][];
|
|
635
|
+
page?: Page;
|
|
636
|
+
end_date?: string;
|
|
637
|
+
headers?: string[];
|
|
638
|
+
start_date?: string;
|
|
639
|
+
item_count?: number;
|
|
754
640
|
};
|
|
755
|
-
/** @returns {
|
|
756
|
-
declare function
|
|
757
|
-
type
|
|
758
|
-
|
|
641
|
+
/** @returns {Error} */
|
|
642
|
+
declare function Error(): Error;
|
|
643
|
+
type Error = {
|
|
644
|
+
reason?: string;
|
|
759
645
|
success?: boolean;
|
|
760
646
|
};
|
|
761
|
-
/** @returns {
|
|
762
|
-
declare function
|
|
763
|
-
type
|
|
764
|
-
end_end?: string;
|
|
647
|
+
/** @returns {DownloadReport} */
|
|
648
|
+
declare function DownloadReport(): DownloadReport;
|
|
649
|
+
type DownloadReport = {
|
|
765
650
|
page?: number;
|
|
766
651
|
pagesize?: number;
|
|
767
|
-
|
|
768
|
-
|
|
652
|
+
start_date?: string;
|
|
653
|
+
end_date?: string;
|
|
769
654
|
};
|
|
770
|
-
/** @returns {
|
|
771
|
-
declare function
|
|
772
|
-
type
|
|
773
|
-
|
|
655
|
+
/** @returns {DownloadReportItems} */
|
|
656
|
+
declare function DownloadReportItems(): DownloadReportItems;
|
|
657
|
+
type DownloadReportItems = {
|
|
658
|
+
start_date?: string;
|
|
659
|
+
end_date?: string;
|
|
660
|
+
meta?: GenerateReportMeta;
|
|
661
|
+
report_id?: string;
|
|
662
|
+
filters?: GenerateReportFilters;
|
|
663
|
+
type_of_request?: string;
|
|
774
664
|
};
|
|
775
|
-
/** @returns {
|
|
776
|
-
declare function
|
|
777
|
-
type
|
|
778
|
-
|
|
779
|
-
|
|
665
|
+
/** @returns {DownloadReportList} */
|
|
666
|
+
declare function DownloadReportList(): DownloadReportList;
|
|
667
|
+
type DownloadReportList = {
|
|
668
|
+
items?: DownloadReportItems[];
|
|
669
|
+
page?: Page;
|
|
780
670
|
item_count?: number;
|
|
671
|
+
};
|
|
672
|
+
/** @returns {GetEngineData} */
|
|
673
|
+
declare function GetEngineData(): GetEngineData;
|
|
674
|
+
type GetEngineData = {
|
|
675
|
+
table_name?: string;
|
|
676
|
+
project?: string[];
|
|
677
|
+
filters?: any;
|
|
678
|
+
};
|
|
679
|
+
/** @returns {GetEngineRequest} */
|
|
680
|
+
declare function GetEngineRequest(): GetEngineRequest;
|
|
681
|
+
type GetEngineRequest = {
|
|
682
|
+
data?: GetEngineData;
|
|
683
|
+
};
|
|
684
|
+
/** @returns {GetEngineResponse} */
|
|
685
|
+
declare function GetEngineResponse(): GetEngineResponse;
|
|
686
|
+
type GetEngineResponse = {
|
|
687
|
+
success?: boolean;
|
|
781
688
|
items?: any[];
|
|
782
|
-
message?: string;
|
|
783
689
|
page?: Page;
|
|
784
|
-
|
|
690
|
+
item_count?: number;
|
|
785
691
|
};
|
|
786
|
-
/** @returns {
|
|
787
|
-
declare function
|
|
788
|
-
type
|
|
789
|
-
|
|
692
|
+
/** @returns {GetReason} */
|
|
693
|
+
declare function GetReason(): GetReason;
|
|
694
|
+
type GetReason = {
|
|
695
|
+
reason_type?: string;
|
|
790
696
|
};
|
|
791
|
-
/** @returns {
|
|
792
|
-
declare function
|
|
793
|
-
type
|
|
794
|
-
|
|
795
|
-
cn_amount?: number;
|
|
796
|
-
cn_details?: CnDetails;
|
|
797
|
-
cn_reference_number?: string;
|
|
798
|
-
cn_status?: string;
|
|
799
|
-
customer_mobile_number?: string;
|
|
800
|
-
redemption_details?: RedemptionDetails[];
|
|
801
|
-
remaining_cn_amount?: number;
|
|
697
|
+
/** @returns {GetReasonRequest} */
|
|
698
|
+
declare function GetReasonRequest(): GetReasonRequest;
|
|
699
|
+
type GetReasonRequest = {
|
|
700
|
+
data?: GetReason;
|
|
802
701
|
};
|
|
803
|
-
/** @returns {
|
|
804
|
-
declare function
|
|
805
|
-
type
|
|
806
|
-
|
|
702
|
+
/** @returns {ReasonItem} */
|
|
703
|
+
declare function ReasonItem(): ReasonItem;
|
|
704
|
+
type ReasonItem = {
|
|
705
|
+
id?: string;
|
|
706
|
+
name?: string;
|
|
707
|
+
display_name?: string;
|
|
807
708
|
};
|
|
808
|
-
/** @returns {
|
|
809
|
-
declare function
|
|
810
|
-
type
|
|
811
|
-
data?: CreditNoteDetails;
|
|
709
|
+
/** @returns {GetReasonResponse} */
|
|
710
|
+
declare function GetReasonResponse(): GetReasonResponse;
|
|
711
|
+
type GetReasonResponse = {
|
|
812
712
|
success?: boolean;
|
|
713
|
+
item_list?: ReasonItem[];
|
|
714
|
+
item_count?: number;
|
|
715
|
+
page?: Page;
|
|
813
716
|
};
|
|
814
|
-
/** @returns {
|
|
815
|
-
declare function
|
|
816
|
-
type
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
symbol?: string;
|
|
717
|
+
/** @returns {GetReportListData} */
|
|
718
|
+
declare function GetReportListData(): GetReportListData;
|
|
719
|
+
type GetReportListData = {
|
|
720
|
+
role_name?: string;
|
|
721
|
+
listing_enabled?: boolean;
|
|
820
722
|
};
|
|
821
|
-
/** @returns {
|
|
822
|
-
declare function
|
|
823
|
-
type
|
|
824
|
-
|
|
825
|
-
seller_id?: number;
|
|
826
|
-
slug_values?: string[];
|
|
723
|
+
/** @returns {GetReportListRequest} */
|
|
724
|
+
declare function GetReportListRequest(): GetReportListRequest;
|
|
725
|
+
type GetReportListRequest = {
|
|
726
|
+
data?: GetReportListData;
|
|
827
727
|
};
|
|
828
|
-
/** @returns {
|
|
829
|
-
declare function
|
|
830
|
-
type
|
|
831
|
-
|
|
728
|
+
/** @returns {GetAffiliate} */
|
|
729
|
+
declare function GetAffiliate(): GetAffiliate;
|
|
730
|
+
type GetAffiliate = {
|
|
731
|
+
company_id?: number;
|
|
832
732
|
};
|
|
833
|
-
/** @returns {
|
|
834
|
-
declare function
|
|
835
|
-
type
|
|
836
|
-
|
|
733
|
+
/** @returns {GetReportListResponse} */
|
|
734
|
+
declare function GetReportListResponse(): GetReportListResponse;
|
|
735
|
+
type GetReportListResponse = {
|
|
736
|
+
success?: boolean;
|
|
737
|
+
items?: ReportItem[];
|
|
738
|
+
page?: Page;
|
|
739
|
+
total_count?: number;
|
|
740
|
+
};
|
|
741
|
+
/** @returns {ReportItem} */
|
|
742
|
+
declare function ReportItem(): ReportItem;
|
|
743
|
+
type ReportItem = {
|
|
744
|
+
id?: string;
|
|
745
|
+
name?: string;
|
|
746
|
+
description?: string;
|
|
747
|
+
allowed_filters?: string[];
|
|
748
|
+
config_meta?: any;
|
|
749
|
+
report_type?: string;
|
|
750
|
+
display_date?: string;
|
|
751
|
+
};
|
|
752
|
+
/** @returns {GetAffiliateResponse} */
|
|
753
|
+
declare function GetAffiliateResponse(): GetAffiliateResponse;
|
|
754
|
+
type GetAffiliateResponse = {
|
|
837
755
|
success?: boolean;
|
|
756
|
+
docs?: any[];
|
|
838
757
|
};
|
|
839
758
|
/** @returns {DownloadCreditDebitNote} */
|
|
840
759
|
declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
|
|
@@ -846,378 +765,160 @@ declare function DownloadCreditDebitNoteRequest(): DownloadCreditDebitNoteReques
|
|
|
846
765
|
type DownloadCreditDebitNoteRequest = {
|
|
847
766
|
data?: DownloadCreditDebitNote;
|
|
848
767
|
};
|
|
849
|
-
/** @returns {DownloadCreditDebitNoteResponse} */
|
|
850
|
-
declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
|
|
851
|
-
type DownloadCreditDebitNoteResponse = {
|
|
852
|
-
data?: DownloadCreditDebitNoteResponseData[];
|
|
853
|
-
success?: boolean;
|
|
854
|
-
};
|
|
855
768
|
/** @returns {DownloadCreditDebitNoteResponseData} */
|
|
856
769
|
declare function DownloadCreditDebitNoteResponseData(): DownloadCreditDebitNoteResponseData;
|
|
857
770
|
type DownloadCreditDebitNoteResponseData = {
|
|
858
771
|
id?: string;
|
|
859
772
|
pdf_s3_url?: string;
|
|
860
773
|
};
|
|
861
|
-
/** @returns {
|
|
862
|
-
declare function
|
|
863
|
-
type
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
pagesize?: number;
|
|
867
|
-
start_date?: string;
|
|
868
|
-
};
|
|
869
|
-
/** @returns {DownloadReportCustomerCnRequest} */
|
|
870
|
-
declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
|
|
871
|
-
type DownloadReportCustomerCnRequest = {
|
|
872
|
-
data?: CnDownloadReport;
|
|
873
|
-
};
|
|
874
|
-
/** @returns {DownloadReportCustomerCnResponse} */
|
|
875
|
-
declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
|
|
876
|
-
type DownloadReportCustomerCnResponse = {
|
|
877
|
-
data?: DownloadReportResponseData[];
|
|
774
|
+
/** @returns {DownloadCreditDebitNoteResponse} */
|
|
775
|
+
declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
|
|
776
|
+
type DownloadCreditDebitNoteResponse = {
|
|
777
|
+
success?: boolean;
|
|
778
|
+
data?: DownloadCreditDebitNoteResponseData[];
|
|
878
779
|
};
|
|
879
|
-
/** @returns {
|
|
880
|
-
declare function
|
|
881
|
-
type
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
780
|
+
/** @returns {PaymentProcessPayload} */
|
|
781
|
+
declare function PaymentProcessPayload(): PaymentProcessPayload;
|
|
782
|
+
type PaymentProcessPayload = {
|
|
783
|
+
platform?: string;
|
|
784
|
+
amount?: string;
|
|
785
|
+
transaction_type?: string;
|
|
786
|
+
source_reference?: string;
|
|
787
|
+
total_amount?: string;
|
|
788
|
+
meta?: any;
|
|
789
|
+
currency?: string;
|
|
790
|
+
seller_id?: string;
|
|
791
|
+
mode_of_payment?: string;
|
|
792
|
+
invoice_number?: string;
|
|
888
793
|
};
|
|
889
|
-
/** @returns {
|
|
890
|
-
declare function
|
|
891
|
-
type
|
|
892
|
-
|
|
893
|
-
items?: DownloadReportItems[];
|
|
894
|
-
page?: Page;
|
|
794
|
+
/** @returns {PaymentProcessRequest} */
|
|
795
|
+
declare function PaymentProcessRequest(): PaymentProcessRequest;
|
|
796
|
+
type PaymentProcessRequest = {
|
|
797
|
+
data?: PaymentProcessPayload;
|
|
895
798
|
};
|
|
896
|
-
/** @returns {
|
|
897
|
-
declare function
|
|
898
|
-
type
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
download_link?: string;
|
|
902
|
-
end_date?: string;
|
|
903
|
-
filters?: any;
|
|
904
|
-
full_name?: string;
|
|
799
|
+
/** @returns {PaymentProcessResponse} */
|
|
800
|
+
declare function PaymentProcessResponse(): PaymentProcessResponse;
|
|
801
|
+
type PaymentProcessResponse = {
|
|
802
|
+
code?: number;
|
|
803
|
+
message?: string;
|
|
905
804
|
meta?: any;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
report_name?: string;
|
|
909
|
-
request_dict?: any;
|
|
910
|
-
requested_by?: string;
|
|
911
|
-
start_date?: string;
|
|
912
|
-
status?: string;
|
|
913
|
-
};
|
|
914
|
-
/** @returns {Error} */
|
|
915
|
-
declare function Error(): Error;
|
|
916
|
-
type Error = {
|
|
917
|
-
reason?: string;
|
|
918
|
-
success?: boolean;
|
|
805
|
+
transaction_id?: string;
|
|
806
|
+
redirect_url?: string;
|
|
919
807
|
};
|
|
920
|
-
/** @returns {
|
|
921
|
-
declare function
|
|
922
|
-
type
|
|
923
|
-
|
|
808
|
+
/** @returns {CreditlineDataPlatformPayload} */
|
|
809
|
+
declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
|
|
810
|
+
type CreditlineDataPlatformPayload = {
|
|
811
|
+
page?: number;
|
|
812
|
+
seller_id?: string;
|
|
813
|
+
end_end?: string;
|
|
814
|
+
start_end?: string;
|
|
815
|
+
pagesize?: number;
|
|
924
816
|
};
|
|
925
|
-
/** @returns {
|
|
926
|
-
declare function
|
|
927
|
-
type
|
|
928
|
-
data?:
|
|
817
|
+
/** @returns {CreditlineDataPlatformRequest} */
|
|
818
|
+
declare function CreditlineDataPlatformRequest(): CreditlineDataPlatformRequest;
|
|
819
|
+
type CreditlineDataPlatformRequest = {
|
|
820
|
+
data?: CreditlineDataPlatformPayload;
|
|
929
821
|
};
|
|
930
|
-
/** @returns {
|
|
931
|
-
declare function
|
|
932
|
-
type
|
|
933
|
-
|
|
934
|
-
|
|
822
|
+
/** @returns {CreditlineDataPlatformResponse} */
|
|
823
|
+
declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
|
|
824
|
+
type CreditlineDataPlatformResponse = {
|
|
825
|
+
items?: any[];
|
|
826
|
+
code?: number;
|
|
827
|
+
show_mr?: boolean;
|
|
828
|
+
page?: any;
|
|
829
|
+
message?: string;
|
|
935
830
|
headers?: string[];
|
|
936
831
|
item_count?: number;
|
|
937
|
-
items?: CnGenerateReportItems[];
|
|
938
|
-
page?: Page;
|
|
939
|
-
primary_headers?: string[];
|
|
940
|
-
row_header_display_order?: any;
|
|
941
|
-
start_date?: string;
|
|
942
832
|
};
|
|
943
|
-
/** @returns {
|
|
944
|
-
declare function
|
|
945
|
-
type
|
|
946
|
-
|
|
947
|
-
channel?: string[];
|
|
948
|
-
company?: string[];
|
|
833
|
+
/** @returns {IsCreditlinePayload} */
|
|
834
|
+
declare function IsCreditlinePayload(): IsCreditlinePayload;
|
|
835
|
+
type IsCreditlinePayload = {
|
|
836
|
+
seller_id?: string;
|
|
949
837
|
};
|
|
950
|
-
/** @returns {
|
|
951
|
-
declare function
|
|
952
|
-
type
|
|
953
|
-
|
|
954
|
-
headers?: string[];
|
|
955
|
-
item_count?: number;
|
|
956
|
-
items?: string[][];
|
|
957
|
-
page?: Page;
|
|
958
|
-
start_date?: string;
|
|
838
|
+
/** @returns {IsCreditlinePlatformRequest} */
|
|
839
|
+
declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
|
|
840
|
+
type IsCreditlinePlatformRequest = {
|
|
841
|
+
data?: IsCreditlinePayload;
|
|
959
842
|
};
|
|
960
|
-
/** @returns {
|
|
961
|
-
declare function
|
|
962
|
-
type
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
company?: string;
|
|
843
|
+
/** @returns {IsCreditlinePlatformResponse} */
|
|
844
|
+
declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
|
|
845
|
+
type IsCreditlinePlatformResponse = {
|
|
846
|
+
is_creditline_opted?: boolean;
|
|
847
|
+
code?: number;
|
|
966
848
|
};
|
|
967
|
-
/** @returns {
|
|
968
|
-
declare function
|
|
969
|
-
type
|
|
970
|
-
|
|
971
|
-
filters?: GenerateReportFilters;
|
|
972
|
-
meta?: GenerateReportMeta;
|
|
973
|
-
report_id?: string;
|
|
974
|
-
start_date?: string;
|
|
849
|
+
/** @returns {InvoiceTypePayloadData} */
|
|
850
|
+
declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
|
|
851
|
+
type InvoiceTypePayloadData = {
|
|
852
|
+
is_active?: boolean;
|
|
975
853
|
};
|
|
976
|
-
/** @returns {
|
|
977
|
-
declare function
|
|
978
|
-
type
|
|
979
|
-
data?:
|
|
854
|
+
/** @returns {InvoiceTypeRequest} */
|
|
855
|
+
declare function InvoiceTypeRequest(): InvoiceTypeRequest;
|
|
856
|
+
type InvoiceTypeRequest = {
|
|
857
|
+
data?: InvoiceTypePayloadData;
|
|
980
858
|
};
|
|
981
|
-
/** @returns {
|
|
982
|
-
declare function
|
|
983
|
-
type
|
|
984
|
-
|
|
859
|
+
/** @returns {InvoiceTypeResponseItems} */
|
|
860
|
+
declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
|
|
861
|
+
type InvoiceTypeResponseItems = {
|
|
862
|
+
text?: string;
|
|
863
|
+
value?: string;
|
|
985
864
|
};
|
|
986
|
-
/** @returns {
|
|
987
|
-
declare function
|
|
988
|
-
type
|
|
989
|
-
docs?: any[];
|
|
865
|
+
/** @returns {InvoiceTypeResponse} */
|
|
866
|
+
declare function InvoiceTypeResponse(): InvoiceTypeResponse;
|
|
867
|
+
type InvoiceTypeResponse = {
|
|
990
868
|
success?: boolean;
|
|
869
|
+
invoice_type_list?: InvoiceTypeResponseItems[];
|
|
870
|
+
payment_status_list?: InvoiceTypeResponseItems[];
|
|
991
871
|
};
|
|
992
|
-
/** @returns {
|
|
993
|
-
declare function
|
|
994
|
-
type
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
declare function GetCnConfigResponse(): GetCnConfigResponse;
|
|
999
|
-
type GetCnConfigResponse = {
|
|
1000
|
-
data?: GetCnConfigResponseData;
|
|
1001
|
-
success?: boolean;
|
|
1002
|
-
};
|
|
1003
|
-
/** @returns {GetCnConfigResponseData} */
|
|
1004
|
-
declare function GetCnConfigResponseData(): GetCnConfigResponseData;
|
|
1005
|
-
type GetCnConfigResponseData = {
|
|
1006
|
-
affiliate_id?: string;
|
|
1007
|
-
currency_type?: string;
|
|
1008
|
-
is_cn_as_refund_method?: boolean;
|
|
1009
|
-
meta?: GetCnConfigResponseMeta;
|
|
1010
|
-
notification_events?: CreditNoteConfigNotificationEvents;
|
|
1011
|
-
redemption_ordering_channel?: string[];
|
|
1012
|
-
seller_id?: number;
|
|
1013
|
-
validity?: number;
|
|
1014
|
-
};
|
|
1015
|
-
/** @returns {GetCnConfigResponseMeta} */
|
|
1016
|
-
declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
|
|
1017
|
-
type GetCnConfigResponseMeta = {
|
|
1018
|
-
reason?: string;
|
|
1019
|
-
source_channel?: string[];
|
|
1020
|
-
};
|
|
1021
|
-
/** @returns {GetCustomerCreditBalance} */
|
|
1022
|
-
declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
|
|
1023
|
-
type GetCustomerCreditBalance = {
|
|
1024
|
-
affiliate_id?: string;
|
|
1025
|
-
customer_mobile_number?: string;
|
|
1026
|
-
seller_id?: number;
|
|
1027
|
-
};
|
|
1028
|
-
/** @returns {GetCustomerCreditBalanceRequest} */
|
|
1029
|
-
declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
|
|
1030
|
-
type GetCustomerCreditBalanceRequest = {
|
|
1031
|
-
data?: GetCustomerCreditBalance;
|
|
1032
|
-
};
|
|
1033
|
-
/** @returns {GetCustomerCreditBalanceResponse} */
|
|
1034
|
-
declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
|
|
1035
|
-
type GetCustomerCreditBalanceResponse = {
|
|
1036
|
-
data?: GetCustomerCreditBalanceResponseData;
|
|
1037
|
-
success?: boolean;
|
|
1038
|
-
};
|
|
1039
|
-
/** @returns {GetCustomerCreditBalanceResponseData} */
|
|
1040
|
-
declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
|
|
1041
|
-
type GetCustomerCreditBalanceResponseData = {
|
|
1042
|
-
customer_mobile_number?: string;
|
|
1043
|
-
total_credited_balance?: number;
|
|
1044
|
-
};
|
|
1045
|
-
/** @returns {GetEngineData} */
|
|
1046
|
-
declare function GetEngineData(): GetEngineData;
|
|
1047
|
-
type GetEngineData = {
|
|
1048
|
-
filters?: any;
|
|
1049
|
-
project?: string[];
|
|
1050
|
-
table_name?: string;
|
|
1051
|
-
};
|
|
1052
|
-
/** @returns {GetEngineRequest} */
|
|
1053
|
-
declare function GetEngineRequest(): GetEngineRequest;
|
|
1054
|
-
type GetEngineRequest = {
|
|
1055
|
-
data?: GetEngineData;
|
|
1056
|
-
};
|
|
1057
|
-
/** @returns {GetEngineResponse} */
|
|
1058
|
-
declare function GetEngineResponse(): GetEngineResponse;
|
|
1059
|
-
type GetEngineResponse = {
|
|
1060
|
-
item_count?: number;
|
|
1061
|
-
items?: any[];
|
|
1062
|
-
page?: Page;
|
|
1063
|
-
success?: boolean;
|
|
1064
|
-
};
|
|
1065
|
-
/** @returns {GetPdfUrlViewRequest} */
|
|
1066
|
-
declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
|
|
1067
|
-
type GetPdfUrlViewRequest = {
|
|
1068
|
-
data?: CnReferenceNumber;
|
|
1069
|
-
};
|
|
1070
|
-
/** @returns {GetPdfUrlViewResponse} */
|
|
1071
|
-
declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
|
|
1072
|
-
type GetPdfUrlViewResponse = {
|
|
1073
|
-
data?: GetPdfUrlViewResponseData;
|
|
1074
|
-
success?: boolean;
|
|
1075
|
-
};
|
|
1076
|
-
/** @returns {GetPdfUrlViewResponseData} */
|
|
1077
|
-
declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
|
|
1078
|
-
type GetPdfUrlViewResponseData = {
|
|
1079
|
-
cn_reference_number?: string;
|
|
1080
|
-
s3_pdf_link?: string;
|
|
1081
|
-
};
|
|
1082
|
-
/** @returns {GetReason} */
|
|
1083
|
-
declare function GetReason(): GetReason;
|
|
1084
|
-
type GetReason = {
|
|
1085
|
-
reason_type?: string;
|
|
1086
|
-
};
|
|
1087
|
-
/** @returns {GetReasonRequest} */
|
|
1088
|
-
declare function GetReasonRequest(): GetReasonRequest;
|
|
1089
|
-
type GetReasonRequest = {
|
|
1090
|
-
data?: GetReason;
|
|
1091
|
-
};
|
|
1092
|
-
/** @returns {GetReasonResponse} */
|
|
1093
|
-
declare function GetReasonResponse(): GetReasonResponse;
|
|
1094
|
-
type GetReasonResponse = {
|
|
1095
|
-
item_count?: number;
|
|
1096
|
-
item_list?: ReasonItem[];
|
|
1097
|
-
page?: Page;
|
|
1098
|
-
success?: boolean;
|
|
1099
|
-
};
|
|
1100
|
-
/** @returns {GetReportingFilters} */
|
|
1101
|
-
declare function GetReportingFilters(): GetReportingFilters;
|
|
1102
|
-
type GetReportingFilters = {
|
|
1103
|
-
options?: any[];
|
|
1104
|
-
text?: string;
|
|
1105
|
-
type?: string;
|
|
1106
|
-
value?: string;
|
|
1107
|
-
};
|
|
1108
|
-
/** @returns {GetReportingFiltersResponse} */
|
|
1109
|
-
declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
|
|
1110
|
-
type GetReportingFiltersResponse = {
|
|
1111
|
-
filters?: GetReportingNestedFilters[];
|
|
1112
|
-
search?: GetReportingFilters;
|
|
1113
|
-
status?: GetReportingFilters;
|
|
1114
|
-
};
|
|
1115
|
-
/** @returns {GetReportingNestedFilters} */
|
|
1116
|
-
declare function GetReportingNestedFilters(): GetReportingNestedFilters;
|
|
1117
|
-
type GetReportingNestedFilters = {
|
|
1118
|
-
options?: any[];
|
|
1119
|
-
placeholder_text?: string;
|
|
1120
|
-
required?: boolean;
|
|
1121
|
-
text?: string;
|
|
1122
|
-
type?: string;
|
|
1123
|
-
value?: string;
|
|
1124
|
-
};
|
|
1125
|
-
/** @returns {GetReportListData} */
|
|
1126
|
-
declare function GetReportListData(): GetReportListData;
|
|
1127
|
-
type GetReportListData = {
|
|
1128
|
-
listing_enabled?: boolean;
|
|
1129
|
-
role_name?: string;
|
|
1130
|
-
};
|
|
1131
|
-
/** @returns {GetReportListRequest} */
|
|
1132
|
-
declare function GetReportListRequest(): GetReportListRequest;
|
|
1133
|
-
type GetReportListRequest = {
|
|
1134
|
-
data?: GetReportListData;
|
|
1135
|
-
};
|
|
1136
|
-
/** @returns {GetReportListResponse} */
|
|
1137
|
-
declare function GetReportListResponse(): GetReportListResponse;
|
|
1138
|
-
type GetReportListResponse = {
|
|
1139
|
-
items?: ReportItem[];
|
|
1140
|
-
page?: Page;
|
|
1141
|
-
success?: boolean;
|
|
1142
|
-
total_count?: number;
|
|
1143
|
-
};
|
|
1144
|
-
/** @returns {InoviceListingPayloadDataFilters} */
|
|
1145
|
-
declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
|
|
1146
|
-
type InoviceListingPayloadDataFilters = {
|
|
1147
|
-
company_id?: string[];
|
|
1148
|
-
invoice_type?: string[];
|
|
1149
|
-
payment_status?: string[];
|
|
1150
|
-
};
|
|
1151
|
-
/** @returns {InvoiceActivityLogError} */
|
|
1152
|
-
declare function InvoiceActivityLogError(): InvoiceActivityLogError;
|
|
1153
|
-
type InvoiceActivityLogError = {
|
|
1154
|
-
reason?: string;
|
|
1155
|
-
};
|
|
1156
|
-
/** @returns {InvoiceActivityLogsResponse} */
|
|
1157
|
-
declare function InvoiceActivityLogsResponse(): InvoiceActivityLogsResponse;
|
|
1158
|
-
type InvoiceActivityLogsResponse = {
|
|
1159
|
-
data?: InvoiceActivityLogsResponseData[];
|
|
1160
|
-
};
|
|
1161
|
-
/** @returns {InvoiceActivityLogsResponseData} */
|
|
1162
|
-
declare function InvoiceActivityLogsResponseData(): InvoiceActivityLogsResponseData;
|
|
1163
|
-
type InvoiceActivityLogsResponseData = {
|
|
1164
|
-
is_resolved?: boolean;
|
|
1165
|
-
max_retry_attempts?: number;
|
|
1166
|
-
performed_by?: string;
|
|
1167
|
-
reason?: string;
|
|
1168
|
-
retry_attempts?: number;
|
|
1169
|
-
status?: string;
|
|
872
|
+
/** @returns {InoviceListingPayloadDataFilters} */
|
|
873
|
+
declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
|
|
874
|
+
type InoviceListingPayloadDataFilters = {
|
|
875
|
+
payment_status?: string[];
|
|
876
|
+
invoice_type?: string[];
|
|
877
|
+
company_id?: string[];
|
|
1170
878
|
};
|
|
1171
879
|
/** @returns {InvoiceListingPayloadData} */
|
|
1172
880
|
declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
|
|
1173
881
|
type InvoiceListingPayloadData = {
|
|
1174
|
-
end_date?: string;
|
|
1175
|
-
filters?: InoviceListingPayloadDataFilters;
|
|
1176
|
-
page?: number;
|
|
1177
882
|
page_size?: number;
|
|
1178
|
-
|
|
883
|
+
page?: number;
|
|
1179
884
|
start_date?: string;
|
|
885
|
+
end_date?: string;
|
|
886
|
+
search?: string;
|
|
887
|
+
filters?: InoviceListingPayloadDataFilters;
|
|
1180
888
|
};
|
|
1181
889
|
/** @returns {InvoiceListingRequest} */
|
|
1182
890
|
declare function InvoiceListingRequest(): InvoiceListingRequest;
|
|
1183
891
|
type InvoiceListingRequest = {
|
|
1184
892
|
data?: InvoiceListingPayloadData;
|
|
1185
893
|
};
|
|
1186
|
-
/** @returns {
|
|
1187
|
-
declare function
|
|
1188
|
-
type
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
unpaid_invoice_data?: UnpaidInvoiceDataItems;
|
|
894
|
+
/** @returns {UnpaidInvoiceDataItems} */
|
|
895
|
+
declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
|
|
896
|
+
type UnpaidInvoiceDataItems = {
|
|
897
|
+
total_unpaid_invoice_count?: number;
|
|
898
|
+
currency?: string;
|
|
899
|
+
total_unpaid_amount?: number;
|
|
1193
900
|
};
|
|
1194
901
|
/** @returns {InvoiceListingResponseItems} */
|
|
1195
902
|
declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
|
|
1196
903
|
type InvoiceListingResponseItems = {
|
|
1197
904
|
amount?: string;
|
|
1198
905
|
company?: string;
|
|
1199
|
-
|
|
906
|
+
status?: string;
|
|
1200
907
|
due_date?: string;
|
|
1201
908
|
invoice_date?: string;
|
|
1202
|
-
invoice_id?: string;
|
|
1203
|
-
invoice_number?: string;
|
|
1204
909
|
invoice_type?: string;
|
|
1205
|
-
is_downloadable?: boolean;
|
|
1206
910
|
period?: string;
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
declare function InvoicePaymentDetailsResponse(): InvoicePaymentDetailsResponse;
|
|
1211
|
-
type InvoicePaymentDetailsResponse = {
|
|
1212
|
-
data?: InvoicePaymentDetailsResponseData;
|
|
1213
|
-
payment_details_visible?: boolean;
|
|
1214
|
-
success?: boolean;
|
|
911
|
+
invoice_number?: string;
|
|
912
|
+
is_downloadable?: boolean;
|
|
913
|
+
invoice_id?: string;
|
|
1215
914
|
};
|
|
1216
|
-
/** @returns {
|
|
1217
|
-
declare function
|
|
1218
|
-
type
|
|
1219
|
-
|
|
1220
|
-
|
|
915
|
+
/** @returns {InvoiceListingResponse} */
|
|
916
|
+
declare function InvoiceListingResponse(): InvoiceListingResponse;
|
|
917
|
+
type InvoiceListingResponse = {
|
|
918
|
+
unpaid_invoice_data?: UnpaidInvoiceDataItems;
|
|
919
|
+
items?: InvoiceListingResponseItems[];
|
|
920
|
+
page?: Page;
|
|
921
|
+
item_count?: number;
|
|
1221
922
|
};
|
|
1222
923
|
/** @returns {InvoicePdfPayloadData} */
|
|
1223
924
|
declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
|
|
@@ -1232,183 +933,336 @@ type InvoicePdfRequest = {
|
|
|
1232
933
|
/** @returns {InvoicePdfResponse} */
|
|
1233
934
|
declare function InvoicePdfResponse(): InvoicePdfResponse;
|
|
1234
935
|
type InvoicePdfResponse = {
|
|
936
|
+
success?: boolean;
|
|
1235
937
|
data?: string[];
|
|
1236
938
|
error?: string[];
|
|
1237
|
-
success?: boolean;
|
|
1238
|
-
};
|
|
1239
|
-
/** @returns {InvoiceTypePayloadData} */
|
|
1240
|
-
declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
|
|
1241
|
-
type InvoiceTypePayloadData = {
|
|
1242
|
-
is_active?: boolean;
|
|
1243
|
-
};
|
|
1244
|
-
/** @returns {InvoiceTypeRequest} */
|
|
1245
|
-
declare function InvoiceTypeRequest(): InvoiceTypeRequest;
|
|
1246
|
-
type InvoiceTypeRequest = {
|
|
1247
|
-
data?: InvoiceTypePayloadData;
|
|
1248
|
-
};
|
|
1249
|
-
/** @returns {InvoiceTypeResponse} */
|
|
1250
|
-
declare function InvoiceTypeResponse(): InvoiceTypeResponse;
|
|
1251
|
-
type InvoiceTypeResponse = {
|
|
1252
|
-
invoice_type_list?: InvoiceTypeResponseItems[];
|
|
1253
|
-
payment_status_list?: InvoiceTypeResponseItems[];
|
|
1254
|
-
success?: boolean;
|
|
1255
|
-
};
|
|
1256
|
-
/** @returns {InvoiceTypeResponseItems} */
|
|
1257
|
-
declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
|
|
1258
|
-
type InvoiceTypeResponseItems = {
|
|
1259
|
-
text?: string;
|
|
1260
|
-
value?: string;
|
|
1261
939
|
};
|
|
1262
940
|
/** @returns {IsCnRefundMethodData} */
|
|
1263
941
|
declare function IsCnRefundMethodData(): IsCnRefundMethodData;
|
|
1264
942
|
type IsCnRefundMethodData = {
|
|
1265
943
|
affiliate_id?: string;
|
|
1266
|
-
seller_id?: number;
|
|
1267
944
|
toggle_edit_required?: boolean;
|
|
945
|
+
seller_id?: number;
|
|
1268
946
|
};
|
|
1269
947
|
/** @returns {IsCnRefundMethodRequest} */
|
|
1270
948
|
declare function IsCnRefundMethodRequest(): IsCnRefundMethodRequest;
|
|
1271
949
|
type IsCnRefundMethodRequest = {
|
|
1272
950
|
data?: IsCnRefundMethodData;
|
|
1273
951
|
};
|
|
1274
|
-
/** @returns {IsCnRefundMethodResponse} */
|
|
1275
|
-
declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
|
|
1276
|
-
type IsCnRefundMethodResponse = {
|
|
1277
|
-
data?: IsCnRefundMethodResponseData;
|
|
1278
|
-
success?: boolean;
|
|
1279
|
-
};
|
|
1280
952
|
/** @returns {IsCnRefundMethodResponseData} */
|
|
1281
953
|
declare function IsCnRefundMethodResponseData(): IsCnRefundMethodResponseData;
|
|
1282
954
|
type IsCnRefundMethodResponseData = {
|
|
1283
955
|
is_first_time_user?: boolean;
|
|
1284
956
|
};
|
|
1285
|
-
/** @returns {
|
|
1286
|
-
declare function
|
|
1287
|
-
type
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
/** @returns {IsCreditlinePlatformRequest} */
|
|
1291
|
-
declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
|
|
1292
|
-
type IsCreditlinePlatformRequest = {
|
|
1293
|
-
data?: IsCreditlinePayload;
|
|
957
|
+
/** @returns {IsCnRefundMethodResponse} */
|
|
958
|
+
declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
|
|
959
|
+
type IsCnRefundMethodResponse = {
|
|
960
|
+
success?: boolean;
|
|
961
|
+
data?: IsCnRefundMethodResponseData;
|
|
1294
962
|
};
|
|
1295
|
-
/** @returns {
|
|
1296
|
-
declare function
|
|
1297
|
-
type
|
|
1298
|
-
|
|
1299
|
-
is_creditline_opted?: boolean;
|
|
963
|
+
/** @returns {CreditNoteConfigNotificationEvents} */
|
|
964
|
+
declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
|
|
965
|
+
type CreditNoteConfigNotificationEvents = {
|
|
966
|
+
expiration_reminder_to_customer?: number;
|
|
1300
967
|
};
|
|
1301
|
-
/** @returns {
|
|
1302
|
-
declare function
|
|
1303
|
-
type
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
968
|
+
/** @returns {CreateSellerCreditNoteConfig} */
|
|
969
|
+
declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
|
|
970
|
+
type CreateSellerCreditNoteConfig = {
|
|
971
|
+
is_cn_as_refund_method?: boolean;
|
|
972
|
+
affiliate_id?: string;
|
|
973
|
+
source_channel?: string[];
|
|
974
|
+
seller_id?: number;
|
|
975
|
+
notification_events?: CreditNoteConfigNotificationEvents;
|
|
976
|
+
sales_channel_name?: string;
|
|
977
|
+
ordering_channel?: string[];
|
|
978
|
+
validity?: number;
|
|
979
|
+
currency_type?: string;
|
|
980
|
+
slug_values?: string[];
|
|
1311
981
|
};
|
|
1312
|
-
/** @returns {
|
|
1313
|
-
declare function
|
|
1314
|
-
type
|
|
1315
|
-
|
|
1316
|
-
date_of_payment?: string;
|
|
1317
|
-
payment_details?: PaymentDetail[];
|
|
982
|
+
/** @returns {CreateSellerCreditNoteConfigRequest} */
|
|
983
|
+
declare function CreateSellerCreditNoteConfigRequest(): CreateSellerCreditNoteConfigRequest;
|
|
984
|
+
type CreateSellerCreditNoteConfigRequest = {
|
|
985
|
+
data?: CreateSellerCreditNoteConfig;
|
|
1318
986
|
};
|
|
1319
|
-
/** @returns {
|
|
1320
|
-
declare function
|
|
1321
|
-
type
|
|
1322
|
-
|
|
1323
|
-
|
|
987
|
+
/** @returns {CreateSellerCreditNoteConfigResponse} */
|
|
988
|
+
declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
|
|
989
|
+
type CreateSellerCreditNoteConfigResponse = {
|
|
990
|
+
success?: boolean;
|
|
991
|
+
message?: string;
|
|
1324
992
|
};
|
|
1325
|
-
/** @returns {
|
|
1326
|
-
declare function
|
|
1327
|
-
type
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
meta?: any;
|
|
1332
|
-
mode_of_payment?: string;
|
|
1333
|
-
platform?: string;
|
|
1334
|
-
seller_id?: string;
|
|
1335
|
-
source_reference?: string;
|
|
1336
|
-
total_amount?: string;
|
|
1337
|
-
transaction_type?: string;
|
|
993
|
+
/** @returns {DeleteConfig} */
|
|
994
|
+
declare function DeleteConfig(): DeleteConfig;
|
|
995
|
+
type DeleteConfig = {
|
|
996
|
+
affiliate_id?: string;
|
|
997
|
+
slug_values?: string[];
|
|
998
|
+
seller_id?: number;
|
|
1338
999
|
};
|
|
1339
|
-
/** @returns {
|
|
1340
|
-
declare function
|
|
1341
|
-
type
|
|
1342
|
-
data?:
|
|
1000
|
+
/** @returns {DeleteConfigRequest} */
|
|
1001
|
+
declare function DeleteConfigRequest(): DeleteConfigRequest;
|
|
1002
|
+
type DeleteConfigRequest = {
|
|
1003
|
+
data?: DeleteConfig;
|
|
1343
1004
|
};
|
|
1344
|
-
/** @returns {
|
|
1345
|
-
declare function
|
|
1346
|
-
type
|
|
1347
|
-
|
|
1005
|
+
/** @returns {DeleteConfigResponse} */
|
|
1006
|
+
declare function DeleteConfigResponse(): DeleteConfigResponse;
|
|
1007
|
+
type DeleteConfigResponse = {
|
|
1008
|
+
success?: boolean;
|
|
1348
1009
|
message?: string;
|
|
1349
|
-
meta?: any;
|
|
1350
|
-
redirect_url?: string;
|
|
1351
|
-
transaction_id?: string;
|
|
1352
1010
|
};
|
|
1353
|
-
/** @returns {
|
|
1354
|
-
declare function
|
|
1355
|
-
type
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1011
|
+
/** @returns {ChannelDisplayName} */
|
|
1012
|
+
declare function ChannelDisplayName(): ChannelDisplayName;
|
|
1013
|
+
type ChannelDisplayName = {
|
|
1014
|
+
platform_pos?: string;
|
|
1015
|
+
};
|
|
1016
|
+
/** @returns {ChannelDisplayNameResponse} */
|
|
1017
|
+
declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
|
|
1018
|
+
type ChannelDisplayNameResponse = {
|
|
1019
|
+
success?: boolean;
|
|
1020
|
+
data?: ChannelDisplayName;
|
|
1021
|
+
};
|
|
1022
|
+
/** @returns {CnReferenceNumber} */
|
|
1023
|
+
declare function CnReferenceNumber(): CnReferenceNumber;
|
|
1024
|
+
type CnReferenceNumber = {
|
|
1025
|
+
cn_reference_number?: string;
|
|
1026
|
+
};
|
|
1027
|
+
/** @returns {GetPdfUrlViewRequest} */
|
|
1028
|
+
declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
|
|
1029
|
+
type GetPdfUrlViewRequest = {
|
|
1030
|
+
data?: CnReferenceNumber;
|
|
1031
|
+
};
|
|
1032
|
+
/** @returns {GetPdfUrlViewResponseData} */
|
|
1033
|
+
declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
|
|
1034
|
+
type GetPdfUrlViewResponseData = {
|
|
1035
|
+
s3_pdf_link?: string;
|
|
1036
|
+
cn_reference_number?: string;
|
|
1037
|
+
};
|
|
1038
|
+
/** @returns {GetPdfUrlViewResponse} */
|
|
1039
|
+
declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
|
|
1040
|
+
type GetPdfUrlViewResponse = {
|
|
1041
|
+
success?: boolean;
|
|
1042
|
+
data?: GetPdfUrlViewResponseData;
|
|
1043
|
+
};
|
|
1044
|
+
/** @returns {CreditNoteDetailsRequest} */
|
|
1045
|
+
declare function CreditNoteDetailsRequest(): CreditNoteDetailsRequest;
|
|
1046
|
+
type CreditNoteDetailsRequest = {
|
|
1047
|
+
data?: CnReferenceNumber;
|
|
1048
|
+
};
|
|
1049
|
+
/** @returns {CnDetails} */
|
|
1050
|
+
declare function CnDetails(): CnDetails;
|
|
1051
|
+
type CnDetails = {
|
|
1052
|
+
staff_id?: string;
|
|
1053
|
+
expiry_date?: string;
|
|
1054
|
+
channel_of_issuance?: string;
|
|
1055
|
+
order_id?: string;
|
|
1056
|
+
date_issued?: string;
|
|
1057
|
+
ordering_channel?: string;
|
|
1058
|
+
shipment_id?: string;
|
|
1059
|
+
store_id?: string;
|
|
1060
|
+
invoice_number?: string;
|
|
1359
1061
|
};
|
|
1360
1062
|
/** @returns {RedemptionDetails} */
|
|
1361
1063
|
declare function RedemptionDetails(): RedemptionDetails;
|
|
1362
1064
|
type RedemptionDetails = {
|
|
1363
|
-
|
|
1065
|
+
staff_id?: string;
|
|
1364
1066
|
created_at?: string;
|
|
1365
|
-
invoice_number?: string;
|
|
1366
1067
|
order_id?: string;
|
|
1068
|
+
store_id?: string;
|
|
1069
|
+
shipment_id?: string;
|
|
1367
1070
|
ordering_channel?: string;
|
|
1071
|
+
amount_debited?: number;
|
|
1072
|
+
invoice_number?: string;
|
|
1073
|
+
};
|
|
1074
|
+
/** @returns {CreditNoteDetails} */
|
|
1075
|
+
declare function CreditNoteDetails(): CreditNoteDetails;
|
|
1076
|
+
type CreditNoteDetails = {
|
|
1077
|
+
cn_status?: string;
|
|
1078
|
+
customer_mobile_number?: string;
|
|
1079
|
+
cn_reference_number?: string;
|
|
1080
|
+
cn_details?: any;
|
|
1081
|
+
redemption_details?: RedemptionDetails[];
|
|
1082
|
+
remaining_cn_amount?: number;
|
|
1083
|
+
available_cn_balance?: number;
|
|
1084
|
+
cn_amount?: number;
|
|
1085
|
+
};
|
|
1086
|
+
/** @returns {CreditNoteDetailsResponse} */
|
|
1087
|
+
declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
|
|
1088
|
+
type CreditNoteDetailsResponse = {
|
|
1089
|
+
success?: boolean;
|
|
1090
|
+
data?: CreditNoteDetails;
|
|
1091
|
+
};
|
|
1092
|
+
/** @returns {GetCustomerCreditBalance} */
|
|
1093
|
+
declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
|
|
1094
|
+
type GetCustomerCreditBalance = {
|
|
1095
|
+
affiliate_id?: string;
|
|
1096
|
+
seller_id?: number;
|
|
1097
|
+
customer_mobile_number?: string;
|
|
1098
|
+
};
|
|
1099
|
+
/** @returns {GetCustomerCreditBalanceRequest} */
|
|
1100
|
+
declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
|
|
1101
|
+
type GetCustomerCreditBalanceRequest = {
|
|
1102
|
+
data?: GetCustomerCreditBalance;
|
|
1103
|
+
};
|
|
1104
|
+
/** @returns {GetCustomerCreditBalanceResponseData} */
|
|
1105
|
+
declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
|
|
1106
|
+
type GetCustomerCreditBalanceResponseData = {
|
|
1107
|
+
customer_mobile_number?: string;
|
|
1108
|
+
total_credited_balance?: number;
|
|
1109
|
+
};
|
|
1110
|
+
/** @returns {GetCustomerCreditBalanceResponse} */
|
|
1111
|
+
declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
|
|
1112
|
+
type GetCustomerCreditBalanceResponse = {
|
|
1113
|
+
success?: boolean;
|
|
1114
|
+
data?: GetCustomerCreditBalanceResponseData;
|
|
1115
|
+
};
|
|
1116
|
+
/** @returns {GetCnConfigRequest} */
|
|
1117
|
+
declare function GetCnConfigRequest(): GetCnConfigRequest;
|
|
1118
|
+
type GetCnConfigRequest = {
|
|
1119
|
+
data?: DeleteConfig;
|
|
1120
|
+
};
|
|
1121
|
+
/** @returns {GetCnConfigResponseMeta} */
|
|
1122
|
+
declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
|
|
1123
|
+
type GetCnConfigResponseMeta = {
|
|
1124
|
+
reason?: string;
|
|
1125
|
+
source_channel?: string[];
|
|
1126
|
+
};
|
|
1127
|
+
/** @returns {GetCnConfigResponseData} */
|
|
1128
|
+
declare function GetCnConfigResponseData(): GetCnConfigResponseData;
|
|
1129
|
+
type GetCnConfigResponseData = {
|
|
1130
|
+
is_cn_as_refund_method?: boolean;
|
|
1131
|
+
affiliate_id?: string;
|
|
1132
|
+
meta?: GetCnConfigResponseMeta;
|
|
1133
|
+
seller_id?: number;
|
|
1134
|
+
notification_events?: CreditNoteConfigNotificationEvents;
|
|
1135
|
+
validity?: number;
|
|
1136
|
+
redemption_ordering_channel?: string[];
|
|
1137
|
+
currency_type?: string;
|
|
1138
|
+
};
|
|
1139
|
+
/** @returns {GetCnConfigResponse} */
|
|
1140
|
+
declare function GetCnConfigResponse(): GetCnConfigResponse;
|
|
1141
|
+
type GetCnConfigResponse = {
|
|
1142
|
+
success?: boolean;
|
|
1143
|
+
data?: GetCnConfigResponseData;
|
|
1144
|
+
};
|
|
1145
|
+
/** @returns {CnGenerateReportFilters} */
|
|
1146
|
+
declare function CnGenerateReportFilters(): CnGenerateReportFilters;
|
|
1147
|
+
type CnGenerateReportFilters = {
|
|
1148
|
+
staff_id?: string[];
|
|
1149
|
+
channel_of_issuance?: string[];
|
|
1150
|
+
utilisation?: string[];
|
|
1151
|
+
ordering_channel?: string[];
|
|
1152
|
+
store_id?: number[];
|
|
1153
|
+
types_of_transaction?: string[];
|
|
1154
|
+
};
|
|
1155
|
+
/** @returns {CnGenerateReport} */
|
|
1156
|
+
declare function CnGenerateReport(): CnGenerateReport;
|
|
1157
|
+
type CnGenerateReport = {
|
|
1158
|
+
page?: number;
|
|
1159
|
+
end_date?: string;
|
|
1160
|
+
pagesize?: number;
|
|
1161
|
+
filters?: CnGenerateReportFilters;
|
|
1162
|
+
affiliate_id?: string;
|
|
1163
|
+
meta?: GenerateReportFilters;
|
|
1164
|
+
search?: string;
|
|
1165
|
+
report_id?: string;
|
|
1166
|
+
search_type?: string;
|
|
1167
|
+
start_date?: string;
|
|
1168
|
+
};
|
|
1169
|
+
/** @returns {GenerateReportCustomerCnRequest} */
|
|
1170
|
+
declare function GenerateReportCustomerCnRequest(): GenerateReportCustomerCnRequest;
|
|
1171
|
+
type GenerateReportCustomerCnRequest = {
|
|
1172
|
+
data?: CnGenerateReport;
|
|
1173
|
+
};
|
|
1174
|
+
/** @returns {CnGenerateReportItems} */
|
|
1175
|
+
declare function CnGenerateReportItems(): CnGenerateReportItems;
|
|
1176
|
+
type CnGenerateReportItems = {
|
|
1177
|
+
expiry_date?: string;
|
|
1178
|
+
status?: string;
|
|
1179
|
+
total_amount?: number;
|
|
1180
|
+
order_id?: string;
|
|
1181
|
+
date_issued?: string;
|
|
1368
1182
|
shipment_id?: string;
|
|
1369
|
-
|
|
1370
|
-
|
|
1183
|
+
invoice_number?: string;
|
|
1184
|
+
credit_note_number?: string;
|
|
1371
1185
|
};
|
|
1372
|
-
/** @returns {
|
|
1373
|
-
declare function
|
|
1374
|
-
type
|
|
1186
|
+
/** @returns {GenerateReportCustomerCnResponseData} */
|
|
1187
|
+
declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
|
|
1188
|
+
type GenerateReportCustomerCnResponseData = {
|
|
1189
|
+
items?: CnGenerateReportItems[];
|
|
1190
|
+
row_header_display_order?: any;
|
|
1191
|
+
end_date?: string;
|
|
1192
|
+
page?: Page;
|
|
1193
|
+
headers?: string[];
|
|
1194
|
+
primary_headers?: string[];
|
|
1375
1195
|
allowed_filters?: string[];
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
display_date?: string;
|
|
1379
|
-
id?: string;
|
|
1380
|
-
name?: string;
|
|
1381
|
-
report_type?: string;
|
|
1196
|
+
start_date?: string;
|
|
1197
|
+
item_count?: number;
|
|
1382
1198
|
};
|
|
1383
|
-
/** @returns {
|
|
1384
|
-
declare function
|
|
1385
|
-
type
|
|
1386
|
-
data?:
|
|
1199
|
+
/** @returns {GenerateReportCustomerCnResponse} */
|
|
1200
|
+
declare function GenerateReportCustomerCnResponse(): GenerateReportCustomerCnResponse;
|
|
1201
|
+
type GenerateReportCustomerCnResponse = {
|
|
1202
|
+
data?: GenerateReportCustomerCnResponseData;
|
|
1387
1203
|
};
|
|
1388
|
-
/** @returns {
|
|
1389
|
-
declare function
|
|
1390
|
-
type
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1204
|
+
/** @returns {CnDownloadReport} */
|
|
1205
|
+
declare function CnDownloadReport(): CnDownloadReport;
|
|
1206
|
+
type CnDownloadReport = {
|
|
1207
|
+
page?: number;
|
|
1208
|
+
start_date?: string;
|
|
1209
|
+
end_date?: string;
|
|
1210
|
+
affiliate_id?: string;
|
|
1211
|
+
search?: string;
|
|
1212
|
+
status?: string[];
|
|
1213
|
+
search_type?: string;
|
|
1214
|
+
pagesize?: number;
|
|
1395
1215
|
};
|
|
1396
|
-
/** @returns {
|
|
1397
|
-
declare function
|
|
1398
|
-
type
|
|
1399
|
-
data?:
|
|
1400
|
-
success?: boolean;
|
|
1216
|
+
/** @returns {DownloadReportCustomerCnRequest} */
|
|
1217
|
+
declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
|
|
1218
|
+
type DownloadReportCustomerCnRequest = {
|
|
1219
|
+
data?: CnDownloadReport;
|
|
1401
1220
|
};
|
|
1402
|
-
/** @returns {
|
|
1403
|
-
declare function
|
|
1404
|
-
type
|
|
1405
|
-
|
|
1221
|
+
/** @returns {DownloadReportResponseData} */
|
|
1222
|
+
declare function DownloadReportResponseData(): DownloadReportResponseData;
|
|
1223
|
+
type DownloadReportResponseData = {
|
|
1224
|
+
report_config_id?: string;
|
|
1225
|
+
full_name?: string;
|
|
1226
|
+
requested_by?: string;
|
|
1227
|
+
start_date?: string;
|
|
1228
|
+
end_date?: string;
|
|
1229
|
+
request_dict?: any;
|
|
1230
|
+
download_link?: string;
|
|
1231
|
+
created_at?: string;
|
|
1232
|
+
meta?: any;
|
|
1233
|
+
msg?: string;
|
|
1234
|
+
report_name?: string;
|
|
1406
1235
|
status?: string;
|
|
1236
|
+
display_name?: string;
|
|
1237
|
+
filters?: any;
|
|
1407
1238
|
};
|
|
1408
|
-
/** @returns {
|
|
1409
|
-
declare function
|
|
1410
|
-
type
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1239
|
+
/** @returns {DownloadReportCustomerCnResponse} */
|
|
1240
|
+
declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
|
|
1241
|
+
type DownloadReportCustomerCnResponse = {
|
|
1242
|
+
data?: DownloadReportResponseData[];
|
|
1243
|
+
};
|
|
1244
|
+
/** @returns {GetReportingFilters} */
|
|
1245
|
+
declare function GetReportingFilters(): GetReportingFilters;
|
|
1246
|
+
type GetReportingFilters = {
|
|
1247
|
+
text?: string;
|
|
1248
|
+
type?: string;
|
|
1249
|
+
options?: any[];
|
|
1250
|
+
value?: string;
|
|
1251
|
+
};
|
|
1252
|
+
/** @returns {GetReportingNestedFilters} */
|
|
1253
|
+
declare function GetReportingNestedFilters(): GetReportingNestedFilters;
|
|
1254
|
+
type GetReportingNestedFilters = {
|
|
1255
|
+
text?: string;
|
|
1256
|
+
options?: any[];
|
|
1257
|
+
required?: boolean;
|
|
1258
|
+
placeholder_text?: string;
|
|
1259
|
+
type?: string;
|
|
1260
|
+
value?: string;
|
|
1261
|
+
};
|
|
1262
|
+
/** @returns {GetReportingFiltersResponse} */
|
|
1263
|
+
declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
|
|
1264
|
+
type GetReportingFiltersResponse = {
|
|
1265
|
+
search?: GetReportingFilters;
|
|
1266
|
+
filters?: GetReportingNestedFilters[];
|
|
1267
|
+
status?: GetReportingFilters;
|
|
1414
1268
|
};
|