@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-beta.1
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 +44 -7
- package/package.json +1 -2
- package/sdk/application/ApplicationAPIClient.d.ts +3 -3
- package/sdk/application/ApplicationAPIClient.js +6 -4
- package/sdk/application/ApplicationClient.d.ts +2 -3
- package/sdk/application/ApplicationClient.js +1 -45
- package/sdk/application/ApplicationConfig.d.ts +46 -6
- package/sdk/application/ApplicationConfig.js +15 -16
- package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
- package/sdk/application/Cart/CartApplicationClient.js +225 -134
- package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
- package/sdk/application/Cart/CartApplicationModel.js +6 -4
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
- package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
- package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
- package/sdk/application/Common/CommonApplicationClient.js +13 -11
- package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
- package/sdk/application/Common/CommonApplicationModel.js +2 -58
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
- package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
- package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
- package/sdk/application/Content/ContentApplicationClient.js +159 -80
- package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
- package/sdk/application/Content/ContentApplicationModel.js +11 -763
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
- package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
- package/sdk/application/Lead/LeadApplicationClient.js +50 -31
- package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
- package/sdk/application/Lead/LeadApplicationModel.js +21 -481
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
- package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
- package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
- package/sdk/application/Order/OrderApplicationClient.js +88 -56
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
- package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
- package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
- package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
- package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
- package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
- package/sdk/application/Share/ShareApplicationClient.js +51 -31
- package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
- package/sdk/application/Share/ShareApplicationModel.js +0 -38
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
- package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
- package/sdk/application/User/UserApplicationClient.d.ts +74 -35
- package/sdk/application/User/UserApplicationClient.js +252 -161
- package/sdk/application/User/UserApplicationModel.d.ts +3 -401
- package/sdk/application/User/UserApplicationModel.js +2 -490
- package/sdk/common/AxiosHelper.js +1 -2
- package/sdk/common/FDKError.d.ts +3 -0
- package/sdk/common/FDKError.js +8 -0
- package/sdk/common/utils.d.ts +3 -0
- package/sdk/common/utils.js +29 -0
- package/sdk/partner/PartnerAPIClient.d.ts +5 -4
- package/sdk/partner/PartnerAPIClient.js +7 -4
- package/sdk/partner/PartnerClient.d.ts +2 -0
- package/sdk/partner/PartnerClient.js +3 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
- package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
- package/sdk/partner/index.d.ts +3 -1
- package/sdk/partner/index.js +3 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
- package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
- package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
- package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
- package/sdk/platform/Cart/CartPlatformModel.js +104 -54
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
- package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
- package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
- package/sdk/platform/Common/CommonPlatformClient.js +13 -11
- package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
- package/sdk/platform/Common/CommonPlatformModel.js +23 -57
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
- package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
- package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
- package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
- package/sdk/platform/Content/ContentPlatformModel.js +8 -231
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
- package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
- package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
- package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
- package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
- package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
- package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
- package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
- package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
- package/sdk/platform/OAuthClient.js +6 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
- package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
- package/sdk/platform/Order/OrderPlatformClient.js +738 -205
- package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
- package/sdk/platform/Order/OrderPlatformModel.js +225 -2
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
- package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
- package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
- package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
- package/sdk/platform/PlatformAPIClient.d.ts +3 -3
- package/sdk/platform/PlatformAPIClient.js +2 -2
- package/sdk/platform/PlatformClient.d.ts +2 -2
- package/sdk/platform/PlatformClient.js +4 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
- package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
- package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
- package/sdk/platform/Share/SharePlatformModel.js +4 -4
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
- package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
- package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
- package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
- package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
- package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
- package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
- package/sdk/platform/User/UserPlatformModel.js +3 -899
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
- package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
- package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
- package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
- package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
- package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
- package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
- package/sdk/public/Partner/PartnerPublicClient.js +110 -0
- package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
- package/sdk/public/Partner/PartnerPublicModel.js +280 -0
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
- package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
- package/sdk/public/PublicAPIClient.d.ts +14 -1
- package/sdk/public/PublicAPIClient.js +7 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
- package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
- package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/application/ApplicationModels.d.ts +0 -48
- package/sdk/application/ApplicationModels.js +0 -38
- package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
- package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
- package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
- package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
|
@@ -1,4 +1,95 @@
|
|
|
1
1
|
export = FinancePlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef ChannelDisplayName
|
|
4
|
+
* @property {string} [platform_pos]
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef ChannelDisplayNameResponse
|
|
8
|
+
* @property {ChannelDisplayName} [data]
|
|
9
|
+
* @property {boolean} [success]
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @typedef CnDetails
|
|
13
|
+
* @property {string} [channel_of_issuance]
|
|
14
|
+
* @property {string} [date_issued]
|
|
15
|
+
* @property {string} [expiry_date]
|
|
16
|
+
* @property {string} [invoice_number]
|
|
17
|
+
* @property {string} [order_id]
|
|
18
|
+
* @property {string} [ordering_channel]
|
|
19
|
+
* @property {string} [shipment_id]
|
|
20
|
+
* @property {string} [staff_id]
|
|
21
|
+
* @property {string} [store_id]
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* @typedef CnDownloadReport
|
|
25
|
+
* @property {string} [affiliate_id]
|
|
26
|
+
* @property {string} [end_date]
|
|
27
|
+
* @property {number} [page]
|
|
28
|
+
* @property {number} [pagesize]
|
|
29
|
+
* @property {string} [search]
|
|
30
|
+
* @property {string} [search_type]
|
|
31
|
+
* @property {string} [start_date]
|
|
32
|
+
* @property {string[]} [status]
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* @typedef CnGenerateReport
|
|
36
|
+
* @property {string} [affiliate_id]
|
|
37
|
+
* @property {string} [end_date]
|
|
38
|
+
* @property {CnGenerateReportFilters} [filters]
|
|
39
|
+
* @property {GenerateReportFilters} [meta]
|
|
40
|
+
* @property {number} [page]
|
|
41
|
+
* @property {number} [pagesize]
|
|
42
|
+
* @property {string} [report_id]
|
|
43
|
+
* @property {string} [search]
|
|
44
|
+
* @property {string} [search_type]
|
|
45
|
+
* @property {string} [start_date]
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* @typedef CnGenerateReportFilters
|
|
49
|
+
* @property {string[]} [channel_of_issuance]
|
|
50
|
+
* @property {string[]} [ordering_channel]
|
|
51
|
+
* @property {string[]} [staff_id]
|
|
52
|
+
* @property {number[]} [store_id]
|
|
53
|
+
* @property {string[]} [types_of_transaction]
|
|
54
|
+
* @property {string[]} [utilisation]
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* @typedef CnGenerateReportItems
|
|
58
|
+
* @property {string} [credit_note_number]
|
|
59
|
+
* @property {string} [date_issued]
|
|
60
|
+
* @property {string} [expiry_date]
|
|
61
|
+
* @property {string} [invoice_number]
|
|
62
|
+
* @property {string} [order_id]
|
|
63
|
+
* @property {string} [shipment_id]
|
|
64
|
+
* @property {string} [status]
|
|
65
|
+
* @property {number} [total_amount]
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* @typedef CnReferenceNumber
|
|
69
|
+
* @property {string} [cn_reference_number]
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* @typedef CreateSellerCreditNoteConfig
|
|
73
|
+
* @property {string} [affiliate_id]
|
|
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]
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @typedef CreateSellerCreditNoteConfigRequest
|
|
86
|
+
* @property {CreateSellerCreditNoteConfig} [data]
|
|
87
|
+
*/
|
|
88
|
+
/**
|
|
89
|
+
* @typedef CreateSellerCreditNoteConfigResponse
|
|
90
|
+
* @property {string} [message]
|
|
91
|
+
* @property {boolean} [success]
|
|
92
|
+
*/
|
|
2
93
|
/**
|
|
3
94
|
* @typedef CreditlineDataPlatformPayload
|
|
4
95
|
* @property {string} [end_end]
|
|
@@ -21,6 +112,45 @@ export = FinancePlatformModel;
|
|
|
21
112
|
* @property {Object} [page]
|
|
22
113
|
* @property {boolean} [show_mr]
|
|
23
114
|
*/
|
|
115
|
+
/**
|
|
116
|
+
* @typedef CreditNoteConfigNotificationEvents
|
|
117
|
+
* @property {number} [expiration_reminder_to_customer]
|
|
118
|
+
*/
|
|
119
|
+
/**
|
|
120
|
+
* @typedef CreditNoteDetails
|
|
121
|
+
* @property {number} [available_cn_balance]
|
|
122
|
+
* @property {number} [cn_amount]
|
|
123
|
+
* @property {Object} [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]
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
* @typedef CreditNoteDetailsRequest
|
|
132
|
+
* @property {CnReferenceNumber} [data]
|
|
133
|
+
*/
|
|
134
|
+
/**
|
|
135
|
+
* @typedef CreditNoteDetailsResponse
|
|
136
|
+
* @property {CreditNoteDetails} [data]
|
|
137
|
+
* @property {boolean} [success]
|
|
138
|
+
*/
|
|
139
|
+
/**
|
|
140
|
+
* @typedef DeleteConfig
|
|
141
|
+
* @property {string} [affiliate_id]
|
|
142
|
+
* @property {number} [seller_id]
|
|
143
|
+
* @property {string[]} [slug_values]
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* @typedef DeleteConfigRequest
|
|
147
|
+
* @property {DeleteConfig} [data]
|
|
148
|
+
*/
|
|
149
|
+
/**
|
|
150
|
+
* @typedef DeleteConfigResponse
|
|
151
|
+
* @property {string} [message]
|
|
152
|
+
* @property {boolean} [success]
|
|
153
|
+
*/
|
|
24
154
|
/**
|
|
25
155
|
* @typedef DownloadCreditDebitNote
|
|
26
156
|
* @property {string[]} [note_id]
|
|
@@ -46,6 +176,14 @@ export = FinancePlatformModel;
|
|
|
46
176
|
* @property {number} [pagesize]
|
|
47
177
|
* @property {string} [start_date]
|
|
48
178
|
*/
|
|
179
|
+
/**
|
|
180
|
+
* @typedef DownloadReportCustomerCnRequest
|
|
181
|
+
* @property {CnDownloadReport} [data]
|
|
182
|
+
*/
|
|
183
|
+
/**
|
|
184
|
+
* @typedef DownloadReportCustomerCnResponse
|
|
185
|
+
* @property {DownloadReportResponseData[]} [data]
|
|
186
|
+
*/
|
|
49
187
|
/**
|
|
50
188
|
* @typedef DownloadReportItems
|
|
51
189
|
* @property {string} [end_date]
|
|
@@ -61,11 +199,48 @@ export = FinancePlatformModel;
|
|
|
61
199
|
* @property {DownloadReportItems[]} [items]
|
|
62
200
|
* @property {Page} [page]
|
|
63
201
|
*/
|
|
202
|
+
/**
|
|
203
|
+
* @typedef DownloadReportResponseData
|
|
204
|
+
* @property {string} [created_at]
|
|
205
|
+
* @property {string} [display_name]
|
|
206
|
+
* @property {string} [download_link]
|
|
207
|
+
* @property {string} [end_date]
|
|
208
|
+
* @property {Object} [filters]
|
|
209
|
+
* @property {string} [full_name]
|
|
210
|
+
* @property {Object} [meta]
|
|
211
|
+
* @property {string} [msg]
|
|
212
|
+
* @property {string} [report_config_id]
|
|
213
|
+
* @property {string} [report_name]
|
|
214
|
+
* @property {Object} [request_dict]
|
|
215
|
+
* @property {string} [requested_by]
|
|
216
|
+
* @property {string} [start_date]
|
|
217
|
+
* @property {string} [status]
|
|
218
|
+
*/
|
|
64
219
|
/**
|
|
65
220
|
* @typedef Error
|
|
66
221
|
* @property {string} [reason]
|
|
67
222
|
* @property {boolean} [success]
|
|
68
223
|
*/
|
|
224
|
+
/**
|
|
225
|
+
* @typedef GenerateReportCustomerCnRequest
|
|
226
|
+
* @property {CnGenerateReport} [data]
|
|
227
|
+
*/
|
|
228
|
+
/**
|
|
229
|
+
* @typedef GenerateReportCustomerCnResponse
|
|
230
|
+
* @property {GenerateReportCustomerCnResponseData} [data]
|
|
231
|
+
*/
|
|
232
|
+
/**
|
|
233
|
+
* @typedef GenerateReportCustomerCnResponseData
|
|
234
|
+
* @property {string[]} [allowed_filters]
|
|
235
|
+
* @property {string} [end_date]
|
|
236
|
+
* @property {string[]} [headers]
|
|
237
|
+
* @property {number} [item_count]
|
|
238
|
+
* @property {CnGenerateReportItems[]} [items]
|
|
239
|
+
* @property {Page} [page]
|
|
240
|
+
* @property {string[]} [primary_headers]
|
|
241
|
+
* @property {Object} [row_header_display_order]
|
|
242
|
+
* @property {string} [start_date]
|
|
243
|
+
*/
|
|
69
244
|
/**
|
|
70
245
|
* @typedef GenerateReportFilters
|
|
71
246
|
* @property {string[]} [brand]
|
|
@@ -109,20 +284,56 @@ export = FinancePlatformModel;
|
|
|
109
284
|
* @property {boolean} [success]
|
|
110
285
|
*/
|
|
111
286
|
/**
|
|
112
|
-
* @typedef
|
|
113
|
-
* @property {
|
|
114
|
-
|
|
287
|
+
* @typedef GetCnConfigRequest
|
|
288
|
+
* @property {DeleteConfig} [data]
|
|
289
|
+
*/
|
|
290
|
+
/**
|
|
291
|
+
* @typedef GetCnConfigResponse
|
|
292
|
+
* @property {GetCnConfigResponseData} [data]
|
|
293
|
+
* @property {boolean} [success]
|
|
294
|
+
*/
|
|
295
|
+
/**
|
|
296
|
+
* @typedef GetCnConfigResponseData
|
|
297
|
+
* @property {string} [affiliate_id]
|
|
298
|
+
* @property {string} [currency_type]
|
|
299
|
+
* @property {boolean} [is_cn_as_refund_method]
|
|
300
|
+
* @property {GetCnConfigResponseMeta} [meta]
|
|
301
|
+
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
302
|
+
* @property {string[]} [redemption_ordering_channel]
|
|
303
|
+
* @property {number} [seller_id]
|
|
304
|
+
* @property {number} [validity]
|
|
305
|
+
*/
|
|
306
|
+
/**
|
|
307
|
+
* @typedef GetCnConfigResponseMeta
|
|
308
|
+
* @property {string} [reason]
|
|
309
|
+
* @property {string[]} [source_channel]
|
|
310
|
+
*/
|
|
311
|
+
/**
|
|
312
|
+
* @typedef GetCustomerCreditBalance
|
|
313
|
+
* @property {string} [affiliate_id]
|
|
314
|
+
* @property {string} [customer_mobile_number]
|
|
315
|
+
* @property {number} [seller_id]
|
|
316
|
+
*/
|
|
317
|
+
/**
|
|
318
|
+
* @typedef GetCustomerCreditBalanceRequest
|
|
319
|
+
* @property {GetCustomerCreditBalance} [data]
|
|
320
|
+
*/
|
|
321
|
+
/**
|
|
322
|
+
* @typedef GetCustomerCreditBalanceResponse
|
|
323
|
+
* @property {GetCustomerCreditBalanceResponseData} [data]
|
|
324
|
+
* @property {boolean} [success]
|
|
325
|
+
*/
|
|
326
|
+
/**
|
|
327
|
+
* @typedef GetCustomerCreditBalanceResponseData
|
|
328
|
+
* @property {string} [customer_mobile_number]
|
|
329
|
+
* @property {number} [total_credited_balance]
|
|
115
330
|
*/
|
|
116
331
|
/**
|
|
117
332
|
* @typedef GetEngineData
|
|
118
|
-
* @property {
|
|
333
|
+
* @property {Object} [filters]
|
|
119
334
|
* @property {string[]} [project]
|
|
120
335
|
* @property {string} [table_name]
|
|
121
336
|
*/
|
|
122
|
-
/**
|
|
123
|
-
* @typedef GetEngineFilters
|
|
124
|
-
* @property {string} [config_field]
|
|
125
|
-
*/
|
|
126
337
|
/**
|
|
127
338
|
* @typedef GetEngineRequest
|
|
128
339
|
* @property {GetEngineData} [data]
|
|
@@ -134,6 +345,20 @@ export = FinancePlatformModel;
|
|
|
134
345
|
* @property {Page} [page]
|
|
135
346
|
* @property {boolean} [success]
|
|
136
347
|
*/
|
|
348
|
+
/**
|
|
349
|
+
* @typedef GetPdfUrlViewRequest
|
|
350
|
+
* @property {CnReferenceNumber} [data]
|
|
351
|
+
*/
|
|
352
|
+
/**
|
|
353
|
+
* @typedef GetPdfUrlViewResponse
|
|
354
|
+
* @property {GetPdfUrlViewResponseData} [data]
|
|
355
|
+
* @property {boolean} [success]
|
|
356
|
+
*/
|
|
357
|
+
/**
|
|
358
|
+
* @typedef GetPdfUrlViewResponseData
|
|
359
|
+
* @property {string} [cn_reference_number]
|
|
360
|
+
* @property {string} [s3_pdf_link]
|
|
361
|
+
*/
|
|
137
362
|
/**
|
|
138
363
|
* @typedef GetReason
|
|
139
364
|
* @property {string} [reason_type]
|
|
@@ -144,9 +369,33 @@ export = FinancePlatformModel;
|
|
|
144
369
|
*/
|
|
145
370
|
/**
|
|
146
371
|
* @typedef GetReasonResponse
|
|
147
|
-
* @property {
|
|
372
|
+
* @property {number} [item_count]
|
|
373
|
+
* @property {ReasonItem[]} [item_list]
|
|
374
|
+
* @property {Page} [page]
|
|
148
375
|
* @property {boolean} [success]
|
|
149
376
|
*/
|
|
377
|
+
/**
|
|
378
|
+
* @typedef GetReportingFilters
|
|
379
|
+
* @property {Object[]} [options]
|
|
380
|
+
* @property {string} [text]
|
|
381
|
+
* @property {string} [type]
|
|
382
|
+
* @property {string} [value]
|
|
383
|
+
*/
|
|
384
|
+
/**
|
|
385
|
+
* @typedef GetReportingFiltersResponse
|
|
386
|
+
* @property {GetReportingNestedFilters[]} [filters]
|
|
387
|
+
* @property {GetReportingFilters} [search]
|
|
388
|
+
* @property {GetReportingFilters} [status]
|
|
389
|
+
*/
|
|
390
|
+
/**
|
|
391
|
+
* @typedef GetReportingNestedFilters
|
|
392
|
+
* @property {Object[]} [options]
|
|
393
|
+
* @property {string} [placeholder_text]
|
|
394
|
+
* @property {boolean} [required]
|
|
395
|
+
* @property {string} [text]
|
|
396
|
+
* @property {string} [type]
|
|
397
|
+
* @property {string} [value]
|
|
398
|
+
*/
|
|
150
399
|
/**
|
|
151
400
|
* @typedef GetReportListData
|
|
152
401
|
* @property {boolean} [listing_enabled]
|
|
@@ -156,6 +405,13 @@ export = FinancePlatformModel;
|
|
|
156
405
|
* @typedef GetReportListRequest
|
|
157
406
|
* @property {GetReportListData} [data]
|
|
158
407
|
*/
|
|
408
|
+
/**
|
|
409
|
+
* @typedef GetReportListResponse
|
|
410
|
+
* @property {ReportItem[]} [items]
|
|
411
|
+
* @property {Page} [page]
|
|
412
|
+
* @property {boolean} [success]
|
|
413
|
+
* @property {number} [total_count]
|
|
414
|
+
*/
|
|
159
415
|
/**
|
|
160
416
|
* @typedef InoviceListingPayloadDataFilters
|
|
161
417
|
* @property {string[]} [company_id]
|
|
@@ -228,6 +484,25 @@ export = FinancePlatformModel;
|
|
|
228
484
|
* @property {string} [text]
|
|
229
485
|
* @property {string} [value]
|
|
230
486
|
*/
|
|
487
|
+
/**
|
|
488
|
+
* @typedef IsCnRefundMethodData
|
|
489
|
+
* @property {string} [affiliate_id]
|
|
490
|
+
* @property {number} [seller_id]
|
|
491
|
+
* @property {boolean} [toggle_edit_required]
|
|
492
|
+
*/
|
|
493
|
+
/**
|
|
494
|
+
* @typedef IsCnRefundMethodRequest
|
|
495
|
+
* @property {IsCnRefundMethodData} [data]
|
|
496
|
+
*/
|
|
497
|
+
/**
|
|
498
|
+
* @typedef IsCnRefundMethodResponse
|
|
499
|
+
* @property {IsCnRefundMethodResponseData} [data]
|
|
500
|
+
* @property {boolean} [success]
|
|
501
|
+
*/
|
|
502
|
+
/**
|
|
503
|
+
* @typedef IsCnRefundMethodResponseData
|
|
504
|
+
* @property {boolean} [is_first_time_user]
|
|
505
|
+
*/
|
|
231
506
|
/**
|
|
232
507
|
* @typedef IsCreditlinePayload
|
|
233
508
|
* @property {string} [seller_id]
|
|
@@ -276,6 +551,33 @@ export = FinancePlatformModel;
|
|
|
276
551
|
* @property {string} [redirect_url]
|
|
277
552
|
* @property {string} [transaction_id]
|
|
278
553
|
*/
|
|
554
|
+
/**
|
|
555
|
+
* @typedef ReasonItem
|
|
556
|
+
* @property {string} [display_name]
|
|
557
|
+
* @property {string} [id]
|
|
558
|
+
* @property {string} [name]
|
|
559
|
+
*/
|
|
560
|
+
/**
|
|
561
|
+
* @typedef RedemptionDetails
|
|
562
|
+
* @property {number} [amount_debited]
|
|
563
|
+
* @property {string} [created_at]
|
|
564
|
+
* @property {string} [invoice_number]
|
|
565
|
+
* @property {string} [order_id]
|
|
566
|
+
* @property {string} [ordering_channel]
|
|
567
|
+
* @property {string} [shipment_id]
|
|
568
|
+
* @property {string} [staff_id]
|
|
569
|
+
* @property {string} [store_id]
|
|
570
|
+
*/
|
|
571
|
+
/**
|
|
572
|
+
* @typedef ReportItem
|
|
573
|
+
* @property {string[]} [allowed_filters]
|
|
574
|
+
* @property {Object} [config_meta]
|
|
575
|
+
* @property {string} [description]
|
|
576
|
+
* @property {string} [display_date]
|
|
577
|
+
* @property {string} [id]
|
|
578
|
+
* @property {string} [name]
|
|
579
|
+
* @property {string} [report_type]
|
|
580
|
+
*/
|
|
279
581
|
/**
|
|
280
582
|
* @typedef UnpaidInvoiceDataItems
|
|
281
583
|
* @property {string} [currency]
|
|
@@ -285,8 +587,110 @@ export = FinancePlatformModel;
|
|
|
285
587
|
declare class FinancePlatformModel {
|
|
286
588
|
}
|
|
287
589
|
declare namespace FinancePlatformModel {
|
|
288
|
-
export { CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportItems, DownloadReportList, Error, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse,
|
|
590
|
+
export { ChannelDisplayName, ChannelDisplayNameResponse, CnDetails, CnDownloadReport, CnGenerateReport, CnGenerateReportFilters, CnGenerateReportItems, CnReferenceNumber, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, CreditNoteConfigNotificationEvents, CreditNoteDetails, CreditNoteDetailsRequest, CreditNoteDetailsResponse, DeleteConfig, DeleteConfigRequest, DeleteConfigResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportCustomerCnRequest, DownloadReportCustomerCnResponse, DownloadReportItems, DownloadReportList, DownloadReportResponseData, Error, GenerateReportCustomerCnRequest, GenerateReportCustomerCnResponse, GenerateReportCustomerCnResponseData, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetCnConfigRequest, GetCnConfigResponse, GetCnConfigResponseData, GetCnConfigResponseMeta, GetCustomerCreditBalance, GetCustomerCreditBalanceRequest, GetCustomerCreditBalanceResponse, GetCustomerCreditBalanceResponseData, GetEngineData, GetEngineRequest, GetEngineResponse, GetPdfUrlViewRequest, GetPdfUrlViewResponse, GetPdfUrlViewResponseData, GetReason, GetReasonRequest, GetReasonResponse, GetReportingFilters, GetReportingFiltersResponse, GetReportingNestedFilters, GetReportListData, GetReportListRequest, GetReportListResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponse, IsCnRefundMethodResponseData, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, ReasonItem, RedemptionDetails, ReportItem, UnpaidInvoiceDataItems };
|
|
289
591
|
}
|
|
592
|
+
/** @returns {ChannelDisplayName} */
|
|
593
|
+
declare function ChannelDisplayName(): ChannelDisplayName;
|
|
594
|
+
type ChannelDisplayName = {
|
|
595
|
+
platform_pos?: string;
|
|
596
|
+
};
|
|
597
|
+
/** @returns {ChannelDisplayNameResponse} */
|
|
598
|
+
declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
|
|
599
|
+
type ChannelDisplayNameResponse = {
|
|
600
|
+
data?: ChannelDisplayName;
|
|
601
|
+
success?: boolean;
|
|
602
|
+
};
|
|
603
|
+
/** @returns {CnDetails} */
|
|
604
|
+
declare function CnDetails(): CnDetails;
|
|
605
|
+
type CnDetails = {
|
|
606
|
+
channel_of_issuance?: string;
|
|
607
|
+
date_issued?: string;
|
|
608
|
+
expiry_date?: string;
|
|
609
|
+
invoice_number?: string;
|
|
610
|
+
order_id?: string;
|
|
611
|
+
ordering_channel?: string;
|
|
612
|
+
shipment_id?: string;
|
|
613
|
+
staff_id?: string;
|
|
614
|
+
store_id?: string;
|
|
615
|
+
};
|
|
616
|
+
/** @returns {CnDownloadReport} */
|
|
617
|
+
declare function CnDownloadReport(): CnDownloadReport;
|
|
618
|
+
type CnDownloadReport = {
|
|
619
|
+
affiliate_id?: string;
|
|
620
|
+
end_date?: string;
|
|
621
|
+
page?: number;
|
|
622
|
+
pagesize?: number;
|
|
623
|
+
search?: string;
|
|
624
|
+
search_type?: string;
|
|
625
|
+
start_date?: string;
|
|
626
|
+
status?: string[];
|
|
627
|
+
};
|
|
628
|
+
/** @returns {CnGenerateReport} */
|
|
629
|
+
declare function CnGenerateReport(): CnGenerateReport;
|
|
630
|
+
type CnGenerateReport = {
|
|
631
|
+
affiliate_id?: string;
|
|
632
|
+
end_date?: string;
|
|
633
|
+
filters?: CnGenerateReportFilters;
|
|
634
|
+
meta?: GenerateReportFilters;
|
|
635
|
+
page?: number;
|
|
636
|
+
pagesize?: number;
|
|
637
|
+
report_id?: string;
|
|
638
|
+
search?: string;
|
|
639
|
+
search_type?: string;
|
|
640
|
+
start_date?: string;
|
|
641
|
+
};
|
|
642
|
+
/** @returns {CnGenerateReportFilters} */
|
|
643
|
+
declare function CnGenerateReportFilters(): CnGenerateReportFilters;
|
|
644
|
+
type CnGenerateReportFilters = {
|
|
645
|
+
channel_of_issuance?: string[];
|
|
646
|
+
ordering_channel?: string[];
|
|
647
|
+
staff_id?: string[];
|
|
648
|
+
store_id?: number[];
|
|
649
|
+
types_of_transaction?: string[];
|
|
650
|
+
utilisation?: string[];
|
|
651
|
+
};
|
|
652
|
+
/** @returns {CnGenerateReportItems} */
|
|
653
|
+
declare function CnGenerateReportItems(): CnGenerateReportItems;
|
|
654
|
+
type CnGenerateReportItems = {
|
|
655
|
+
credit_note_number?: string;
|
|
656
|
+
date_issued?: string;
|
|
657
|
+
expiry_date?: string;
|
|
658
|
+
invoice_number?: string;
|
|
659
|
+
order_id?: string;
|
|
660
|
+
shipment_id?: string;
|
|
661
|
+
status?: string;
|
|
662
|
+
total_amount?: number;
|
|
663
|
+
};
|
|
664
|
+
/** @returns {CnReferenceNumber} */
|
|
665
|
+
declare function CnReferenceNumber(): CnReferenceNumber;
|
|
666
|
+
type CnReferenceNumber = {
|
|
667
|
+
cn_reference_number?: string;
|
|
668
|
+
};
|
|
669
|
+
/** @returns {CreateSellerCreditNoteConfig} */
|
|
670
|
+
declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
|
|
671
|
+
type CreateSellerCreditNoteConfig = {
|
|
672
|
+
affiliate_id?: string;
|
|
673
|
+
currency_type?: string;
|
|
674
|
+
is_cn_as_refund_method?: boolean;
|
|
675
|
+
notification_events?: CreditNoteConfigNotificationEvents;
|
|
676
|
+
ordering_channel?: string[];
|
|
677
|
+
sales_channel_name?: string;
|
|
678
|
+
seller_id?: number;
|
|
679
|
+
slug_values?: string[];
|
|
680
|
+
source_channel?: string[];
|
|
681
|
+
validity?: number;
|
|
682
|
+
};
|
|
683
|
+
/** @returns {CreateSellerCreditNoteConfigRequest} */
|
|
684
|
+
declare function CreateSellerCreditNoteConfigRequest(): CreateSellerCreditNoteConfigRequest;
|
|
685
|
+
type CreateSellerCreditNoteConfigRequest = {
|
|
686
|
+
data?: CreateSellerCreditNoteConfig;
|
|
687
|
+
};
|
|
688
|
+
/** @returns {CreateSellerCreditNoteConfigResponse} */
|
|
689
|
+
declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
|
|
690
|
+
type CreateSellerCreditNoteConfigResponse = {
|
|
691
|
+
message?: string;
|
|
692
|
+
success?: boolean;
|
|
693
|
+
};
|
|
290
694
|
/** @returns {CreditlineDataPlatformPayload} */
|
|
291
695
|
declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
|
|
292
696
|
type CreditlineDataPlatformPayload = {
|
|
@@ -312,6 +716,52 @@ type CreditlineDataPlatformResponse = {
|
|
|
312
716
|
page?: any;
|
|
313
717
|
show_mr?: boolean;
|
|
314
718
|
};
|
|
719
|
+
/** @returns {CreditNoteConfigNotificationEvents} */
|
|
720
|
+
declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
|
|
721
|
+
type CreditNoteConfigNotificationEvents = {
|
|
722
|
+
expiration_reminder_to_customer?: number;
|
|
723
|
+
};
|
|
724
|
+
/** @returns {CreditNoteDetails} */
|
|
725
|
+
declare function CreditNoteDetails(): CreditNoteDetails;
|
|
726
|
+
type CreditNoteDetails = {
|
|
727
|
+
available_cn_balance?: number;
|
|
728
|
+
cn_amount?: number;
|
|
729
|
+
cn_details?: any;
|
|
730
|
+
cn_reference_number?: string;
|
|
731
|
+
cn_status?: string;
|
|
732
|
+
customer_mobile_number?: string;
|
|
733
|
+
redemption_details?: RedemptionDetails[];
|
|
734
|
+
remaining_cn_amount?: number;
|
|
735
|
+
};
|
|
736
|
+
/** @returns {CreditNoteDetailsRequest} */
|
|
737
|
+
declare function CreditNoteDetailsRequest(): CreditNoteDetailsRequest;
|
|
738
|
+
type CreditNoteDetailsRequest = {
|
|
739
|
+
data?: CnReferenceNumber;
|
|
740
|
+
};
|
|
741
|
+
/** @returns {CreditNoteDetailsResponse} */
|
|
742
|
+
declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
|
|
743
|
+
type CreditNoteDetailsResponse = {
|
|
744
|
+
data?: CreditNoteDetails;
|
|
745
|
+
success?: boolean;
|
|
746
|
+
};
|
|
747
|
+
/** @returns {DeleteConfig} */
|
|
748
|
+
declare function DeleteConfig(): DeleteConfig;
|
|
749
|
+
type DeleteConfig = {
|
|
750
|
+
affiliate_id?: string;
|
|
751
|
+
seller_id?: number;
|
|
752
|
+
slug_values?: string[];
|
|
753
|
+
};
|
|
754
|
+
/** @returns {DeleteConfigRequest} */
|
|
755
|
+
declare function DeleteConfigRequest(): DeleteConfigRequest;
|
|
756
|
+
type DeleteConfigRequest = {
|
|
757
|
+
data?: DeleteConfig;
|
|
758
|
+
};
|
|
759
|
+
/** @returns {DeleteConfigResponse} */
|
|
760
|
+
declare function DeleteConfigResponse(): DeleteConfigResponse;
|
|
761
|
+
type DeleteConfigResponse = {
|
|
762
|
+
message?: string;
|
|
763
|
+
success?: boolean;
|
|
764
|
+
};
|
|
315
765
|
/** @returns {DownloadCreditDebitNote} */
|
|
316
766
|
declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
|
|
317
767
|
type DownloadCreditDebitNote = {
|
|
@@ -342,6 +792,16 @@ type DownloadReport = {
|
|
|
342
792
|
pagesize?: number;
|
|
343
793
|
start_date?: string;
|
|
344
794
|
};
|
|
795
|
+
/** @returns {DownloadReportCustomerCnRequest} */
|
|
796
|
+
declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
|
|
797
|
+
type DownloadReportCustomerCnRequest = {
|
|
798
|
+
data?: CnDownloadReport;
|
|
799
|
+
};
|
|
800
|
+
/** @returns {DownloadReportCustomerCnResponse} */
|
|
801
|
+
declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
|
|
802
|
+
type DownloadReportCustomerCnResponse = {
|
|
803
|
+
data?: DownloadReportResponseData[];
|
|
804
|
+
};
|
|
345
805
|
/** @returns {DownloadReportItems} */
|
|
346
806
|
declare function DownloadReportItems(): DownloadReportItems;
|
|
347
807
|
type DownloadReportItems = {
|
|
@@ -359,12 +819,53 @@ type DownloadReportList = {
|
|
|
359
819
|
items?: DownloadReportItems[];
|
|
360
820
|
page?: Page;
|
|
361
821
|
};
|
|
822
|
+
/** @returns {DownloadReportResponseData} */
|
|
823
|
+
declare function DownloadReportResponseData(): DownloadReportResponseData;
|
|
824
|
+
type DownloadReportResponseData = {
|
|
825
|
+
created_at?: string;
|
|
826
|
+
display_name?: string;
|
|
827
|
+
download_link?: string;
|
|
828
|
+
end_date?: string;
|
|
829
|
+
filters?: any;
|
|
830
|
+
full_name?: string;
|
|
831
|
+
meta?: any;
|
|
832
|
+
msg?: string;
|
|
833
|
+
report_config_id?: string;
|
|
834
|
+
report_name?: string;
|
|
835
|
+
request_dict?: any;
|
|
836
|
+
requested_by?: string;
|
|
837
|
+
start_date?: string;
|
|
838
|
+
status?: string;
|
|
839
|
+
};
|
|
362
840
|
/** @returns {Error} */
|
|
363
841
|
declare function Error(): Error;
|
|
364
842
|
type Error = {
|
|
365
843
|
reason?: string;
|
|
366
844
|
success?: boolean;
|
|
367
845
|
};
|
|
846
|
+
/** @returns {GenerateReportCustomerCnRequest} */
|
|
847
|
+
declare function GenerateReportCustomerCnRequest(): GenerateReportCustomerCnRequest;
|
|
848
|
+
type GenerateReportCustomerCnRequest = {
|
|
849
|
+
data?: CnGenerateReport;
|
|
850
|
+
};
|
|
851
|
+
/** @returns {GenerateReportCustomerCnResponse} */
|
|
852
|
+
declare function GenerateReportCustomerCnResponse(): GenerateReportCustomerCnResponse;
|
|
853
|
+
type GenerateReportCustomerCnResponse = {
|
|
854
|
+
data?: GenerateReportCustomerCnResponseData;
|
|
855
|
+
};
|
|
856
|
+
/** @returns {GenerateReportCustomerCnResponseData} */
|
|
857
|
+
declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
|
|
858
|
+
type GenerateReportCustomerCnResponseData = {
|
|
859
|
+
allowed_filters?: string[];
|
|
860
|
+
end_date?: string;
|
|
861
|
+
headers?: string[];
|
|
862
|
+
item_count?: number;
|
|
863
|
+
items?: CnGenerateReportItems[];
|
|
864
|
+
page?: Page;
|
|
865
|
+
primary_headers?: string[];
|
|
866
|
+
row_header_display_order?: any;
|
|
867
|
+
start_date?: string;
|
|
868
|
+
};
|
|
368
869
|
/** @returns {GenerateReportFilters} */
|
|
369
870
|
declare function GenerateReportFilters(): GenerateReportFilters;
|
|
370
871
|
type GenerateReportFilters = {
|
|
@@ -414,24 +915,66 @@ type GetAffiliateResponse = {
|
|
|
414
915
|
docs?: any[];
|
|
415
916
|
success?: boolean;
|
|
416
917
|
};
|
|
417
|
-
/** @returns {
|
|
418
|
-
declare function
|
|
419
|
-
type
|
|
420
|
-
|
|
421
|
-
|
|
918
|
+
/** @returns {GetCnConfigRequest} */
|
|
919
|
+
declare function GetCnConfigRequest(): GetCnConfigRequest;
|
|
920
|
+
type GetCnConfigRequest = {
|
|
921
|
+
data?: DeleteConfig;
|
|
922
|
+
};
|
|
923
|
+
/** @returns {GetCnConfigResponse} */
|
|
924
|
+
declare function GetCnConfigResponse(): GetCnConfigResponse;
|
|
925
|
+
type GetCnConfigResponse = {
|
|
926
|
+
data?: GetCnConfigResponseData;
|
|
927
|
+
success?: boolean;
|
|
928
|
+
};
|
|
929
|
+
/** @returns {GetCnConfigResponseData} */
|
|
930
|
+
declare function GetCnConfigResponseData(): GetCnConfigResponseData;
|
|
931
|
+
type GetCnConfigResponseData = {
|
|
932
|
+
affiliate_id?: string;
|
|
933
|
+
currency_type?: string;
|
|
934
|
+
is_cn_as_refund_method?: boolean;
|
|
935
|
+
meta?: GetCnConfigResponseMeta;
|
|
936
|
+
notification_events?: CreditNoteConfigNotificationEvents;
|
|
937
|
+
redemption_ordering_channel?: string[];
|
|
938
|
+
seller_id?: number;
|
|
939
|
+
validity?: number;
|
|
940
|
+
};
|
|
941
|
+
/** @returns {GetCnConfigResponseMeta} */
|
|
942
|
+
declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
|
|
943
|
+
type GetCnConfigResponseMeta = {
|
|
944
|
+
reason?: string;
|
|
945
|
+
source_channel?: string[];
|
|
946
|
+
};
|
|
947
|
+
/** @returns {GetCustomerCreditBalance} */
|
|
948
|
+
declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
|
|
949
|
+
type GetCustomerCreditBalance = {
|
|
950
|
+
affiliate_id?: string;
|
|
951
|
+
customer_mobile_number?: string;
|
|
952
|
+
seller_id?: number;
|
|
953
|
+
};
|
|
954
|
+
/** @returns {GetCustomerCreditBalanceRequest} */
|
|
955
|
+
declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
|
|
956
|
+
type GetCustomerCreditBalanceRequest = {
|
|
957
|
+
data?: GetCustomerCreditBalance;
|
|
958
|
+
};
|
|
959
|
+
/** @returns {GetCustomerCreditBalanceResponse} */
|
|
960
|
+
declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
|
|
961
|
+
type GetCustomerCreditBalanceResponse = {
|
|
962
|
+
data?: GetCustomerCreditBalanceResponseData;
|
|
963
|
+
success?: boolean;
|
|
964
|
+
};
|
|
965
|
+
/** @returns {GetCustomerCreditBalanceResponseData} */
|
|
966
|
+
declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
|
|
967
|
+
type GetCustomerCreditBalanceResponseData = {
|
|
968
|
+
customer_mobile_number?: string;
|
|
969
|
+
total_credited_balance?: number;
|
|
422
970
|
};
|
|
423
971
|
/** @returns {GetEngineData} */
|
|
424
972
|
declare function GetEngineData(): GetEngineData;
|
|
425
973
|
type GetEngineData = {
|
|
426
|
-
filters?:
|
|
974
|
+
filters?: any;
|
|
427
975
|
project?: string[];
|
|
428
976
|
table_name?: string;
|
|
429
977
|
};
|
|
430
|
-
/** @returns {GetEngineFilters} */
|
|
431
|
-
declare function GetEngineFilters(): GetEngineFilters;
|
|
432
|
-
type GetEngineFilters = {
|
|
433
|
-
config_field?: string;
|
|
434
|
-
};
|
|
435
978
|
/** @returns {GetEngineRequest} */
|
|
436
979
|
declare function GetEngineRequest(): GetEngineRequest;
|
|
437
980
|
type GetEngineRequest = {
|
|
@@ -445,6 +988,23 @@ type GetEngineResponse = {
|
|
|
445
988
|
page?: Page;
|
|
446
989
|
success?: boolean;
|
|
447
990
|
};
|
|
991
|
+
/** @returns {GetPdfUrlViewRequest} */
|
|
992
|
+
declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
|
|
993
|
+
type GetPdfUrlViewRequest = {
|
|
994
|
+
data?: CnReferenceNumber;
|
|
995
|
+
};
|
|
996
|
+
/** @returns {GetPdfUrlViewResponse} */
|
|
997
|
+
declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
|
|
998
|
+
type GetPdfUrlViewResponse = {
|
|
999
|
+
data?: GetPdfUrlViewResponseData;
|
|
1000
|
+
success?: boolean;
|
|
1001
|
+
};
|
|
1002
|
+
/** @returns {GetPdfUrlViewResponseData} */
|
|
1003
|
+
declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
|
|
1004
|
+
type GetPdfUrlViewResponseData = {
|
|
1005
|
+
cn_reference_number?: string;
|
|
1006
|
+
s3_pdf_link?: string;
|
|
1007
|
+
};
|
|
448
1008
|
/** @returns {GetReason} */
|
|
449
1009
|
declare function GetReason(): GetReason;
|
|
450
1010
|
type GetReason = {
|
|
@@ -458,9 +1018,36 @@ type GetReasonRequest = {
|
|
|
458
1018
|
/** @returns {GetReasonResponse} */
|
|
459
1019
|
declare function GetReasonResponse(): GetReasonResponse;
|
|
460
1020
|
type GetReasonResponse = {
|
|
461
|
-
|
|
1021
|
+
item_count?: number;
|
|
1022
|
+
item_list?: ReasonItem[];
|
|
1023
|
+
page?: Page;
|
|
462
1024
|
success?: boolean;
|
|
463
1025
|
};
|
|
1026
|
+
/** @returns {GetReportingFilters} */
|
|
1027
|
+
declare function GetReportingFilters(): GetReportingFilters;
|
|
1028
|
+
type GetReportingFilters = {
|
|
1029
|
+
options?: any[];
|
|
1030
|
+
text?: string;
|
|
1031
|
+
type?: string;
|
|
1032
|
+
value?: string;
|
|
1033
|
+
};
|
|
1034
|
+
/** @returns {GetReportingFiltersResponse} */
|
|
1035
|
+
declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
|
|
1036
|
+
type GetReportingFiltersResponse = {
|
|
1037
|
+
filters?: GetReportingNestedFilters[];
|
|
1038
|
+
search?: GetReportingFilters;
|
|
1039
|
+
status?: GetReportingFilters;
|
|
1040
|
+
};
|
|
1041
|
+
/** @returns {GetReportingNestedFilters} */
|
|
1042
|
+
declare function GetReportingNestedFilters(): GetReportingNestedFilters;
|
|
1043
|
+
type GetReportingNestedFilters = {
|
|
1044
|
+
options?: any[];
|
|
1045
|
+
placeholder_text?: string;
|
|
1046
|
+
required?: boolean;
|
|
1047
|
+
text?: string;
|
|
1048
|
+
type?: string;
|
|
1049
|
+
value?: string;
|
|
1050
|
+
};
|
|
464
1051
|
/** @returns {GetReportListData} */
|
|
465
1052
|
declare function GetReportListData(): GetReportListData;
|
|
466
1053
|
type GetReportListData = {
|
|
@@ -472,6 +1059,14 @@ declare function GetReportListRequest(): GetReportListRequest;
|
|
|
472
1059
|
type GetReportListRequest = {
|
|
473
1060
|
data?: GetReportListData;
|
|
474
1061
|
};
|
|
1062
|
+
/** @returns {GetReportListResponse} */
|
|
1063
|
+
declare function GetReportListResponse(): GetReportListResponse;
|
|
1064
|
+
type GetReportListResponse = {
|
|
1065
|
+
items?: ReportItem[];
|
|
1066
|
+
page?: Page;
|
|
1067
|
+
success?: boolean;
|
|
1068
|
+
total_count?: number;
|
|
1069
|
+
};
|
|
475
1070
|
/** @returns {InoviceListingPayloadDataFilters} */
|
|
476
1071
|
declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
|
|
477
1072
|
type InoviceListingPayloadDataFilters = {
|
|
@@ -556,6 +1151,29 @@ type InvoiceTypeResponseItems = {
|
|
|
556
1151
|
text?: string;
|
|
557
1152
|
value?: string;
|
|
558
1153
|
};
|
|
1154
|
+
/** @returns {IsCnRefundMethodData} */
|
|
1155
|
+
declare function IsCnRefundMethodData(): IsCnRefundMethodData;
|
|
1156
|
+
type IsCnRefundMethodData = {
|
|
1157
|
+
affiliate_id?: string;
|
|
1158
|
+
seller_id?: number;
|
|
1159
|
+
toggle_edit_required?: boolean;
|
|
1160
|
+
};
|
|
1161
|
+
/** @returns {IsCnRefundMethodRequest} */
|
|
1162
|
+
declare function IsCnRefundMethodRequest(): IsCnRefundMethodRequest;
|
|
1163
|
+
type IsCnRefundMethodRequest = {
|
|
1164
|
+
data?: IsCnRefundMethodData;
|
|
1165
|
+
};
|
|
1166
|
+
/** @returns {IsCnRefundMethodResponse} */
|
|
1167
|
+
declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
|
|
1168
|
+
type IsCnRefundMethodResponse = {
|
|
1169
|
+
data?: IsCnRefundMethodResponseData;
|
|
1170
|
+
success?: boolean;
|
|
1171
|
+
};
|
|
1172
|
+
/** @returns {IsCnRefundMethodResponseData} */
|
|
1173
|
+
declare function IsCnRefundMethodResponseData(): IsCnRefundMethodResponseData;
|
|
1174
|
+
type IsCnRefundMethodResponseData = {
|
|
1175
|
+
is_first_time_user?: boolean;
|
|
1176
|
+
};
|
|
559
1177
|
/** @returns {IsCreditlinePayload} */
|
|
560
1178
|
declare function IsCreditlinePayload(): IsCreditlinePayload;
|
|
561
1179
|
type IsCreditlinePayload = {
|
|
@@ -611,6 +1229,36 @@ type PaymentProcessResponse = {
|
|
|
611
1229
|
redirect_url?: string;
|
|
612
1230
|
transaction_id?: string;
|
|
613
1231
|
};
|
|
1232
|
+
/** @returns {ReasonItem} */
|
|
1233
|
+
declare function ReasonItem(): ReasonItem;
|
|
1234
|
+
type ReasonItem = {
|
|
1235
|
+
display_name?: string;
|
|
1236
|
+
id?: string;
|
|
1237
|
+
name?: string;
|
|
1238
|
+
};
|
|
1239
|
+
/** @returns {RedemptionDetails} */
|
|
1240
|
+
declare function RedemptionDetails(): RedemptionDetails;
|
|
1241
|
+
type RedemptionDetails = {
|
|
1242
|
+
amount_debited?: number;
|
|
1243
|
+
created_at?: string;
|
|
1244
|
+
invoice_number?: string;
|
|
1245
|
+
order_id?: string;
|
|
1246
|
+
ordering_channel?: string;
|
|
1247
|
+
shipment_id?: string;
|
|
1248
|
+
staff_id?: string;
|
|
1249
|
+
store_id?: string;
|
|
1250
|
+
};
|
|
1251
|
+
/** @returns {ReportItem} */
|
|
1252
|
+
declare function ReportItem(): ReportItem;
|
|
1253
|
+
type ReportItem = {
|
|
1254
|
+
allowed_filters?: string[];
|
|
1255
|
+
config_meta?: any;
|
|
1256
|
+
description?: string;
|
|
1257
|
+
display_date?: string;
|
|
1258
|
+
id?: string;
|
|
1259
|
+
name?: string;
|
|
1260
|
+
report_type?: string;
|
|
1261
|
+
};
|
|
614
1262
|
/** @returns {UnpaidInvoiceDataItems} */
|
|
615
1263
|
declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
|
|
616
1264
|
type UnpaidInvoiceDataItems = {
|