@gofynd/fdk-client-javascript 3.1.0-beta.1 → 3.2.0
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 +2 -2
- package/sdk/application/ApplicationClient.d.ts +2 -0
- package/sdk/application/ApplicationClient.js +2 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +81 -101
- package/sdk/application/Cart/CartApplicationClient.js +173 -511
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +110 -110
- package/sdk/application/Catalog/CatalogApplicationClient.js +214 -447
- package/sdk/application/Common/CommonApplicationClient.d.ts +4 -4
- package/sdk/application/Common/CommonApplicationClient.js +4 -19
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -43
- package/sdk/application/Communication/CommunicationApplicationClient.js +4 -214
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +41 -54
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +39 -192
- package/sdk/application/Content/ContentApplicationClient.d.ts +61 -61
- package/sdk/application/Content/ContentApplicationClient.js +183 -366
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +2 -2
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +11 -30
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +29 -0
- package/sdk/application/Finance/FinanceApplicationClient.js +111 -0
- package/sdk/application/Lead/LeadApplicationClient.d.ts +6 -6
- package/sdk/application/Lead/LeadApplicationClient.js +24 -55
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +28 -117
- package/sdk/application/Logistic/LogisticApplicationClient.js +99 -492
- package/sdk/application/Order/OrderApplicationClient.d.ts +31 -51
- package/sdk/application/Order/OrderApplicationClient.js +89 -293
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +108 -218
- package/sdk/application/Payment/PaymentApplicationClient.js +100 -1081
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationClient.js +13 -66
- package/sdk/application/Share/ShareApplicationClient.d.ts +11 -11
- package/sdk/application/Share/ShareApplicationClient.js +35 -89
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +5 -25
- package/sdk/application/Theme/ThemeApplicationClient.js +24 -150
- package/sdk/application/User/UserApplicationClient.d.ts +23 -13
- package/sdk/application/User/UserApplicationClient.js +49 -407
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +4 -4
- package/sdk/application/Webhook/WebhookApplicationClient.js +4 -11
- package/sdk/common/Utility.d.ts +1 -1
- package/sdk/common/Utility.js +10 -7
- package/sdk/common/Validator.d.ts +1 -0
- package/sdk/common/Validator.js +20 -0
- package/sdk/common/utils.d.ts +0 -1
- package/sdk/common/utils.js +0 -14
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +10 -54
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +32 -364
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +54 -1
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +43 -0
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.d.ts +1 -5
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -35
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +5 -5
- package/sdk/partner/Lead/LeadPartnerClient.js +4 -4
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +52 -98
- package/sdk/partner/Lead/LeadPartnerModel.js +76 -100
- package/sdk/partner/Lead/LeadPartnerValidator.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +172 -41
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +1222 -85
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +1921 -297
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +973 -258
- package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +13 -1
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +148 -16
- package/sdk/partner/PartnerClient.d.ts +0 -6
- package/sdk/partner/PartnerClient.js +0 -9
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +21 -63
- package/sdk/partner/Theme/ThemePartnerClient.js +67 -392
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +72 -104
- package/sdk/partner/Theme/ThemePartnerModel.js +75 -101
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -5
- package/sdk/partner/Theme/ThemePartnerValidator.js +12 -42
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +18 -18
- package/sdk/partner/Webhook/WebhookPartnerClient.js +18 -18
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +673 -189
- package/sdk/partner/Webhook/WebhookPartnerModel.js +270 -159
- package/sdk/partner/Webhook/WebhookPartnerValidator.js +3 -3
- package/sdk/partner/index.d.ts +0 -3
- package/sdk/partner/index.js +0 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +4 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +3 -3
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +2 -32
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +3 -243
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +49 -145
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +20 -171
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -39
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +0 -35
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +12 -12
- package/sdk/platform/Billing/BillingPlatformClient.js +15 -15
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +443 -388
- package/sdk/platform/Billing/BillingPlatformModel.js +280 -263
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +16 -18
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -9
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +172 -251
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +577 -648
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +270 -165
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +192 -108
- package/sdk/platform/Cart/CartPlatformModel.d.ts +4554 -3154
- package/sdk/platform/Cart/CartPlatformModel.js +1935 -2854
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +380 -976
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2004 -6464
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +161 -1082
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +80 -884
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +568 -325
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1560 -1162
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +9772 -7871
- package/sdk/platform/Catalog/CatalogPlatformModel.js +6978 -9516
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +231 -240
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +180 -188
- package/sdk/platform/Common/CommonPlatformClient.d.ts +6 -5
- package/sdk/platform/Common/CommonPlatformClient.js +6 -5
- package/sdk/platform/Common/CommonPlatformModel.d.ts +19 -25
- package/sdk/platform/Common/CommonPlatformModel.js +11 -14
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +240 -376
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +589 -874
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +139 -170
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +126 -145
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +3 -56
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -307
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +330 -502
- package/sdk/platform/Communication/CommunicationPlatformModel.js +376 -610
- package/sdk/platform/Communication/CommunicationPlatformValidator.d.ts +3 -62
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +2 -48
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +72 -100
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +88 -146
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +270 -241
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +248 -226
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +20 -31
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +20 -25
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +117 -332
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +409 -1470
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +55 -158
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +41 -163
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +65 -142
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +103 -568
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +562 -1289
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +368 -1037
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +34 -80
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +24 -79
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +302 -248
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1292 -773
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +330 -218
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +325 -208
- package/sdk/platform/Content/ContentPlatformClient.d.ts +279 -118
- package/sdk/platform/Content/ContentPlatformClient.js +1617 -492
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2391 -924
- package/sdk/platform/Content/ContentPlatformModel.js +1314 -970
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +272 -134
- package/sdk/platform/Content/ContentPlatformValidator.js +295 -118
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +53 -43
- package/sdk/platform/Discount/DiscountPlatformClient.js +53 -43
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +383 -110
- package/sdk/platform/Discount/DiscountPlatformModel.js +117 -108
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +56 -36
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -19
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -163
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -1078
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +5 -141
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +4 -177
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +30 -1123
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +24 -1135
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +17 -17
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +33 -33
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +19 -19
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +14 -14
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +24 -4
- package/sdk/platform/Lead/LeadPlatformClient.js +160 -4
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +60 -140
- package/sdk/platform/Lead/LeadPlatformModel.js +81 -162
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +29 -3
- package/sdk/platform/Lead/LeadPlatformValidator.js +28 -2
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +19 -98
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +27 -662
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +91 -118
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -127
- package/sdk/platform/Order/OrderPlatformClient.d.ts +406 -403
- package/sdk/platform/Order/OrderPlatformClient.js +1200 -1343
- package/sdk/platform/Order/OrderPlatformModel.d.ts +8665 -4505
- package/sdk/platform/Order/OrderPlatformModel.js +4088 -3601
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +666 -442
- package/sdk/platform/Order/OrderPlatformValidator.js +353 -312
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +9 -7
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +67 -19
- package/sdk/platform/Partner/PartnerPlatformModel.js +26 -17
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +135 -382
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +937 -2452
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +100 -306
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +74 -305
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +56 -66
- package/sdk/platform/Payment/PaymentPlatformClient.js +124 -269
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +1307 -3536
- package/sdk/platform/Payment/PaymentPlatformModel.js +1389 -3692
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +35 -64
- package/sdk/platform/Payment/PaymentPlatformValidator.js +34 -60
- package/sdk/platform/PlatformClient.d.ts +0 -2
- package/sdk/platform/PlatformClient.js +0 -4
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.js +10 -10
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +64 -136
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +111 -521
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +75 -117
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +50 -105
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +160 -149
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +766 -545
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +6196 -3978
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +3181 -3895
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +294 -220
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +205 -149
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -4
- package/sdk/platform/Share/SharePlatformApplicationClient.js +86 -8
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +23 -6
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +16 -3
- package/sdk/platform/Share/SharePlatformModel.d.ts +53 -9
- package/sdk/platform/Share/SharePlatformModel.js +45 -5
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +17 -37
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +66 -204
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +25 -26
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +20 -31
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -18
- package/sdk/platform/Theme/ThemePlatformClient.js +8 -85
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +17 -425
- package/sdk/platform/Theme/ThemePlatformModel.js +23 -329
- package/sdk/platform/Theme/ThemePlatformValidator.d.ts +3 -7
- package/sdk/platform/Theme/ThemePlatformValidator.js +2 -9
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +81 -18
- package/sdk/platform/User/UserPlatformApplicationClient.js +491 -27
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +126 -10
- package/sdk/platform/User/UserPlatformApplicationValidator.js +92 -7
- package/sdk/platform/User/UserPlatformModel.d.ts +317 -218
- package/sdk/platform/User/UserPlatformModel.js +253 -210
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +25 -78
- package/sdk/platform/Webhook/WebhookPlatformClient.js +75 -470
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +813 -426
- package/sdk/platform/Webhook/WebhookPlatformModel.js +446 -395
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -55
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +12 -72
- package/sdk/platform/index.d.ts +0 -1
- package/sdk/platform/index.js +0 -2
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +22 -0
- package/sdk/public/Catalog/CatalogPublicClient.js +133 -0
- package/sdk/public/Catalog/CatalogPublicModel.d.ts +158 -0
- package/sdk/public/Catalog/CatalogPublicModel.js +116 -0
- package/sdk/public/Catalog/CatalogPublicValidator.d.ts +55 -0
- package/sdk/public/Catalog/CatalogPublicValidator.js +35 -0
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +4 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.js +10 -113
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +46 -114
- package/sdk/public/Configuration/ConfigurationPublicModel.js +32 -117
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -11
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +0 -12
- package/sdk/public/Content/ContentPublicClient.d.ts +36 -25
- package/sdk/public/Content/ContentPublicClient.js +254 -280
- package/sdk/public/Content/ContentPublicModel.d.ts +151 -38
- package/sdk/public/Content/ContentPublicModel.js +98 -44
- package/sdk/public/Content/ContentPublicValidator.d.ts +18 -17
- package/sdk/public/Content/ContentPublicValidator.js +26 -19
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +6 -11
- package/sdk/public/Partner/PartnerPublicModel.d.ts +248 -72
- package/sdk/public/Partner/PartnerPublicModel.js +81 -71
- package/sdk/public/Partner/PartnerPublicValidator.d.ts +2 -2
- package/sdk/public/Partner/PartnerPublicValidator.js +1 -1
- package/sdk/public/PublicClient.d.ts +2 -0
- package/sdk/public/PublicClient.js +4 -0
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +8 -8
- package/sdk/public/Webhook/WebhookPublicClient.js +9 -48
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +215 -67
- package/sdk/public/Webhook/WebhookPublicModel.js +66 -61
- package/sdk/public/Webhook/WebhookPublicValidator.d.ts +4 -4
- package/sdk/public/Webhook/WebhookPublicValidator.js +4 -4
- package/sdk/public/index.d.ts +1 -0
- package/sdk/public/index.js +2 -0
- package/sdk/partner/Authorization/AuthorizationPartnerClient.d.ts +0 -66
- package/sdk/partner/Authorization/AuthorizationPartnerClient.js +0 -431
- package/sdk/partner/Authorization/AuthorizationPartnerModel.d.ts +0 -231
- package/sdk/partner/Authorization/AuthorizationPartnerModel.js +0 -152
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.d.ts +0 -8
- package/sdk/partner/Authorization/AuthorizationPartnerValidator.js +0 -39
- package/sdk/partner/Catalog/CatalogPartnerClient.d.ts +0 -26
- package/sdk/partner/Catalog/CatalogPartnerClient.js +0 -173
- package/sdk/partner/Catalog/CatalogPartnerModel.d.ts +0 -238
- package/sdk/partner/Catalog/CatalogPartnerModel.js +0 -248
- package/sdk/partner/Catalog/CatalogPartnerValidator.d.ts +0 -5
- package/sdk/partner/Catalog/CatalogPartnerValidator.js +0 -19
- package/sdk/partner/Payment/PaymentPartnerClient.d.ts +0 -116
- package/sdk/partner/Payment/PaymentPartnerClient.js +0 -857
- package/sdk/partner/Payment/PaymentPartnerModel.d.ts +0 -388
- package/sdk/partner/Payment/PaymentPartnerModel.js +0 -442
- package/sdk/partner/Payment/PaymentPartnerValidator.d.ts +0 -14
- package/sdk/partner/Payment/PaymentPartnerValidator.js +0 -74
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -320
- package/sdk/platform/Finance/FinancePlatformClient.js +0 -2333
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +0 -2895
- package/sdk/platform/Finance/FinancePlatformModel.js +0 -2150
- package/sdk/platform/Finance/FinancePlatformValidator.d.ts +0 -284
- package/sdk/platform/Finance/FinancePlatformValidator.js +0 -354
|
@@ -1,2895 +0,0 @@
|
|
|
1
|
-
export = FinancePlatformModel;
|
|
2
|
-
/**
|
|
3
|
-
* @typedef OrederFreezeResponse
|
|
4
|
-
* @property {boolean} [success] - Indicates whether the operation was successful or not.
|
|
5
|
-
* @property {boolean} [oms_freeze] - Flag indicating if the system is frozen
|
|
6
|
-
* for order management.
|
|
7
|
-
* @property {string} [source] - Optional field indicating the data source of
|
|
8
|
-
* the information.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* @typedef GenerateReportMeta
|
|
12
|
-
* @property {string} [brand] - The brand name associated with the report meta
|
|
13
|
-
* information.
|
|
14
|
-
* @property {string} [company] - The company name associated with the report
|
|
15
|
-
* meta information.
|
|
16
|
-
* @property {string} [channel] - The sale channel name associated with seller.
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* @typedef GenerateReportFilters
|
|
20
|
-
* @property {string[]} [brand] - An array of brand names to filter the report data.
|
|
21
|
-
* @property {string[]} [company] - An array of company id to filter the report data.
|
|
22
|
-
* @property {string[]} [channel] - An array of sale channel names associated
|
|
23
|
-
* with seller to filter the report data.
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* @typedef GenerateReportPlatform
|
|
27
|
-
* @property {string} [start_date] - The start date to generate report specific preiod.
|
|
28
|
-
* @property {string} [end_date] - The end date to generate report specific preiod.
|
|
29
|
-
* @property {GenerateReportMeta} [meta]
|
|
30
|
-
* @property {string} [report_id] - The unique identifier of the generate report
|
|
31
|
-
* where different report configure.
|
|
32
|
-
* @property {GenerateReportFilters} [filters]
|
|
33
|
-
*/
|
|
34
|
-
/**
|
|
35
|
-
* @typedef GenerateReportReq
|
|
36
|
-
* @property {GenerateReportPlatform} [data]
|
|
37
|
-
*/
|
|
38
|
-
/**
|
|
39
|
-
* @typedef Page
|
|
40
|
-
* @property {number} [item_total] - The total number of items on the page.
|
|
41
|
-
* @property {string} [next_id] - The identifier for the next page.
|
|
42
|
-
* @property {boolean} [has_previous] - Indicates whether there is a previous page.
|
|
43
|
-
* @property {boolean} [has_next] - Indicates whether there is a next page.
|
|
44
|
-
* @property {number} [current] - The current page number.
|
|
45
|
-
* @property {string} type - The type of the page, such as 'PageType'.
|
|
46
|
-
* @property {number} [size] - The number of items per page.
|
|
47
|
-
* @property {number} [total] - Total number of items.
|
|
48
|
-
*/
|
|
49
|
-
/**
|
|
50
|
-
* @typedef Currency
|
|
51
|
-
* @property {string} [code] - The unique currency code.
|
|
52
|
-
* @property {string} [symbol] - The unique currency symbol.
|
|
53
|
-
* @property {string} [name] - The unique currency name.
|
|
54
|
-
*/
|
|
55
|
-
/**
|
|
56
|
-
* @typedef GenerateReportJson
|
|
57
|
-
* @property {Object} [data]
|
|
58
|
-
* @property {number} [item_count] - Total number of items in the report.
|
|
59
|
-
* @property {Page} [page]
|
|
60
|
-
* @property {string} [end_date] - The end date to generate report specific preiod.
|
|
61
|
-
* @property {string} [start_date] - The start date to generate report specific preiod.
|
|
62
|
-
* @property {string[][]} [items] - Nested array structure representing report
|
|
63
|
-
* items or data.
|
|
64
|
-
* @property {string[]} [headers] - Headers describing each item in the report data.
|
|
65
|
-
*/
|
|
66
|
-
/**
|
|
67
|
-
* @typedef Error
|
|
68
|
-
* @property {number} [status]
|
|
69
|
-
* @property {string} [reason]
|
|
70
|
-
* @property {boolean} [success]
|
|
71
|
-
* @property {string} [message]
|
|
72
|
-
* @property {string} [code]
|
|
73
|
-
* @property {string} [exception]
|
|
74
|
-
* @property {string} [info]
|
|
75
|
-
* @property {string} [request_id]
|
|
76
|
-
* @property {string} [stack_trace]
|
|
77
|
-
* @property {ErrorMeta} [meta]
|
|
78
|
-
*/
|
|
79
|
-
/**
|
|
80
|
-
* @typedef ErrorMeta
|
|
81
|
-
* @property {ErrorMetaItems[]} [columns_errors]
|
|
82
|
-
*/
|
|
83
|
-
/**
|
|
84
|
-
* @typedef ErrorMetaItems
|
|
85
|
-
* @property {number} [code]
|
|
86
|
-
* @property {string} [message]
|
|
87
|
-
*/
|
|
88
|
-
/**
|
|
89
|
-
* @typedef DownloadReport
|
|
90
|
-
* @property {DownloadReportData} [data]
|
|
91
|
-
*/
|
|
92
|
-
/**
|
|
93
|
-
* @typedef DownloadReportData
|
|
94
|
-
* @property {number} [page] - The current page number of the report.
|
|
95
|
-
* @property {number} [page_size] - The number of items displayed per page.
|
|
96
|
-
* @property {string} [start_date] - The start date for fetching the report
|
|
97
|
-
* history for download.
|
|
98
|
-
* @property {string} [end_date] - The end date for fetching the report history
|
|
99
|
-
* for download.
|
|
100
|
-
*/
|
|
101
|
-
/**
|
|
102
|
-
* @typedef DownloadReportItems
|
|
103
|
-
* @property {string} [start_date] - The start date for the report item.
|
|
104
|
-
* @property {string} [end_date] - The end date for the report item.
|
|
105
|
-
* @property {GenerateReportMeta} [meta]
|
|
106
|
-
* @property {string} [report_id] - The unique identifier of the report item.
|
|
107
|
-
* @property {GenerateReportFilters} [filters]
|
|
108
|
-
*/
|
|
109
|
-
/**
|
|
110
|
-
* @typedef DownloadReportList
|
|
111
|
-
* @property {DownloadReportItems[]} [items] - A list of report items available
|
|
112
|
-
* for download.
|
|
113
|
-
* @property {Page} [page]
|
|
114
|
-
* @property {number} [item_count] - The total number of items in the report list.
|
|
115
|
-
*/
|
|
116
|
-
/**
|
|
117
|
-
* @typedef GetEngineFilters
|
|
118
|
-
* @property {string} [config_field] - The configuration field used for filtering.
|
|
119
|
-
* @property {string} [status] - The status used for filtering.
|
|
120
|
-
* @property {boolean} [is_active] - Flag indicating if the filter is active.
|
|
121
|
-
* @property {string} [seller_id] - The seller ID used for filtering.
|
|
122
|
-
*/
|
|
123
|
-
/**
|
|
124
|
-
* @typedef GetEngineData
|
|
125
|
-
* @property {string} [status] - Status of the request.
|
|
126
|
-
* @property {GetEngineFilters} [filters]
|
|
127
|
-
* @property {string[]} [project] - A list of fields to get data from tables.
|
|
128
|
-
* @property {string} [table_name] - The name of the table from which to retrieve data.
|
|
129
|
-
* @property {Object} [search] - Search criteria for querying on given table
|
|
130
|
-
* specific fields.
|
|
131
|
-
* @property {number} [page] - The current page number for pagination.
|
|
132
|
-
* @property {number} [page_size] - The number of items displayed per page.
|
|
133
|
-
* @property {string} [order_by] - The field by which to order the results.
|
|
134
|
-
*/
|
|
135
|
-
/**
|
|
136
|
-
* @typedef GetEngineReq
|
|
137
|
-
* @property {GetEngineData} [data]
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* @typedef GetEngineResponse
|
|
141
|
-
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
142
|
-
* @property {Object[]} [items] - A list of items returned by the request.
|
|
143
|
-
* @property {Page} [page]
|
|
144
|
-
* @property {number} [item_count] - The total number of items returned by the request.
|
|
145
|
-
*/
|
|
146
|
-
/**
|
|
147
|
-
* @typedef GetReason
|
|
148
|
-
* @property {string} [reason_type] - The type of reason associated with the request.
|
|
149
|
-
*/
|
|
150
|
-
/**
|
|
151
|
-
* @typedef GetReasonReq
|
|
152
|
-
* @property {GetReason} [data]
|
|
153
|
-
*/
|
|
154
|
-
/**
|
|
155
|
-
* @typedef ReasonItem
|
|
156
|
-
* @property {string} [id] - Id of the reason for reason_type.
|
|
157
|
-
* @property {string} [name] - Code of the reason for reason_type.
|
|
158
|
-
* @property {string} [display_name] - Display name of the reason for reason_type.
|
|
159
|
-
*/
|
|
160
|
-
/**
|
|
161
|
-
* @typedef GetReasonResponse
|
|
162
|
-
* @property {boolean} [success] - Indicates whether the request was successfull.
|
|
163
|
-
* @property {ReasonItem[]} [item_list] - The list of items returned in the response.
|
|
164
|
-
* @property {number} [item_count] - The number of items in the response.
|
|
165
|
-
* @property {Page} [page]
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* @typedef GetReportListData
|
|
169
|
-
* @property {string} [role_name] - The name of the role requesting the report list.
|
|
170
|
-
* @property {boolean} [listing_enabled] - Indicates whether listing is enabled
|
|
171
|
-
* for the role.
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* @typedef GetReportListReq
|
|
175
|
-
* @property {GetReportListData} [data]
|
|
176
|
-
*/
|
|
177
|
-
/**
|
|
178
|
-
* @typedef GetReportListResponse
|
|
179
|
-
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
180
|
-
* @property {ReportItem[]} [items] - The list of report items.
|
|
181
|
-
* @property {Page} [page]
|
|
182
|
-
* @property {number} [total_count] - The total number of items in the report list.
|
|
183
|
-
*/
|
|
184
|
-
/**
|
|
185
|
-
* @typedef ReportItem
|
|
186
|
-
* @property {string} [id] - The unique identifier for the report item.
|
|
187
|
-
* @property {string} [name] - The name of the report item.
|
|
188
|
-
* @property {string} [description] - A brief description of the report item.
|
|
189
|
-
* @property {string[]} [allowed_filters] - The filters that can be applied to
|
|
190
|
-
* the report item.
|
|
191
|
-
* @property {Object} [config_meta] - Metadata related to the report item configuration.
|
|
192
|
-
* @property {string} [report_type] - The type of the report item.
|
|
193
|
-
* @property {string} [display_date] - The display date of the report item, if applicable.
|
|
194
|
-
*/
|
|
195
|
-
/**
|
|
196
|
-
* @typedef GetAffiliate
|
|
197
|
-
* @property {number} [company_id] - The unique identifier of the company
|
|
198
|
-
* associated with the affiliate.
|
|
199
|
-
*/
|
|
200
|
-
/**
|
|
201
|
-
* @typedef GetAffiliateResponse
|
|
202
|
-
* @property {string} [reason] - The reason for the response, if applicable.
|
|
203
|
-
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
204
|
-
* @property {Object[]} [docs] - List of items or data related to the affiliate.
|
|
205
|
-
*/
|
|
206
|
-
/**
|
|
207
|
-
* @typedef DownloadCreditDebitNote
|
|
208
|
-
* @property {string[]} [note_id] - List of unique identifiers for the
|
|
209
|
-
* credit/debit notes to be download.
|
|
210
|
-
*/
|
|
211
|
-
/**
|
|
212
|
-
* @typedef DownloadCreditDebitNoteReq
|
|
213
|
-
* @property {DownloadCreditDebitNote} [data]
|
|
214
|
-
*/
|
|
215
|
-
/**
|
|
216
|
-
* @typedef DownloadCreditDebitNoteResponseData
|
|
217
|
-
* @property {string} [id] - The unique identifier of the download credit/debit note.
|
|
218
|
-
* @property {string} [pdf_s3_url] - The URL where the PDF of the credit/debit
|
|
219
|
-
* note is stored.
|
|
220
|
-
*/
|
|
221
|
-
/**
|
|
222
|
-
* @typedef DownloadCreditDebitNoteResponse
|
|
223
|
-
* @property {boolean} [success] - Indicates whether the request to download the
|
|
224
|
-
* credit/debit notes was successful.
|
|
225
|
-
* @property {DownloadCreditDebitNoteResponseData[]} [data] - List of
|
|
226
|
-
* credit/debit notes download data.
|
|
227
|
-
*/
|
|
228
|
-
/**
|
|
229
|
-
* @typedef InvoiceBillingItem
|
|
230
|
-
* @property {string} [invoice_number] - The number of the invoice associated
|
|
231
|
-
* with the billing item.
|
|
232
|
-
* @property {number} [amount] - The amount of the billing item.
|
|
233
|
-
*/
|
|
234
|
-
/**
|
|
235
|
-
* @typedef PaymentProcessPayload
|
|
236
|
-
* @property {string} [platform] - The platform through which the payment is processed.
|
|
237
|
-
* @property {number} [amount] - The total amount to be processed in the payment.
|
|
238
|
-
* @property {string} [transaction_type] - The type of transaction (e.g., seller_online).
|
|
239
|
-
* @property {string} [source_reference] - The reference for the source of the payment.
|
|
240
|
-
* @property {number} [total_amount] - The total amount to be processed in the payment.
|
|
241
|
-
* @property {Object} [meta] - Additional metadata related to the payment.
|
|
242
|
-
* @property {string} [currency] - The currency in which the payment is made.
|
|
243
|
-
* @property {string} [seller_id] - The unique identifier for the seller
|
|
244
|
-
* receiving the payment.
|
|
245
|
-
* @property {string} [mode_of_payment] - The mode of payment (e.g., online).
|
|
246
|
-
* @property {InvoiceBillingItem[]} [invoice_billing_items]
|
|
247
|
-
*/
|
|
248
|
-
/**
|
|
249
|
-
* @typedef PaymentProcessReq
|
|
250
|
-
* @property {PaymentProcessPayload} [data]
|
|
251
|
-
*/
|
|
252
|
-
/**
|
|
253
|
-
* @typedef PaymentProcessResponse
|
|
254
|
-
* @property {number} [code] - Response code indicating the status of the payment process.
|
|
255
|
-
* @property {string} [message] - A message providing additional information
|
|
256
|
-
* about the payment process response.
|
|
257
|
-
* @property {Object} [meta] - Additional metadata related to the payment
|
|
258
|
-
* process response.
|
|
259
|
-
* @property {string} [transaction_id] - The unique identifier for the payment
|
|
260
|
-
* transaction.
|
|
261
|
-
* @property {string} [redirect_url] - URL to redirect the user to complete the
|
|
262
|
-
* payment process, if applicable.
|
|
263
|
-
*/
|
|
264
|
-
/**
|
|
265
|
-
* @typedef CreditlineDataPlatformPayload
|
|
266
|
-
* @property {number} [page] - The page number for pagination.
|
|
267
|
-
* @property {string} [seller_id] - The unique identifier for the seller.
|
|
268
|
-
* @property {string} [end_date] - The end date for the query.
|
|
269
|
-
* @property {string} [start_date] - The start date for the query.
|
|
270
|
-
* @property {number} [page_size] - The number of items per page.
|
|
271
|
-
*/
|
|
272
|
-
/**
|
|
273
|
-
* @typedef CreditlineDataPlatformReq
|
|
274
|
-
* @property {CreditlineDataPlatformPayload} [data]
|
|
275
|
-
*/
|
|
276
|
-
/**
|
|
277
|
-
* @typedef CreditlineDataPlatformResponse
|
|
278
|
-
* @property {Object[]} [items] - The list of items in the response.
|
|
279
|
-
* @property {number} [code] - The response status code.
|
|
280
|
-
* @property {boolean} [show_mr] - A flag indicating whether to show MR (some
|
|
281
|
-
* specific field).
|
|
282
|
-
* @property {Page} [page]
|
|
283
|
-
* @property {string} [message] - The response message.
|
|
284
|
-
* @property {string[]} [headers] - The list of response headers.
|
|
285
|
-
* @property {number} [item_count] - The total number of items.
|
|
286
|
-
*/
|
|
287
|
-
/**
|
|
288
|
-
* @typedef IsCreditlinePayload
|
|
289
|
-
* @property {string} [seller_id] - The unique identifier for the seller to
|
|
290
|
-
* check for credit line eligibility.
|
|
291
|
-
*/
|
|
292
|
-
/**
|
|
293
|
-
* @typedef IsCreditlinePlatformReq
|
|
294
|
-
* @property {IsCreditlinePayload} [data]
|
|
295
|
-
*/
|
|
296
|
-
/**
|
|
297
|
-
* @typedef IsCreditlinePlatformResponse
|
|
298
|
-
* @property {boolean} [is_creditline_opted] - Indicates whether the seller has
|
|
299
|
-
* opted for a credit line.
|
|
300
|
-
* @property {number} [code] - Response code indicating the status of the credit
|
|
301
|
-
* line check.
|
|
302
|
-
*/
|
|
303
|
-
/**
|
|
304
|
-
* @typedef InvoiceTypePayloadData
|
|
305
|
-
* @property {boolean} [is_active] - Indicates if the invoice type is active.
|
|
306
|
-
*/
|
|
307
|
-
/**
|
|
308
|
-
* @typedef InvoiceTypeReq
|
|
309
|
-
* @property {InvoiceTypePayloadData} [data]
|
|
310
|
-
*/
|
|
311
|
-
/**
|
|
312
|
-
* @typedef InvoiceTypeResponseItems
|
|
313
|
-
* @property {string} [text] - The text description of the invoice type.
|
|
314
|
-
* @property {string} [value] - The value or code representing the invoice type.
|
|
315
|
-
*/
|
|
316
|
-
/**
|
|
317
|
-
* @typedef InvoiceTypeResponse
|
|
318
|
-
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
319
|
-
* @property {InvoiceTypeResponseItems[]} [invoice_type_list] - List of invoice
|
|
320
|
-
* types available.
|
|
321
|
-
* @property {InvoiceTypeResponseItems[]} [payment_status_list] - List of
|
|
322
|
-
* payment statuses available.
|
|
323
|
-
*/
|
|
324
|
-
/**
|
|
325
|
-
* @typedef InoviceListingPayloadDataFilters
|
|
326
|
-
* @property {string[]} [payment_status] - List of payment statuses to filter by.
|
|
327
|
-
* @property {string[]} [invoice_type] - List of invoice types to filter by.
|
|
328
|
-
* @property {string[]} [company_id] - List of company IDs to filter by.
|
|
329
|
-
*/
|
|
330
|
-
/**
|
|
331
|
-
* @typedef InvoiceListingPayloadData
|
|
332
|
-
* @property {number} [page_size] - The number of items per page for pagination.
|
|
333
|
-
* @property {number} [page] - The page number for pagination.
|
|
334
|
-
* @property {string} [start_date] - The start date for the invoice listing filter.
|
|
335
|
-
* @property {string} [end_date] - The end date for the invoice listing filter.
|
|
336
|
-
* @property {string} [search] - Search term for filtering invoices.
|
|
337
|
-
* @property {InoviceListingPayloadDataFilters} [filters]
|
|
338
|
-
*/
|
|
339
|
-
/**
|
|
340
|
-
* @typedef InvoiceListingReq
|
|
341
|
-
* @property {InvoiceListingPayloadData} [data]
|
|
342
|
-
*/
|
|
343
|
-
/**
|
|
344
|
-
* @typedef UnpaidInvoiceDataItems
|
|
345
|
-
* @property {number} [total_unpaid_invoice_count] - The total count of unpaid invoices.
|
|
346
|
-
* @property {string} [currency] - The currency used for unpaid invoices.
|
|
347
|
-
* @property {number} [total_unpaid_amount] - The total amount of unpaid invoices.
|
|
348
|
-
*/
|
|
349
|
-
/**
|
|
350
|
-
* @typedef InvoiceListingResponseItems
|
|
351
|
-
* @property {number} [amount] - The amount of the invoice.
|
|
352
|
-
* @property {string} [company] - The name of the company associated with the invoice.
|
|
353
|
-
* @property {string} [status] - The current status of the invoice (e.g.,
|
|
354
|
-
* 'paid', 'unpaid').
|
|
355
|
-
* @property {string} [due_date] - The due date of the invoice.
|
|
356
|
-
* @property {string} [invoice_date] - The date when the invoice was issued.
|
|
357
|
-
* @property {string} [invoice_type] - The type of invoice.
|
|
358
|
-
* @property {string} [period] - The period covered by the invoice.
|
|
359
|
-
* @property {string} [invoice_number] - The invoice number.
|
|
360
|
-
* @property {boolean} [is_downloadable] - Indicates if the invoice is available
|
|
361
|
-
* for download.
|
|
362
|
-
* @property {string} [invoice_id] - The unique identifier of the invoice.
|
|
363
|
-
* @property {Currency} [currency]
|
|
364
|
-
*/
|
|
365
|
-
/**
|
|
366
|
-
* @typedef InvoiceListingResponse
|
|
367
|
-
* @property {boolean} [success] - Indicates whether the request was successful.
|
|
368
|
-
* @property {string[]} [headers] - Headers related to the invoice listing response.
|
|
369
|
-
* @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
|
|
370
|
-
* @property {InvoiceListingResponseItems[]} [items] - List of invoice items in
|
|
371
|
-
* the response.
|
|
372
|
-
* @property {Page} [page]
|
|
373
|
-
* @property {number} [item_count] - The total number of invoice items in the response.
|
|
374
|
-
*/
|
|
375
|
-
/**
|
|
376
|
-
* @typedef InvoicePdfPayloadData
|
|
377
|
-
* @property {string[]} [invoice_number] - List of invoice numbers for which
|
|
378
|
-
* PDFs are requested.
|
|
379
|
-
*/
|
|
380
|
-
/**
|
|
381
|
-
* @typedef InvoicePdfReq
|
|
382
|
-
* @property {InvoicePdfPayloadData} [data]
|
|
383
|
-
*/
|
|
384
|
-
/**
|
|
385
|
-
* @typedef InvoicePdfResponse
|
|
386
|
-
* @property {boolean} [success] - Indicates whether the PDF generation request
|
|
387
|
-
* was successful.
|
|
388
|
-
* @property {string[]} [data] - List of URLs or paths to the generated PDF files.
|
|
389
|
-
* @property {string[]} [error] - List of errors encountered while generating the PDFs.
|
|
390
|
-
*/
|
|
391
|
-
/**
|
|
392
|
-
* @typedef IsCnRefundMethodData
|
|
393
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
394
|
-
* application as affiliate_id associated with the seller.
|
|
395
|
-
* @property {boolean} [toggle_edit_required] - Indicates whether editing the
|
|
396
|
-
* refund method is required.
|
|
397
|
-
* @property {number} [seller_id] - Unique identifier for the seller.
|
|
398
|
-
*/
|
|
399
|
-
/**
|
|
400
|
-
* @typedef IsCnRefundMethodReq
|
|
401
|
-
* @property {IsCnRefundMethodData} [data]
|
|
402
|
-
*/
|
|
403
|
-
/**
|
|
404
|
-
* @typedef IsCnRefundMethodResponseData
|
|
405
|
-
* @property {boolean} [is_first_time_user] - Indicates whether the seller for
|
|
406
|
-
* specific sale channel is using the refund method for the first time.
|
|
407
|
-
*/
|
|
408
|
-
/**
|
|
409
|
-
* @typedef IsCnRefundMethodResponse
|
|
410
|
-
* @property {boolean} [success] - Indicates whether the request to determine
|
|
411
|
-
* the refund method was successful.
|
|
412
|
-
* @property {IsCnRefundMethodResponseData} [data]
|
|
413
|
-
*/
|
|
414
|
-
/**
|
|
415
|
-
* @typedef CreditNoteConfigNotificationEvents
|
|
416
|
-
* @property {number} [expiration_reminder_to_customer] - Number of days before
|
|
417
|
-
* the expiration date to send a reminder notification to the customer.
|
|
418
|
-
*/
|
|
419
|
-
/**
|
|
420
|
-
* @typedef CreateSellerCreditNoteConfig
|
|
421
|
-
* @property {boolean} [is_cn_as_refund_method] - Indicates if the credit note
|
|
422
|
-
* is used as a refund method.
|
|
423
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
424
|
-
* application as affiliate_id associated with the seller.
|
|
425
|
-
* @property {string[]} [source_channel] - List of source channels associated
|
|
426
|
-
* with the credit note configuration.
|
|
427
|
-
* @property {number} [seller_id] - Unique identifier for the seller.
|
|
428
|
-
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
429
|
-
* @property {string} [sales_channel_name] - Name of the sales channel.
|
|
430
|
-
* @property {string[]} [ordering_channel] - List of ordering channels
|
|
431
|
-
* associated with the credit note configuration.
|
|
432
|
-
* @property {number} [validity] - Validity period of the credit note in days.
|
|
433
|
-
* @property {string} [currency_type] - Type of currency used for the credit note.
|
|
434
|
-
* @property {string[]} [slug_values] - List of slug values associated with the
|
|
435
|
-
* credit note configuration.
|
|
436
|
-
*/
|
|
437
|
-
/**
|
|
438
|
-
* @typedef CreateSellerCreditNoteConfigReq
|
|
439
|
-
* @property {CreateSellerCreditNoteConfig} [data]
|
|
440
|
-
*/
|
|
441
|
-
/**
|
|
442
|
-
* @typedef CreateSellerCreditNoteConfigResponse
|
|
443
|
-
* @property {boolean} [success] - Indicates if the credit note configuration
|
|
444
|
-
* creation was successful.
|
|
445
|
-
* @property {string} [message] - Additional information or message about the
|
|
446
|
-
* credit note configuration creation process.
|
|
447
|
-
*/
|
|
448
|
-
/**
|
|
449
|
-
* @typedef DeleteConfig
|
|
450
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
451
|
-
* application as affiliate_id associated with the seller.
|
|
452
|
-
* @property {string[]} [slug_values] - List of slug values associated with the
|
|
453
|
-
* credit note configuration.
|
|
454
|
-
* @property {number} [seller_id] - Unique identifier for the seller.
|
|
455
|
-
*/
|
|
456
|
-
/**
|
|
457
|
-
* @typedef DeleteConfigReq
|
|
458
|
-
* @property {DeleteConfig} [data]
|
|
459
|
-
*/
|
|
460
|
-
/**
|
|
461
|
-
* @typedef DeleteConfigResponse
|
|
462
|
-
* @property {boolean} [success] - Indicates if the configuration deletion was successful.
|
|
463
|
-
* @property {string} [message] - Additional information or message about the
|
|
464
|
-
* configuration deletion process.
|
|
465
|
-
*/
|
|
466
|
-
/**
|
|
467
|
-
* @typedef ChannelDisplayNameItems
|
|
468
|
-
* @property {string} [key] - The unique key identifying the channel.
|
|
469
|
-
* @property {string} [value] - The display name of the channel associated with the key.
|
|
470
|
-
*/
|
|
471
|
-
/**
|
|
472
|
-
* @typedef ChannelDisplayNameResponse
|
|
473
|
-
* @property {boolean} [success] - Indicates if the retrieval of channel display
|
|
474
|
-
* names was successful.
|
|
475
|
-
* @property {ChannelDisplayNameItems[]} [items] - List of items containing
|
|
476
|
-
* key-value pairs for channel display names.
|
|
477
|
-
*/
|
|
478
|
-
/**
|
|
479
|
-
* @typedef CnReferenceNumber
|
|
480
|
-
* @property {string} [cn_reference_number] - The unique reference number of the
|
|
481
|
-
* credit note.
|
|
482
|
-
*/
|
|
483
|
-
/**
|
|
484
|
-
* @typedef GetPdfUrlViewReq
|
|
485
|
-
* @property {CnReferenceNumber} [data]
|
|
486
|
-
*/
|
|
487
|
-
/**
|
|
488
|
-
* @typedef GetPdfUrlViewResponseData
|
|
489
|
-
* @property {string} [s3_pdf_link] - The URL link where credit nore pdf stored
|
|
490
|
-
* to view and download.
|
|
491
|
-
* @property {string} [cn_reference_number] - The unique reference number of the
|
|
492
|
-
* credit note.
|
|
493
|
-
*/
|
|
494
|
-
/**
|
|
495
|
-
* @typedef GetPdfUrlViewResponse
|
|
496
|
-
* @property {boolean} [success] - Indicates if the retrieval of the pdf URL was
|
|
497
|
-
* successful.
|
|
498
|
-
* @property {GetPdfUrlViewResponseData} [data]
|
|
499
|
-
*/
|
|
500
|
-
/**
|
|
501
|
-
* @typedef CreditNoteDetailsReq
|
|
502
|
-
* @property {CnReferenceNumber} [data]
|
|
503
|
-
*/
|
|
504
|
-
/**
|
|
505
|
-
* @typedef CnDetails
|
|
506
|
-
* @property {string} [staff_id] - ID of the staff member associated with the credit note.
|
|
507
|
-
* @property {string} [expiry_date] - Expiry date of the credit note.
|
|
508
|
-
* @property {string} [channel_of_issuance] - Channel through which the credit
|
|
509
|
-
* note was issued.
|
|
510
|
-
* @property {string} [order_id] - Order ID of order for which credit note created.
|
|
511
|
-
* @property {string} [date_issued] - Date when the credit note was issued.
|
|
512
|
-
* @property {string} [ordering_channel] - Ordering channel associated with the
|
|
513
|
-
* credit note.
|
|
514
|
-
* @property {string} [shipment_id] - Shipment Id associated with the credit note.
|
|
515
|
-
* @property {string} [store_id] - Store Id associated with the credit note.
|
|
516
|
-
* @property {string} [invoice_number] - Invoice number associated with the credit note.
|
|
517
|
-
*/
|
|
518
|
-
/**
|
|
519
|
-
* @typedef RedemptionDetails
|
|
520
|
-
* @property {Object} [meta] - Additional metadata related to the redemption details.
|
|
521
|
-
* @property {string} [staff_id] - ID of the staff member who processed the redemption.
|
|
522
|
-
* @property {string} [created_at] - Date and time when the redemption was processed.
|
|
523
|
-
* @property {string} [order_id] - Order Id of the order associated with the redemption.
|
|
524
|
-
* @property {string} [store_id] - Store Id of the order associated with the redemption.
|
|
525
|
-
* @property {string} [shipment_id] - Shipment Id of the order associated with
|
|
526
|
-
* the redemption.
|
|
527
|
-
* @property {string} [ordering_channel] - Ordering channel associated with the
|
|
528
|
-
* redemption.
|
|
529
|
-
* @property {number} [amount_debited] - Amount debited from the credit note
|
|
530
|
-
* during redemption.
|
|
531
|
-
* @property {string} [invoice_number] - Invoice number associated with the redemption.
|
|
532
|
-
*/
|
|
533
|
-
/**
|
|
534
|
-
* @typedef CreditNoteDetails
|
|
535
|
-
* @property {string} [currency] - Currency in which the credit note is issued.
|
|
536
|
-
* @property {number} [current_amount_used] - Current amount used from the credit note.
|
|
537
|
-
* @property {string} [cn_status] - Status of the credit note.
|
|
538
|
-
* @property {string} [customer_mobile_number] - Mobile number of the customer
|
|
539
|
-
* associated with the credit note.
|
|
540
|
-
* @property {string} [cn_reference_number] - Unique Credit number of the credit note.
|
|
541
|
-
* @property {CnDetails} [cn_details]
|
|
542
|
-
* @property {RedemptionDetails[]} [redemption_details] - List of redemption
|
|
543
|
-
* details associated with the credit note.
|
|
544
|
-
* @property {number} [remaining_cn_amount] - Remaining amount left in the credit note.
|
|
545
|
-
* @property {number} [available_cn_balance] - Available balance in the credit note.
|
|
546
|
-
* @property {number} [cn_amount] - Total amount of the credit note.
|
|
547
|
-
*/
|
|
548
|
-
/**
|
|
549
|
-
* @typedef CreditNoteDetailsResponse
|
|
550
|
-
* @property {boolean} [success] - Indicates if the retrieval of credit note
|
|
551
|
-
* details was successful.
|
|
552
|
-
* @property {CreditNoteDetails} [data]
|
|
553
|
-
*/
|
|
554
|
-
/**
|
|
555
|
-
* @typedef GetCustomerCreditBalance
|
|
556
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
557
|
-
* application as affiliate_id associated with the seller.
|
|
558
|
-
* @property {number} [seller_id] - Unique identifier for the seller.
|
|
559
|
-
* @property {string} [customer_mobile_number] - Mobile number of the customer
|
|
560
|
-
* for whom the credit balance is requested.
|
|
561
|
-
*/
|
|
562
|
-
/**
|
|
563
|
-
* @typedef GetCustomerCreditBalanceReq
|
|
564
|
-
* @property {GetCustomerCreditBalance} [data]
|
|
565
|
-
*/
|
|
566
|
-
/**
|
|
567
|
-
* @typedef GetCustomerCreditBalanceResponseData
|
|
568
|
-
* @property {string} [customer_mobile_number] - Mobile number of the customer.
|
|
569
|
-
* @property {number} [total_credited_balance] - Total credited balance
|
|
570
|
-
* available for the customer.
|
|
571
|
-
*/
|
|
572
|
-
/**
|
|
573
|
-
* @typedef GetCustomerCreditBalanceResponse
|
|
574
|
-
* @property {boolean} [success] - Indicates if the retrieval of customer credit
|
|
575
|
-
* balance was successful.
|
|
576
|
-
* @property {GetCustomerCreditBalanceResponseData} [data]
|
|
577
|
-
*/
|
|
578
|
-
/**
|
|
579
|
-
* @typedef GetCnConfigReq
|
|
580
|
-
* @property {DeleteConfig} [data]
|
|
581
|
-
*/
|
|
582
|
-
/**
|
|
583
|
-
* @typedef GetCnConfigResponseMeta
|
|
584
|
-
* @property {string} [reason] - Reason associated with the configuration response.
|
|
585
|
-
* @property {string[]} [source_channel] - List of source channels associated
|
|
586
|
-
* with the credit note configuration.
|
|
587
|
-
*/
|
|
588
|
-
/**
|
|
589
|
-
* @typedef GetCnConfigResponseData
|
|
590
|
-
* @property {boolean} [is_cn_as_refund_method] - Indicates if the credit note
|
|
591
|
-
* is configured as a refund method.
|
|
592
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
593
|
-
* application as affiliate_id associated with the seller.
|
|
594
|
-
* @property {Object} [meta]
|
|
595
|
-
* @property {number} [seller_id] - Unique identifier for the seller.
|
|
596
|
-
* @property {CreditNoteConfigNotificationEvents} [notification_events]
|
|
597
|
-
* @property {number} [validity] - Validity period of the credit note
|
|
598
|
-
* configuration in days.
|
|
599
|
-
* @property {string[]} [redemption_ordering_channel] - List of ordering
|
|
600
|
-
* channels associated with credit note redemption.
|
|
601
|
-
* @property {string} [currency_type] - Type of currency used for the credit note.
|
|
602
|
-
*/
|
|
603
|
-
/**
|
|
604
|
-
* @typedef GetCnConfigResponse
|
|
605
|
-
* @property {boolean} [success] - Indicates if the retrieval of credit note
|
|
606
|
-
* configuration was successful.
|
|
607
|
-
* @property {GetCnConfigResponseData} [data]
|
|
608
|
-
*/
|
|
609
|
-
/**
|
|
610
|
-
* @typedef CnGenerateReportFilters
|
|
611
|
-
* @property {string[]} [staff_id] - Array of staff IDs for filtering credit note reports.
|
|
612
|
-
* @property {string[]} [channel_of_issuance] - Array of channels through which
|
|
613
|
-
* credit notes were issued.
|
|
614
|
-
* @property {string[]} [utilisation] - Array of utilisation types for filtering
|
|
615
|
-
* credit note reports.
|
|
616
|
-
* @property {string[]} [ordering_channel] - Array of ordering channels
|
|
617
|
-
* associated with credit note reports.
|
|
618
|
-
* @property {number[]} [store_id] - Array of store IDs for filtering credit note reports.
|
|
619
|
-
* @property {string[]} [type_of_transaction] - Array of transaction types for
|
|
620
|
-
* filtering credit note reports.
|
|
621
|
-
* @property {string[]} [issuance_channel] - Array of issuance channels for
|
|
622
|
-
* filtering credit note reports.
|
|
623
|
-
*/
|
|
624
|
-
/**
|
|
625
|
-
* @typedef CnGenerateReport
|
|
626
|
-
* @property {number} [page] - Page number of the credit note report.
|
|
627
|
-
* @property {string} [end_date] - End date for filtering credit note data.
|
|
628
|
-
* @property {number} [page_size] - Number of items per page in the credit note report.
|
|
629
|
-
* @property {CnGenerateReportFilters} [filters]
|
|
630
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
631
|
-
* application as affiliate_id associated with the seller.
|
|
632
|
-
* @property {GenerateReportFilters} [meta]
|
|
633
|
-
* @property {string} [search] - Search query to filter credit note data by keyword.
|
|
634
|
-
* @property {string} [report_id] - Unique identifier for the credit note report.
|
|
635
|
-
* @property {string} [search_type] - Type of search criteria used for filtering
|
|
636
|
-
* credit note data.
|
|
637
|
-
* @property {string} [start_date] - Start date for filtering credit note data.
|
|
638
|
-
*/
|
|
639
|
-
/**
|
|
640
|
-
* @typedef GenerateReportCustomerCnReq
|
|
641
|
-
* @property {CnGenerateReport} [data]
|
|
642
|
-
*/
|
|
643
|
-
/**
|
|
644
|
-
* @typedef CnGenerateReportItems
|
|
645
|
-
* @property {string} [expiry_date] - Expiry date of the credit note item.
|
|
646
|
-
* @property {string} [status] - Status of the credit note item.
|
|
647
|
-
* @property {number} [total_amount] - Total amount of the credit note item.
|
|
648
|
-
* @property {string} [order_id] - Order ID of the order associated with the
|
|
649
|
-
* credit note item.
|
|
650
|
-
* @property {string} [date_issued] - Date when the credit note item was issued.
|
|
651
|
-
* @property {string} [shipment_id] - Shipment ID of the order associated with
|
|
652
|
-
* the credit note item.
|
|
653
|
-
* @property {string} [invoice_number] - Invoice number associated with the
|
|
654
|
-
* credit note item.
|
|
655
|
-
* @property {string} [credit_note_number] - Unique number of the credit note item.
|
|
656
|
-
*/
|
|
657
|
-
/**
|
|
658
|
-
* @typedef GenerateReportCustomerCnResponseData
|
|
659
|
-
* @property {boolean} [success] - Indicates if the credit note report
|
|
660
|
-
* generation was successful.
|
|
661
|
-
* @property {string} [message] - Additional message or information related to
|
|
662
|
-
* the credit note report.
|
|
663
|
-
* @property {CnGenerateReportItems[]} [items] - List of credit note items in the report.
|
|
664
|
-
* @property {Object} [row_header_display_order] - Display order for row headers
|
|
665
|
-
* in the report.
|
|
666
|
-
* @property {string} [end_date] - End date used in the credit note report.
|
|
667
|
-
* @property {Page} [page]
|
|
668
|
-
* @property {string[]} [headers] - Headers included in the credit note report.
|
|
669
|
-
* @property {string[]} [primary_headers] - Primary headers used in the credit
|
|
670
|
-
* note report.
|
|
671
|
-
* @property {string[]} [allowed_filters] - Allowed filters for the credit note report.
|
|
672
|
-
* @property {string} [start_date] - Start date used in the credit note report.
|
|
673
|
-
* @property {number} [item_count] - Total count of credit note items in the report.
|
|
674
|
-
*/
|
|
675
|
-
/**
|
|
676
|
-
* @typedef GenerateReportCustomerCnResponse
|
|
677
|
-
* @property {GenerateReportCustomerCnResponseData} [data]
|
|
678
|
-
*/
|
|
679
|
-
/**
|
|
680
|
-
* @typedef CnDownloadReport
|
|
681
|
-
* @property {number} [page] - Page number of the download report.
|
|
682
|
-
* @property {string} [start_date] - Start date for filtering credit note data
|
|
683
|
-
* in the report.
|
|
684
|
-
* @property {string} [end_date] - End date for filtering credit note data in the report.
|
|
685
|
-
* @property {string} [affiliate_id] - The unique identifier of sale channels or
|
|
686
|
-
* application as affiliate_id associated with the seller.
|
|
687
|
-
* @property {string} [search] - Search query to filter credit note data by keyword.
|
|
688
|
-
* @property {string} [status] - Status of the credit note data in the report.
|
|
689
|
-
* @property {string} [search_type] - Type of search criteria used for filtering
|
|
690
|
-
* credit note data.
|
|
691
|
-
* @property {number} [page_size] - Number of items per page in the download report.
|
|
692
|
-
*/
|
|
693
|
-
/**
|
|
694
|
-
* @typedef DownloadReportCustomerCnReq
|
|
695
|
-
* @property {CnDownloadReport} [data]
|
|
696
|
-
*/
|
|
697
|
-
/**
|
|
698
|
-
* @typedef DownloadReportResponseData
|
|
699
|
-
* @property {string} [report_config_id] - Unique identifier for the report configuration.
|
|
700
|
-
* @property {string} [full_name] - Full name associated with the report request.
|
|
701
|
-
* @property {string} [requested_by] - User who requested the report.
|
|
702
|
-
* @property {string} [start_date] - Start date used in the report.
|
|
703
|
-
* @property {string} [end_date] - End date used in the report.
|
|
704
|
-
* @property {Object} [request_dict] - Dictionary containing request parameters
|
|
705
|
-
* for the report.
|
|
706
|
-
* @property {string} [download_link] - Download link for accessing the generated report.
|
|
707
|
-
* @property {string} [created_at] - Date and time when the report was created.
|
|
708
|
-
* @property {Object} [meta] - Additional metadata associated with the report.
|
|
709
|
-
* @property {string} [msg] - Message related to the report status or generation.
|
|
710
|
-
* @property {string} [report_name] - Name of the generated report.
|
|
711
|
-
* @property {string} [status] - Status of the report.
|
|
712
|
-
* @property {string} [display_name] - Display name of the report.
|
|
713
|
-
* @property {Object} [filters] - Filters applied to generate the report.
|
|
714
|
-
*/
|
|
715
|
-
/**
|
|
716
|
-
* @typedef DownloadReportCustomerCnResponse
|
|
717
|
-
* @property {DownloadReportResponseData[]} [items] - List of download report data items.
|
|
718
|
-
* @property {number} [item_count] - Total count of items in the download report.
|
|
719
|
-
* @property {Page} [page]
|
|
720
|
-
*/
|
|
721
|
-
/**
|
|
722
|
-
* @typedef GetReportingFilters
|
|
723
|
-
* @property {string} [text] - Display text for the filter.
|
|
724
|
-
* @property {string} [type] - Type of the fields like seach, filter(e.g.,
|
|
725
|
-
* single, multi select).
|
|
726
|
-
* @property {Object[]} [options] - Options available for the filter.
|
|
727
|
-
* @property {string} [value] - Value to be pass in response select from options.
|
|
728
|
-
*/
|
|
729
|
-
/**
|
|
730
|
-
* @typedef GetReportingNestedFilters
|
|
731
|
-
* @property {string} [text] - Display text for the nested filter.
|
|
732
|
-
* @property {Object[]} [options] - Options available for the nested filter.
|
|
733
|
-
* @property {boolean} [required] - Indicates if the nested filter is required.
|
|
734
|
-
* @property {string} [placeholder_text] - Placeholder text for the nested filter.
|
|
735
|
-
* @property {string} [type] - Type of the nested filter (e.g., single, multi select).
|
|
736
|
-
* @property {string} [value] - Value to be pass in response select from options.
|
|
737
|
-
*/
|
|
738
|
-
/**
|
|
739
|
-
* @typedef GetReportingFiltersReasonOptions
|
|
740
|
-
* @property {string} [text] - Display text for the reason option.
|
|
741
|
-
* @property {string} [value] - Value of the reason option.
|
|
742
|
-
* @property {string} [placeholder_text] - Placeholder text for the reason option.
|
|
743
|
-
*/
|
|
744
|
-
/**
|
|
745
|
-
* @typedef GetReportingFiltersReason
|
|
746
|
-
* @property {string} [text] - Display text for the reason.
|
|
747
|
-
* @property {string} [type] - Type of the reason.
|
|
748
|
-
* @property {string} [value] - Value to be pass in response.
|
|
749
|
-
* @property {GetReportingFiltersReasonOptions[]} [options] - Options available
|
|
750
|
-
* for the reasons select from options.
|
|
751
|
-
*/
|
|
752
|
-
/**
|
|
753
|
-
* @typedef GetReportingFiltersResponse
|
|
754
|
-
* @property {GetReportingFiltersReason} [reason]
|
|
755
|
-
* @property {GetReportingFilters} [search]
|
|
756
|
-
* @property {GetReportingNestedFilters[]} [filters] - Array of nested filter objects.
|
|
757
|
-
* @property {GetReportingFilters} [status]
|
|
758
|
-
*/
|
|
759
|
-
/**
|
|
760
|
-
* @typedef InvoicePaymentOptionsPayloadData
|
|
761
|
-
* @property {string[]} [invoice_numbers] - List of invoice numbers for which
|
|
762
|
-
* payment options are being requested.
|
|
763
|
-
*/
|
|
764
|
-
/**
|
|
765
|
-
* @typedef InvoicePaymentOptionsReq
|
|
766
|
-
* @property {InvoicePaymentOptionsPayloadData} [data]
|
|
767
|
-
*/
|
|
768
|
-
/**
|
|
769
|
-
* @typedef InvoicePaymentOptionsResponsePayableAmounts
|
|
770
|
-
* @property {number} [amount] - Amount that is payable for the invoice.
|
|
771
|
-
* @property {string} [amount_key] - Key associated with the payable amount for
|
|
772
|
-
* identification.
|
|
773
|
-
* @property {string} [header] - Header describing the payable amount.
|
|
774
|
-
*/
|
|
775
|
-
/**
|
|
776
|
-
* @typedef InvoicePaymentOptionsResponseDeductedAmounts
|
|
777
|
-
* @property {number} [amount] - Amount deducted from the invoice.
|
|
778
|
-
* @property {string} [header] - Header describing the deducted amount.
|
|
779
|
-
* @property {string} [amount_key] - Key associated with the deducted amount for
|
|
780
|
-
* identification.
|
|
781
|
-
* @property {boolean} [is_payable] - Indicates whether the deducted amount is payable.
|
|
782
|
-
* @property {string} [symbol] - Currency symbol associated with the deducted amount.
|
|
783
|
-
*/
|
|
784
|
-
/**
|
|
785
|
-
* @typedef InvoicePaymentOptionsResponseData
|
|
786
|
-
* @property {string} [invoice_number] - Invoice number for which payment
|
|
787
|
-
* options are provided.
|
|
788
|
-
* @property {string} [invoice_type] - Type of the invoice (e.g., 'Seller Fynd',
|
|
789
|
-
* 'Platform Subscription').
|
|
790
|
-
* @property {InvoicePaymentOptionsResponsePayableAmounts[]} [display_amounts]
|
|
791
|
-
* - List of amounts that are payable for the invoice.
|
|
792
|
-
*
|
|
793
|
-
* @property {Object} [total_amount] - Total amount for the invoice.
|
|
794
|
-
* @property {Object} [deducted_amounts] - Amounts deducted from the total,
|
|
795
|
-
* including any associated details.
|
|
796
|
-
* @property {InvoicePaymentOptionsResponsePayableAmounts[]} [payable_amounts]
|
|
797
|
-
* - Amounts that are payable for the invoice.
|
|
798
|
-
*
|
|
799
|
-
* @property {Currency} [currency]
|
|
800
|
-
*/
|
|
801
|
-
/**
|
|
802
|
-
* @typedef InvoicePaymentOptionsResponse
|
|
803
|
-
* @property {string} [reason] - Reason for the response or any errors encountered.
|
|
804
|
-
* @property {InvoicePaymentOptionsResponseData[]} [data] - List of data objects
|
|
805
|
-
* containing details about invoice payment options.
|
|
806
|
-
* @property {number} [total_payable_amount] - Total amount payable for the invoices.
|
|
807
|
-
* @property {number} [invoice_count] - Number of invoices included in the response.
|
|
808
|
-
* @property {boolean} [success] - Indicates whether the request to retrieve
|
|
809
|
-
* invoice payment options was successful.
|
|
810
|
-
*/
|
|
811
|
-
/**
|
|
812
|
-
* @typedef PaymentDetail
|
|
813
|
-
* @property {string} [display_name] - Name or label displayed for the payment detail.
|
|
814
|
-
* @property {string} [value] - Value associated with the payment detail (e.g.,
|
|
815
|
-
* amount, transaction ID).
|
|
816
|
-
*/
|
|
817
|
-
/**
|
|
818
|
-
* @typedef PaidInvoicePaymentDetail
|
|
819
|
-
* @property {PaymentDetail[]} [payment_details] - List of payment details for
|
|
820
|
-
* the invoice.
|
|
821
|
-
* @property {string} [date_of_payment] - Date when the payment was made.
|
|
822
|
-
* @property {number} [amount] - Amount paid towards the invoice.
|
|
823
|
-
*/
|
|
824
|
-
/**
|
|
825
|
-
* @typedef InvoicePaymentDetailsResponseData
|
|
826
|
-
* @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details] - List
|
|
827
|
-
* of details for paid invoices.
|
|
828
|
-
* @property {Object[]} [failed_attempts_details] - Details of any failed
|
|
829
|
-
* payment attempts for the invoices.
|
|
830
|
-
*/
|
|
831
|
-
/**
|
|
832
|
-
* @typedef InvoicePaymentDetailsResponse
|
|
833
|
-
* @property {string} [reason] - Reason for the response or any errors encountered.
|
|
834
|
-
* @property {InvoicePaymentDetailsResponseData} [data]
|
|
835
|
-
* @property {boolean} [success] - Indicates whether the request to retrieve
|
|
836
|
-
* invoice payment details was successful.
|
|
837
|
-
* @property {boolean} [payment_details_visible] - Indicates whether payment
|
|
838
|
-
* details are visible or hidden in the response.
|
|
839
|
-
*/
|
|
840
|
-
/**
|
|
841
|
-
* @typedef InvoiceActivityLogsResponseData
|
|
842
|
-
* @property {string} [performed_by] - Identifier of the user or system that
|
|
843
|
-
* performed the activity.
|
|
844
|
-
* @property {string} [status] - Status of the activity (e.g., 'Completed', 'Pending').
|
|
845
|
-
* @property {string} [reason] - Reason for the activity status or any related notes.
|
|
846
|
-
* @property {boolean} [is_resolved] - Indicates whether the activity issue is resolved.
|
|
847
|
-
* @property {number} [retry_attempts] - Number of retry attempts made for the activity.
|
|
848
|
-
* @property {number} [max_retry_attempts] - Maximum number of retry attempts
|
|
849
|
-
* allowed for the activity.
|
|
850
|
-
*/
|
|
851
|
-
/**
|
|
852
|
-
* @typedef InvoiceActivityLogsResponse
|
|
853
|
-
* @property {InvoiceActivityLogsResponseData[]} [data] - List of activity logs
|
|
854
|
-
* related to invoices.
|
|
855
|
-
*/
|
|
856
|
-
/**
|
|
857
|
-
* @typedef InvoiceActivityLogError
|
|
858
|
-
* @property {string} [reason] - Reason for the error or issue encountered with
|
|
859
|
-
* the invoice activity logs.
|
|
860
|
-
*/
|
|
861
|
-
/**
|
|
862
|
-
* @typedef UnlockCreditNoteRequestData
|
|
863
|
-
* @property {string} [seller_id] - The unique identifier for the seller.
|
|
864
|
-
* @property {string[]} [locked_credit_notes] - A list of credit notes that are locked.
|
|
865
|
-
* @property {string} [unlock_reason] - The reason for unlocking the credit notes.
|
|
866
|
-
* @property {string} [description] - Additional details or comments about the
|
|
867
|
-
* unlock request.
|
|
868
|
-
*/
|
|
869
|
-
/**
|
|
870
|
-
* @typedef UnlockCreditNoteReq
|
|
871
|
-
* @property {UnlockCreditNoteRequestData} [data]
|
|
872
|
-
*/
|
|
873
|
-
/**
|
|
874
|
-
* @typedef UnlockCreditNoteResponseData
|
|
875
|
-
* @property {boolean} [is_cn_unlocked] - Indicates whether the credit note is unlocked.
|
|
876
|
-
* @property {string} [status] - The current status of the each credit notes.
|
|
877
|
-
*/
|
|
878
|
-
/**
|
|
879
|
-
* @typedef UnlockCreditNoteResponse
|
|
880
|
-
* @property {boolean} [success] - Indicates whether the credit note unlock
|
|
881
|
-
* request was successful.
|
|
882
|
-
* @property {UnlockCreditNoteResponseData} [data]
|
|
883
|
-
*/
|
|
884
|
-
declare class FinancePlatformModel {
|
|
885
|
-
}
|
|
886
|
-
declare namespace FinancePlatformModel {
|
|
887
|
-
export { OrederFreezeResponse, GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportReq, Page, Currency, GenerateReportJson, Error, ErrorMeta, ErrorMetaItems, DownloadReport, DownloadReportData, DownloadReportItems, DownloadReportList, GetEngineFilters, GetEngineData, GetEngineReq, GetEngineResponse, GetReason, GetReasonReq, ReasonItem, GetReasonResponse, GetReportListData, GetReportListReq, GetReportListResponse, ReportItem, GetAffiliate, GetAffiliateResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteReq, DownloadCreditDebitNoteResponseData, DownloadCreditDebitNoteResponse, InvoiceBillingItem, PaymentProcessPayload, PaymentProcessReq, PaymentProcessResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformReq, CreditlineDataPlatformResponse, IsCreditlinePayload, IsCreditlinePlatformReq, IsCreditlinePlatformResponse, InvoiceTypePayloadData, InvoiceTypeReq, InvoiceTypeResponseItems, InvoiceTypeResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingReq, UnpaidInvoiceDataItems, InvoiceListingResponseItems, InvoiceListingResponse, InvoicePdfPayloadData, InvoicePdfReq, InvoicePdfResponse, IsCnRefundMethodData, IsCnRefundMethodReq, IsCnRefundMethodResponseData, IsCnRefundMethodResponse, CreditNoteConfigNotificationEvents, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigReq, CreateSellerCreditNoteConfigResponse, DeleteConfig, DeleteConfigReq, DeleteConfigResponse, ChannelDisplayNameItems, ChannelDisplayNameResponse, CnReferenceNumber, GetPdfUrlViewReq, GetPdfUrlViewResponseData, GetPdfUrlViewResponse, CreditNoteDetailsReq, CnDetails, RedemptionDetails, CreditNoteDetails, CreditNoteDetailsResponse, GetCustomerCreditBalance, GetCustomerCreditBalanceReq, GetCustomerCreditBalanceResponseData, GetCustomerCreditBalanceResponse, GetCnConfigReq, GetCnConfigResponseMeta, GetCnConfigResponseData, GetCnConfigResponse, CnGenerateReportFilters, CnGenerateReport, GenerateReportCustomerCnReq, CnGenerateReportItems, GenerateReportCustomerCnResponseData, GenerateReportCustomerCnResponse, CnDownloadReport, DownloadReportCustomerCnReq, DownloadReportResponseData, DownloadReportCustomerCnResponse, GetReportingFilters, GetReportingNestedFilters, GetReportingFiltersReasonOptions, GetReportingFiltersReason, GetReportingFiltersResponse, InvoicePaymentOptionsPayloadData, InvoicePaymentOptionsReq, InvoicePaymentOptionsResponsePayableAmounts, InvoicePaymentOptionsResponseDeductedAmounts, InvoicePaymentOptionsResponseData, InvoicePaymentOptionsResponse, PaymentDetail, PaidInvoicePaymentDetail, InvoicePaymentDetailsResponseData, InvoicePaymentDetailsResponse, InvoiceActivityLogsResponseData, InvoiceActivityLogsResponse, InvoiceActivityLogError, UnlockCreditNoteRequestData, UnlockCreditNoteReq, UnlockCreditNoteResponseData, UnlockCreditNoteResponse };
|
|
888
|
-
}
|
|
889
|
-
/** @returns {OrederFreezeResponse} */
|
|
890
|
-
declare function OrederFreezeResponse(): OrederFreezeResponse;
|
|
891
|
-
type OrederFreezeResponse = {
|
|
892
|
-
/**
|
|
893
|
-
* - Indicates whether the operation was successful or not.
|
|
894
|
-
*/
|
|
895
|
-
success?: boolean;
|
|
896
|
-
/**
|
|
897
|
-
* - Flag indicating if the system is frozen
|
|
898
|
-
* for order management.
|
|
899
|
-
*/
|
|
900
|
-
oms_freeze?: boolean;
|
|
901
|
-
/**
|
|
902
|
-
* - Optional field indicating the data source of
|
|
903
|
-
* the information.
|
|
904
|
-
*/
|
|
905
|
-
source?: string;
|
|
906
|
-
};
|
|
907
|
-
/** @returns {GenerateReportMeta} */
|
|
908
|
-
declare function GenerateReportMeta(): GenerateReportMeta;
|
|
909
|
-
type GenerateReportMeta = {
|
|
910
|
-
/**
|
|
911
|
-
* - The brand name associated with the report meta
|
|
912
|
-
* information.
|
|
913
|
-
*/
|
|
914
|
-
brand?: string;
|
|
915
|
-
/**
|
|
916
|
-
* - The company name associated with the report
|
|
917
|
-
* meta information.
|
|
918
|
-
*/
|
|
919
|
-
company?: string;
|
|
920
|
-
/**
|
|
921
|
-
* - The sale channel name associated with seller.
|
|
922
|
-
*/
|
|
923
|
-
channel?: string;
|
|
924
|
-
};
|
|
925
|
-
/** @returns {GenerateReportFilters} */
|
|
926
|
-
declare function GenerateReportFilters(): GenerateReportFilters;
|
|
927
|
-
type GenerateReportFilters = {
|
|
928
|
-
/**
|
|
929
|
-
* - An array of brand names to filter the report data.
|
|
930
|
-
*/
|
|
931
|
-
brand?: string[];
|
|
932
|
-
/**
|
|
933
|
-
* - An array of company id to filter the report data.
|
|
934
|
-
*/
|
|
935
|
-
company?: string[];
|
|
936
|
-
/**
|
|
937
|
-
* - An array of sale channel names associated
|
|
938
|
-
* with seller to filter the report data.
|
|
939
|
-
*/
|
|
940
|
-
channel?: string[];
|
|
941
|
-
};
|
|
942
|
-
/** @returns {GenerateReportPlatform} */
|
|
943
|
-
declare function GenerateReportPlatform(): GenerateReportPlatform;
|
|
944
|
-
type GenerateReportPlatform = {
|
|
945
|
-
/**
|
|
946
|
-
* - The start date to generate report specific preiod.
|
|
947
|
-
*/
|
|
948
|
-
start_date?: string;
|
|
949
|
-
/**
|
|
950
|
-
* - The end date to generate report specific preiod.
|
|
951
|
-
*/
|
|
952
|
-
end_date?: string;
|
|
953
|
-
meta?: GenerateReportMeta;
|
|
954
|
-
/**
|
|
955
|
-
* - The unique identifier of the generate report
|
|
956
|
-
* where different report configure.
|
|
957
|
-
*/
|
|
958
|
-
report_id?: string;
|
|
959
|
-
filters?: GenerateReportFilters;
|
|
960
|
-
};
|
|
961
|
-
/** @returns {GenerateReportReq} */
|
|
962
|
-
declare function GenerateReportReq(): GenerateReportReq;
|
|
963
|
-
type GenerateReportReq = {
|
|
964
|
-
data?: GenerateReportPlatform;
|
|
965
|
-
};
|
|
966
|
-
/** @returns {Page} */
|
|
967
|
-
declare function Page(): Page;
|
|
968
|
-
type Page = {
|
|
969
|
-
/**
|
|
970
|
-
* - The total number of items on the page.
|
|
971
|
-
*/
|
|
972
|
-
item_total?: number;
|
|
973
|
-
/**
|
|
974
|
-
* - The identifier for the next page.
|
|
975
|
-
*/
|
|
976
|
-
next_id?: string;
|
|
977
|
-
/**
|
|
978
|
-
* - Indicates whether there is a previous page.
|
|
979
|
-
*/
|
|
980
|
-
has_previous?: boolean;
|
|
981
|
-
/**
|
|
982
|
-
* - Indicates whether there is a next page.
|
|
983
|
-
*/
|
|
984
|
-
has_next?: boolean;
|
|
985
|
-
/**
|
|
986
|
-
* - The current page number.
|
|
987
|
-
*/
|
|
988
|
-
current?: number;
|
|
989
|
-
/**
|
|
990
|
-
* - The type of the page, such as 'PageType'.
|
|
991
|
-
*/
|
|
992
|
-
type: string;
|
|
993
|
-
/**
|
|
994
|
-
* - The number of items per page.
|
|
995
|
-
*/
|
|
996
|
-
size?: number;
|
|
997
|
-
/**
|
|
998
|
-
* - Total number of items.
|
|
999
|
-
*/
|
|
1000
|
-
total?: number;
|
|
1001
|
-
};
|
|
1002
|
-
/** @returns {Currency} */
|
|
1003
|
-
declare function Currency(): Currency;
|
|
1004
|
-
type Currency = {
|
|
1005
|
-
/**
|
|
1006
|
-
* - The unique currency code.
|
|
1007
|
-
*/
|
|
1008
|
-
code?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
* - The unique currency symbol.
|
|
1011
|
-
*/
|
|
1012
|
-
symbol?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
* - The unique currency name.
|
|
1015
|
-
*/
|
|
1016
|
-
name?: string;
|
|
1017
|
-
};
|
|
1018
|
-
/** @returns {GenerateReportJson} */
|
|
1019
|
-
declare function GenerateReportJson(): GenerateReportJson;
|
|
1020
|
-
type GenerateReportJson = {
|
|
1021
|
-
data?: any;
|
|
1022
|
-
/**
|
|
1023
|
-
* - Total number of items in the report.
|
|
1024
|
-
*/
|
|
1025
|
-
item_count?: number;
|
|
1026
|
-
page?: Page;
|
|
1027
|
-
/**
|
|
1028
|
-
* - The end date to generate report specific preiod.
|
|
1029
|
-
*/
|
|
1030
|
-
end_date?: string;
|
|
1031
|
-
/**
|
|
1032
|
-
* - The start date to generate report specific preiod.
|
|
1033
|
-
*/
|
|
1034
|
-
start_date?: string;
|
|
1035
|
-
/**
|
|
1036
|
-
* - Nested array structure representing report
|
|
1037
|
-
* items or data.
|
|
1038
|
-
*/
|
|
1039
|
-
items?: string[][];
|
|
1040
|
-
/**
|
|
1041
|
-
* - Headers describing each item in the report data.
|
|
1042
|
-
*/
|
|
1043
|
-
headers?: string[];
|
|
1044
|
-
};
|
|
1045
|
-
/** @returns {Error} */
|
|
1046
|
-
declare function Error(): Error;
|
|
1047
|
-
type Error = {
|
|
1048
|
-
status?: number;
|
|
1049
|
-
reason?: string;
|
|
1050
|
-
success?: boolean;
|
|
1051
|
-
message?: string;
|
|
1052
|
-
code?: string;
|
|
1053
|
-
exception?: string;
|
|
1054
|
-
info?: string;
|
|
1055
|
-
request_id?: string;
|
|
1056
|
-
stack_trace?: string;
|
|
1057
|
-
meta?: ErrorMeta;
|
|
1058
|
-
};
|
|
1059
|
-
/** @returns {ErrorMeta} */
|
|
1060
|
-
declare function ErrorMeta(): ErrorMeta;
|
|
1061
|
-
type ErrorMeta = {
|
|
1062
|
-
columns_errors?: ErrorMetaItems[];
|
|
1063
|
-
};
|
|
1064
|
-
/** @returns {ErrorMetaItems} */
|
|
1065
|
-
declare function ErrorMetaItems(): ErrorMetaItems;
|
|
1066
|
-
type ErrorMetaItems = {
|
|
1067
|
-
code?: number;
|
|
1068
|
-
message?: string;
|
|
1069
|
-
};
|
|
1070
|
-
/** @returns {DownloadReport} */
|
|
1071
|
-
declare function DownloadReport(): DownloadReport;
|
|
1072
|
-
type DownloadReport = {
|
|
1073
|
-
data?: DownloadReportData;
|
|
1074
|
-
};
|
|
1075
|
-
/** @returns {DownloadReportData} */
|
|
1076
|
-
declare function DownloadReportData(): DownloadReportData;
|
|
1077
|
-
type DownloadReportData = {
|
|
1078
|
-
/**
|
|
1079
|
-
* - The current page number of the report.
|
|
1080
|
-
*/
|
|
1081
|
-
page?: number;
|
|
1082
|
-
/**
|
|
1083
|
-
* - The number of items displayed per page.
|
|
1084
|
-
*/
|
|
1085
|
-
page_size?: number;
|
|
1086
|
-
/**
|
|
1087
|
-
* - The start date for fetching the report
|
|
1088
|
-
* history for download.
|
|
1089
|
-
*/
|
|
1090
|
-
start_date?: string;
|
|
1091
|
-
/**
|
|
1092
|
-
* - The end date for fetching the report history
|
|
1093
|
-
* for download.
|
|
1094
|
-
*/
|
|
1095
|
-
end_date?: string;
|
|
1096
|
-
};
|
|
1097
|
-
/** @returns {DownloadReportItems} */
|
|
1098
|
-
declare function DownloadReportItems(): DownloadReportItems;
|
|
1099
|
-
type DownloadReportItems = {
|
|
1100
|
-
/**
|
|
1101
|
-
* - The start date for the report item.
|
|
1102
|
-
*/
|
|
1103
|
-
start_date?: string;
|
|
1104
|
-
/**
|
|
1105
|
-
* - The end date for the report item.
|
|
1106
|
-
*/
|
|
1107
|
-
end_date?: string;
|
|
1108
|
-
meta?: GenerateReportMeta;
|
|
1109
|
-
/**
|
|
1110
|
-
* - The unique identifier of the report item.
|
|
1111
|
-
*/
|
|
1112
|
-
report_id?: string;
|
|
1113
|
-
filters?: GenerateReportFilters;
|
|
1114
|
-
};
|
|
1115
|
-
/** @returns {DownloadReportList} */
|
|
1116
|
-
declare function DownloadReportList(): DownloadReportList;
|
|
1117
|
-
type DownloadReportList = {
|
|
1118
|
-
/**
|
|
1119
|
-
* - A list of report items available
|
|
1120
|
-
* for download.
|
|
1121
|
-
*/
|
|
1122
|
-
items?: DownloadReportItems[];
|
|
1123
|
-
page?: Page;
|
|
1124
|
-
/**
|
|
1125
|
-
* - The total number of items in the report list.
|
|
1126
|
-
*/
|
|
1127
|
-
item_count?: number;
|
|
1128
|
-
};
|
|
1129
|
-
/** @returns {GetEngineFilters} */
|
|
1130
|
-
declare function GetEngineFilters(): GetEngineFilters;
|
|
1131
|
-
type GetEngineFilters = {
|
|
1132
|
-
/**
|
|
1133
|
-
* - The configuration field used for filtering.
|
|
1134
|
-
*/
|
|
1135
|
-
config_field?: string;
|
|
1136
|
-
/**
|
|
1137
|
-
* - The status used for filtering.
|
|
1138
|
-
*/
|
|
1139
|
-
status?: string;
|
|
1140
|
-
/**
|
|
1141
|
-
* - Flag indicating if the filter is active.
|
|
1142
|
-
*/
|
|
1143
|
-
is_active?: boolean;
|
|
1144
|
-
/**
|
|
1145
|
-
* - The seller ID used for filtering.
|
|
1146
|
-
*/
|
|
1147
|
-
seller_id?: string;
|
|
1148
|
-
};
|
|
1149
|
-
/** @returns {GetEngineData} */
|
|
1150
|
-
declare function GetEngineData(): GetEngineData;
|
|
1151
|
-
type GetEngineData = {
|
|
1152
|
-
/**
|
|
1153
|
-
* - Status of the request.
|
|
1154
|
-
*/
|
|
1155
|
-
status?: string;
|
|
1156
|
-
filters?: GetEngineFilters;
|
|
1157
|
-
/**
|
|
1158
|
-
* - A list of fields to get data from tables.
|
|
1159
|
-
*/
|
|
1160
|
-
project?: string[];
|
|
1161
|
-
/**
|
|
1162
|
-
* - The name of the table from which to retrieve data.
|
|
1163
|
-
*/
|
|
1164
|
-
table_name?: string;
|
|
1165
|
-
/**
|
|
1166
|
-
* - Search criteria for querying on given table
|
|
1167
|
-
* specific fields.
|
|
1168
|
-
*/
|
|
1169
|
-
search?: any;
|
|
1170
|
-
/**
|
|
1171
|
-
* - The current page number for pagination.
|
|
1172
|
-
*/
|
|
1173
|
-
page?: number;
|
|
1174
|
-
/**
|
|
1175
|
-
* - The number of items displayed per page.
|
|
1176
|
-
*/
|
|
1177
|
-
page_size?: number;
|
|
1178
|
-
/**
|
|
1179
|
-
* - The field by which to order the results.
|
|
1180
|
-
*/
|
|
1181
|
-
order_by?: string;
|
|
1182
|
-
};
|
|
1183
|
-
/** @returns {GetEngineReq} */
|
|
1184
|
-
declare function GetEngineReq(): GetEngineReq;
|
|
1185
|
-
type GetEngineReq = {
|
|
1186
|
-
data?: GetEngineData;
|
|
1187
|
-
};
|
|
1188
|
-
/** @returns {GetEngineResponse} */
|
|
1189
|
-
declare function GetEngineResponse(): GetEngineResponse;
|
|
1190
|
-
type GetEngineResponse = {
|
|
1191
|
-
/**
|
|
1192
|
-
* - Indicates whether the request was successful.
|
|
1193
|
-
*/
|
|
1194
|
-
success?: boolean;
|
|
1195
|
-
/**
|
|
1196
|
-
* - A list of items returned by the request.
|
|
1197
|
-
*/
|
|
1198
|
-
items?: any[];
|
|
1199
|
-
page?: Page;
|
|
1200
|
-
/**
|
|
1201
|
-
* - The total number of items returned by the request.
|
|
1202
|
-
*/
|
|
1203
|
-
item_count?: number;
|
|
1204
|
-
};
|
|
1205
|
-
/** @returns {GetReason} */
|
|
1206
|
-
declare function GetReason(): GetReason;
|
|
1207
|
-
type GetReason = {
|
|
1208
|
-
/**
|
|
1209
|
-
* - The type of reason associated with the request.
|
|
1210
|
-
*/
|
|
1211
|
-
reason_type?: string;
|
|
1212
|
-
};
|
|
1213
|
-
/** @returns {GetReasonReq} */
|
|
1214
|
-
declare function GetReasonReq(): GetReasonReq;
|
|
1215
|
-
type GetReasonReq = {
|
|
1216
|
-
data?: GetReason;
|
|
1217
|
-
};
|
|
1218
|
-
/** @returns {ReasonItem} */
|
|
1219
|
-
declare function ReasonItem(): ReasonItem;
|
|
1220
|
-
type ReasonItem = {
|
|
1221
|
-
/**
|
|
1222
|
-
* - Id of the reason for reason_type.
|
|
1223
|
-
*/
|
|
1224
|
-
id?: string;
|
|
1225
|
-
/**
|
|
1226
|
-
* - Code of the reason for reason_type.
|
|
1227
|
-
*/
|
|
1228
|
-
name?: string;
|
|
1229
|
-
/**
|
|
1230
|
-
* - Display name of the reason for reason_type.
|
|
1231
|
-
*/
|
|
1232
|
-
display_name?: string;
|
|
1233
|
-
};
|
|
1234
|
-
/** @returns {GetReasonResponse} */
|
|
1235
|
-
declare function GetReasonResponse(): GetReasonResponse;
|
|
1236
|
-
type GetReasonResponse = {
|
|
1237
|
-
/**
|
|
1238
|
-
* - Indicates whether the request was successfull.
|
|
1239
|
-
*/
|
|
1240
|
-
success?: boolean;
|
|
1241
|
-
/**
|
|
1242
|
-
* - The list of items returned in the response.
|
|
1243
|
-
*/
|
|
1244
|
-
item_list?: ReasonItem[];
|
|
1245
|
-
/**
|
|
1246
|
-
* - The number of items in the response.
|
|
1247
|
-
*/
|
|
1248
|
-
item_count?: number;
|
|
1249
|
-
page?: Page;
|
|
1250
|
-
};
|
|
1251
|
-
/** @returns {GetReportListData} */
|
|
1252
|
-
declare function GetReportListData(): GetReportListData;
|
|
1253
|
-
type GetReportListData = {
|
|
1254
|
-
/**
|
|
1255
|
-
* - The name of the role requesting the report list.
|
|
1256
|
-
*/
|
|
1257
|
-
role_name?: string;
|
|
1258
|
-
/**
|
|
1259
|
-
* - Indicates whether listing is enabled
|
|
1260
|
-
* for the role.
|
|
1261
|
-
*/
|
|
1262
|
-
listing_enabled?: boolean;
|
|
1263
|
-
};
|
|
1264
|
-
/** @returns {GetReportListReq} */
|
|
1265
|
-
declare function GetReportListReq(): GetReportListReq;
|
|
1266
|
-
type GetReportListReq = {
|
|
1267
|
-
data?: GetReportListData;
|
|
1268
|
-
};
|
|
1269
|
-
/** @returns {GetReportListResponse} */
|
|
1270
|
-
declare function GetReportListResponse(): GetReportListResponse;
|
|
1271
|
-
type GetReportListResponse = {
|
|
1272
|
-
/**
|
|
1273
|
-
* - Indicates whether the request was successful.
|
|
1274
|
-
*/
|
|
1275
|
-
success?: boolean;
|
|
1276
|
-
/**
|
|
1277
|
-
* - The list of report items.
|
|
1278
|
-
*/
|
|
1279
|
-
items?: ReportItem[];
|
|
1280
|
-
page?: Page;
|
|
1281
|
-
/**
|
|
1282
|
-
* - The total number of items in the report list.
|
|
1283
|
-
*/
|
|
1284
|
-
total_count?: number;
|
|
1285
|
-
};
|
|
1286
|
-
/** @returns {ReportItem} */
|
|
1287
|
-
declare function ReportItem(): ReportItem;
|
|
1288
|
-
type ReportItem = {
|
|
1289
|
-
/**
|
|
1290
|
-
* - The unique identifier for the report item.
|
|
1291
|
-
*/
|
|
1292
|
-
id?: string;
|
|
1293
|
-
/**
|
|
1294
|
-
* - The name of the report item.
|
|
1295
|
-
*/
|
|
1296
|
-
name?: string;
|
|
1297
|
-
/**
|
|
1298
|
-
* - A brief description of the report item.
|
|
1299
|
-
*/
|
|
1300
|
-
description?: string;
|
|
1301
|
-
/**
|
|
1302
|
-
* - The filters that can be applied to
|
|
1303
|
-
* the report item.
|
|
1304
|
-
*/
|
|
1305
|
-
allowed_filters?: string[];
|
|
1306
|
-
/**
|
|
1307
|
-
* - Metadata related to the report item configuration.
|
|
1308
|
-
*/
|
|
1309
|
-
config_meta?: any;
|
|
1310
|
-
/**
|
|
1311
|
-
* - The type of the report item.
|
|
1312
|
-
*/
|
|
1313
|
-
report_type?: string;
|
|
1314
|
-
/**
|
|
1315
|
-
* - The display date of the report item, if applicable.
|
|
1316
|
-
*/
|
|
1317
|
-
display_date?: string;
|
|
1318
|
-
};
|
|
1319
|
-
/** @returns {GetAffiliate} */
|
|
1320
|
-
declare function GetAffiliate(): GetAffiliate;
|
|
1321
|
-
type GetAffiliate = {
|
|
1322
|
-
/**
|
|
1323
|
-
* - The unique identifier of the company
|
|
1324
|
-
* associated with the affiliate.
|
|
1325
|
-
*/
|
|
1326
|
-
company_id?: number;
|
|
1327
|
-
};
|
|
1328
|
-
/** @returns {GetAffiliateResponse} */
|
|
1329
|
-
declare function GetAffiliateResponse(): GetAffiliateResponse;
|
|
1330
|
-
type GetAffiliateResponse = {
|
|
1331
|
-
/**
|
|
1332
|
-
* - The reason for the response, if applicable.
|
|
1333
|
-
*/
|
|
1334
|
-
reason?: string;
|
|
1335
|
-
/**
|
|
1336
|
-
* - Indicates whether the request was successful.
|
|
1337
|
-
*/
|
|
1338
|
-
success?: boolean;
|
|
1339
|
-
/**
|
|
1340
|
-
* - List of items or data related to the affiliate.
|
|
1341
|
-
*/
|
|
1342
|
-
docs?: any[];
|
|
1343
|
-
};
|
|
1344
|
-
/** @returns {DownloadCreditDebitNote} */
|
|
1345
|
-
declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
|
|
1346
|
-
type DownloadCreditDebitNote = {
|
|
1347
|
-
/**
|
|
1348
|
-
* - List of unique identifiers for the
|
|
1349
|
-
* credit/debit notes to be download.
|
|
1350
|
-
*/
|
|
1351
|
-
note_id?: string[];
|
|
1352
|
-
};
|
|
1353
|
-
/** @returns {DownloadCreditDebitNoteReq} */
|
|
1354
|
-
declare function DownloadCreditDebitNoteReq(): DownloadCreditDebitNoteReq;
|
|
1355
|
-
type DownloadCreditDebitNoteReq = {
|
|
1356
|
-
data?: DownloadCreditDebitNote;
|
|
1357
|
-
};
|
|
1358
|
-
/** @returns {DownloadCreditDebitNoteResponseData} */
|
|
1359
|
-
declare function DownloadCreditDebitNoteResponseData(): DownloadCreditDebitNoteResponseData;
|
|
1360
|
-
type DownloadCreditDebitNoteResponseData = {
|
|
1361
|
-
/**
|
|
1362
|
-
* - The unique identifier of the download credit/debit note.
|
|
1363
|
-
*/
|
|
1364
|
-
id?: string;
|
|
1365
|
-
/**
|
|
1366
|
-
* - The URL where the PDF of the credit/debit
|
|
1367
|
-
* note is stored.
|
|
1368
|
-
*/
|
|
1369
|
-
pdf_s3_url?: string;
|
|
1370
|
-
};
|
|
1371
|
-
/** @returns {DownloadCreditDebitNoteResponse} */
|
|
1372
|
-
declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
|
|
1373
|
-
type DownloadCreditDebitNoteResponse = {
|
|
1374
|
-
/**
|
|
1375
|
-
* - Indicates whether the request to download the
|
|
1376
|
-
* credit/debit notes was successful.
|
|
1377
|
-
*/
|
|
1378
|
-
success?: boolean;
|
|
1379
|
-
/**
|
|
1380
|
-
* - List of
|
|
1381
|
-
* credit/debit notes download data.
|
|
1382
|
-
*/
|
|
1383
|
-
data?: DownloadCreditDebitNoteResponseData[];
|
|
1384
|
-
};
|
|
1385
|
-
/** @returns {InvoiceBillingItem} */
|
|
1386
|
-
declare function InvoiceBillingItem(): InvoiceBillingItem;
|
|
1387
|
-
type InvoiceBillingItem = {
|
|
1388
|
-
/**
|
|
1389
|
-
* - The number of the invoice associated
|
|
1390
|
-
* with the billing item.
|
|
1391
|
-
*/
|
|
1392
|
-
invoice_number?: string;
|
|
1393
|
-
/**
|
|
1394
|
-
* - The amount of the billing item.
|
|
1395
|
-
*/
|
|
1396
|
-
amount?: number;
|
|
1397
|
-
};
|
|
1398
|
-
/** @returns {PaymentProcessPayload} */
|
|
1399
|
-
declare function PaymentProcessPayload(): PaymentProcessPayload;
|
|
1400
|
-
type PaymentProcessPayload = {
|
|
1401
|
-
/**
|
|
1402
|
-
* - The platform through which the payment is processed.
|
|
1403
|
-
*/
|
|
1404
|
-
platform?: string;
|
|
1405
|
-
/**
|
|
1406
|
-
* - The total amount to be processed in the payment.
|
|
1407
|
-
*/
|
|
1408
|
-
amount?: number;
|
|
1409
|
-
/**
|
|
1410
|
-
* - The type of transaction (e.g., seller_online).
|
|
1411
|
-
*/
|
|
1412
|
-
transaction_type?: string;
|
|
1413
|
-
/**
|
|
1414
|
-
* - The reference for the source of the payment.
|
|
1415
|
-
*/
|
|
1416
|
-
source_reference?: string;
|
|
1417
|
-
/**
|
|
1418
|
-
* - The total amount to be processed in the payment.
|
|
1419
|
-
*/
|
|
1420
|
-
total_amount?: number;
|
|
1421
|
-
/**
|
|
1422
|
-
* - Additional metadata related to the payment.
|
|
1423
|
-
*/
|
|
1424
|
-
meta?: any;
|
|
1425
|
-
/**
|
|
1426
|
-
* - The currency in which the payment is made.
|
|
1427
|
-
*/
|
|
1428
|
-
currency?: string;
|
|
1429
|
-
/**
|
|
1430
|
-
* - The unique identifier for the seller
|
|
1431
|
-
* receiving the payment.
|
|
1432
|
-
*/
|
|
1433
|
-
seller_id?: string;
|
|
1434
|
-
/**
|
|
1435
|
-
* - The mode of payment (e.g., online).
|
|
1436
|
-
*/
|
|
1437
|
-
mode_of_payment?: string;
|
|
1438
|
-
invoice_billing_items?: InvoiceBillingItem[];
|
|
1439
|
-
};
|
|
1440
|
-
/** @returns {PaymentProcessReq} */
|
|
1441
|
-
declare function PaymentProcessReq(): PaymentProcessReq;
|
|
1442
|
-
type PaymentProcessReq = {
|
|
1443
|
-
data?: PaymentProcessPayload;
|
|
1444
|
-
};
|
|
1445
|
-
/** @returns {PaymentProcessResponse} */
|
|
1446
|
-
declare function PaymentProcessResponse(): PaymentProcessResponse;
|
|
1447
|
-
type PaymentProcessResponse = {
|
|
1448
|
-
/**
|
|
1449
|
-
* - Response code indicating the status of the payment process.
|
|
1450
|
-
*/
|
|
1451
|
-
code?: number;
|
|
1452
|
-
/**
|
|
1453
|
-
* - A message providing additional information
|
|
1454
|
-
* about the payment process response.
|
|
1455
|
-
*/
|
|
1456
|
-
message?: string;
|
|
1457
|
-
/**
|
|
1458
|
-
* - Additional metadata related to the payment
|
|
1459
|
-
* process response.
|
|
1460
|
-
*/
|
|
1461
|
-
meta?: any;
|
|
1462
|
-
/**
|
|
1463
|
-
* - The unique identifier for the payment
|
|
1464
|
-
* transaction.
|
|
1465
|
-
*/
|
|
1466
|
-
transaction_id?: string;
|
|
1467
|
-
/**
|
|
1468
|
-
* - URL to redirect the user to complete the
|
|
1469
|
-
* payment process, if applicable.
|
|
1470
|
-
*/
|
|
1471
|
-
redirect_url?: string;
|
|
1472
|
-
};
|
|
1473
|
-
/** @returns {CreditlineDataPlatformPayload} */
|
|
1474
|
-
declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
|
|
1475
|
-
type CreditlineDataPlatformPayload = {
|
|
1476
|
-
/**
|
|
1477
|
-
* - The page number for pagination.
|
|
1478
|
-
*/
|
|
1479
|
-
page?: number;
|
|
1480
|
-
/**
|
|
1481
|
-
* - The unique identifier for the seller.
|
|
1482
|
-
*/
|
|
1483
|
-
seller_id?: string;
|
|
1484
|
-
/**
|
|
1485
|
-
* - The end date for the query.
|
|
1486
|
-
*/
|
|
1487
|
-
end_date?: string;
|
|
1488
|
-
/**
|
|
1489
|
-
* - The start date for the query.
|
|
1490
|
-
*/
|
|
1491
|
-
start_date?: string;
|
|
1492
|
-
/**
|
|
1493
|
-
* - The number of items per page.
|
|
1494
|
-
*/
|
|
1495
|
-
page_size?: number;
|
|
1496
|
-
};
|
|
1497
|
-
/** @returns {CreditlineDataPlatformReq} */
|
|
1498
|
-
declare function CreditlineDataPlatformReq(): CreditlineDataPlatformReq;
|
|
1499
|
-
type CreditlineDataPlatformReq = {
|
|
1500
|
-
data?: CreditlineDataPlatformPayload;
|
|
1501
|
-
};
|
|
1502
|
-
/** @returns {CreditlineDataPlatformResponse} */
|
|
1503
|
-
declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
|
|
1504
|
-
type CreditlineDataPlatformResponse = {
|
|
1505
|
-
/**
|
|
1506
|
-
* - The list of items in the response.
|
|
1507
|
-
*/
|
|
1508
|
-
items?: any[];
|
|
1509
|
-
/**
|
|
1510
|
-
* - The response status code.
|
|
1511
|
-
*/
|
|
1512
|
-
code?: number;
|
|
1513
|
-
/**
|
|
1514
|
-
* - A flag indicating whether to show MR (some
|
|
1515
|
-
* specific field).
|
|
1516
|
-
*/
|
|
1517
|
-
show_mr?: boolean;
|
|
1518
|
-
page?: Page;
|
|
1519
|
-
/**
|
|
1520
|
-
* - The response message.
|
|
1521
|
-
*/
|
|
1522
|
-
message?: string;
|
|
1523
|
-
/**
|
|
1524
|
-
* - The list of response headers.
|
|
1525
|
-
*/
|
|
1526
|
-
headers?: string[];
|
|
1527
|
-
/**
|
|
1528
|
-
* - The total number of items.
|
|
1529
|
-
*/
|
|
1530
|
-
item_count?: number;
|
|
1531
|
-
};
|
|
1532
|
-
/** @returns {IsCreditlinePayload} */
|
|
1533
|
-
declare function IsCreditlinePayload(): IsCreditlinePayload;
|
|
1534
|
-
type IsCreditlinePayload = {
|
|
1535
|
-
/**
|
|
1536
|
-
* - The unique identifier for the seller to
|
|
1537
|
-
* check for credit line eligibility.
|
|
1538
|
-
*/
|
|
1539
|
-
seller_id?: string;
|
|
1540
|
-
};
|
|
1541
|
-
/** @returns {IsCreditlinePlatformReq} */
|
|
1542
|
-
declare function IsCreditlinePlatformReq(): IsCreditlinePlatformReq;
|
|
1543
|
-
type IsCreditlinePlatformReq = {
|
|
1544
|
-
data?: IsCreditlinePayload;
|
|
1545
|
-
};
|
|
1546
|
-
/** @returns {IsCreditlinePlatformResponse} */
|
|
1547
|
-
declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
|
|
1548
|
-
type IsCreditlinePlatformResponse = {
|
|
1549
|
-
/**
|
|
1550
|
-
* - Indicates whether the seller has
|
|
1551
|
-
* opted for a credit line.
|
|
1552
|
-
*/
|
|
1553
|
-
is_creditline_opted?: boolean;
|
|
1554
|
-
/**
|
|
1555
|
-
* - Response code indicating the status of the credit
|
|
1556
|
-
* line check.
|
|
1557
|
-
*/
|
|
1558
|
-
code?: number;
|
|
1559
|
-
};
|
|
1560
|
-
/** @returns {InvoiceTypePayloadData} */
|
|
1561
|
-
declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
|
|
1562
|
-
type InvoiceTypePayloadData = {
|
|
1563
|
-
/**
|
|
1564
|
-
* - Indicates if the invoice type is active.
|
|
1565
|
-
*/
|
|
1566
|
-
is_active?: boolean;
|
|
1567
|
-
};
|
|
1568
|
-
/** @returns {InvoiceTypeReq} */
|
|
1569
|
-
declare function InvoiceTypeReq(): InvoiceTypeReq;
|
|
1570
|
-
type InvoiceTypeReq = {
|
|
1571
|
-
data?: InvoiceTypePayloadData;
|
|
1572
|
-
};
|
|
1573
|
-
/** @returns {InvoiceTypeResponseItems} */
|
|
1574
|
-
declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
|
|
1575
|
-
type InvoiceTypeResponseItems = {
|
|
1576
|
-
/**
|
|
1577
|
-
* - The text description of the invoice type.
|
|
1578
|
-
*/
|
|
1579
|
-
text?: string;
|
|
1580
|
-
/**
|
|
1581
|
-
* - The value or code representing the invoice type.
|
|
1582
|
-
*/
|
|
1583
|
-
value?: string;
|
|
1584
|
-
};
|
|
1585
|
-
/** @returns {InvoiceTypeResponse} */
|
|
1586
|
-
declare function InvoiceTypeResponse(): InvoiceTypeResponse;
|
|
1587
|
-
type InvoiceTypeResponse = {
|
|
1588
|
-
/**
|
|
1589
|
-
* - Indicates whether the request was successful.
|
|
1590
|
-
*/
|
|
1591
|
-
success?: boolean;
|
|
1592
|
-
/**
|
|
1593
|
-
* - List of invoice
|
|
1594
|
-
* types available.
|
|
1595
|
-
*/
|
|
1596
|
-
invoice_type_list?: InvoiceTypeResponseItems[];
|
|
1597
|
-
/**
|
|
1598
|
-
* - List of
|
|
1599
|
-
* payment statuses available.
|
|
1600
|
-
*/
|
|
1601
|
-
payment_status_list?: InvoiceTypeResponseItems[];
|
|
1602
|
-
};
|
|
1603
|
-
/** @returns {InoviceListingPayloadDataFilters} */
|
|
1604
|
-
declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
|
|
1605
|
-
type InoviceListingPayloadDataFilters = {
|
|
1606
|
-
/**
|
|
1607
|
-
* - List of payment statuses to filter by.
|
|
1608
|
-
*/
|
|
1609
|
-
payment_status?: string[];
|
|
1610
|
-
/**
|
|
1611
|
-
* - List of invoice types to filter by.
|
|
1612
|
-
*/
|
|
1613
|
-
invoice_type?: string[];
|
|
1614
|
-
/**
|
|
1615
|
-
* - List of company IDs to filter by.
|
|
1616
|
-
*/
|
|
1617
|
-
company_id?: string[];
|
|
1618
|
-
};
|
|
1619
|
-
/** @returns {InvoiceListingPayloadData} */
|
|
1620
|
-
declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
|
|
1621
|
-
type InvoiceListingPayloadData = {
|
|
1622
|
-
/**
|
|
1623
|
-
* - The number of items per page for pagination.
|
|
1624
|
-
*/
|
|
1625
|
-
page_size?: number;
|
|
1626
|
-
/**
|
|
1627
|
-
* - The page number for pagination.
|
|
1628
|
-
*/
|
|
1629
|
-
page?: number;
|
|
1630
|
-
/**
|
|
1631
|
-
* - The start date for the invoice listing filter.
|
|
1632
|
-
*/
|
|
1633
|
-
start_date?: string;
|
|
1634
|
-
/**
|
|
1635
|
-
* - The end date for the invoice listing filter.
|
|
1636
|
-
*/
|
|
1637
|
-
end_date?: string;
|
|
1638
|
-
/**
|
|
1639
|
-
* - Search term for filtering invoices.
|
|
1640
|
-
*/
|
|
1641
|
-
search?: string;
|
|
1642
|
-
filters?: InoviceListingPayloadDataFilters;
|
|
1643
|
-
};
|
|
1644
|
-
/** @returns {InvoiceListingReq} */
|
|
1645
|
-
declare function InvoiceListingReq(): InvoiceListingReq;
|
|
1646
|
-
type InvoiceListingReq = {
|
|
1647
|
-
data?: InvoiceListingPayloadData;
|
|
1648
|
-
};
|
|
1649
|
-
/** @returns {UnpaidInvoiceDataItems} */
|
|
1650
|
-
declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
|
|
1651
|
-
type UnpaidInvoiceDataItems = {
|
|
1652
|
-
/**
|
|
1653
|
-
* - The total count of unpaid invoices.
|
|
1654
|
-
*/
|
|
1655
|
-
total_unpaid_invoice_count?: number;
|
|
1656
|
-
/**
|
|
1657
|
-
* - The currency used for unpaid invoices.
|
|
1658
|
-
*/
|
|
1659
|
-
currency?: string;
|
|
1660
|
-
/**
|
|
1661
|
-
* - The total amount of unpaid invoices.
|
|
1662
|
-
*/
|
|
1663
|
-
total_unpaid_amount?: number;
|
|
1664
|
-
};
|
|
1665
|
-
/** @returns {InvoiceListingResponseItems} */
|
|
1666
|
-
declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
|
|
1667
|
-
type InvoiceListingResponseItems = {
|
|
1668
|
-
/**
|
|
1669
|
-
* - The amount of the invoice.
|
|
1670
|
-
*/
|
|
1671
|
-
amount?: number;
|
|
1672
|
-
/**
|
|
1673
|
-
* - The name of the company associated with the invoice.
|
|
1674
|
-
*/
|
|
1675
|
-
company?: string;
|
|
1676
|
-
/**
|
|
1677
|
-
* - The current status of the invoice (e.g.,
|
|
1678
|
-
* 'paid', 'unpaid').
|
|
1679
|
-
*/
|
|
1680
|
-
status?: string;
|
|
1681
|
-
/**
|
|
1682
|
-
* - The due date of the invoice.
|
|
1683
|
-
*/
|
|
1684
|
-
due_date?: string;
|
|
1685
|
-
/**
|
|
1686
|
-
* - The date when the invoice was issued.
|
|
1687
|
-
*/
|
|
1688
|
-
invoice_date?: string;
|
|
1689
|
-
/**
|
|
1690
|
-
* - The type of invoice.
|
|
1691
|
-
*/
|
|
1692
|
-
invoice_type?: string;
|
|
1693
|
-
/**
|
|
1694
|
-
* - The period covered by the invoice.
|
|
1695
|
-
*/
|
|
1696
|
-
period?: string;
|
|
1697
|
-
/**
|
|
1698
|
-
* - The invoice number.
|
|
1699
|
-
*/
|
|
1700
|
-
invoice_number?: string;
|
|
1701
|
-
/**
|
|
1702
|
-
* - Indicates if the invoice is available
|
|
1703
|
-
* for download.
|
|
1704
|
-
*/
|
|
1705
|
-
is_downloadable?: boolean;
|
|
1706
|
-
/**
|
|
1707
|
-
* - The unique identifier of the invoice.
|
|
1708
|
-
*/
|
|
1709
|
-
invoice_id?: string;
|
|
1710
|
-
currency?: Currency;
|
|
1711
|
-
};
|
|
1712
|
-
/** @returns {InvoiceListingResponse} */
|
|
1713
|
-
declare function InvoiceListingResponse(): InvoiceListingResponse;
|
|
1714
|
-
type InvoiceListingResponse = {
|
|
1715
|
-
/**
|
|
1716
|
-
* - Indicates whether the request was successful.
|
|
1717
|
-
*/
|
|
1718
|
-
success?: boolean;
|
|
1719
|
-
/**
|
|
1720
|
-
* - Headers related to the invoice listing response.
|
|
1721
|
-
*/
|
|
1722
|
-
headers?: string[];
|
|
1723
|
-
unpaid_invoice_data?: UnpaidInvoiceDataItems;
|
|
1724
|
-
/**
|
|
1725
|
-
* - List of invoice items in
|
|
1726
|
-
* the response.
|
|
1727
|
-
*/
|
|
1728
|
-
items?: InvoiceListingResponseItems[];
|
|
1729
|
-
page?: Page;
|
|
1730
|
-
/**
|
|
1731
|
-
* - The total number of invoice items in the response.
|
|
1732
|
-
*/
|
|
1733
|
-
item_count?: number;
|
|
1734
|
-
};
|
|
1735
|
-
/** @returns {InvoicePdfPayloadData} */
|
|
1736
|
-
declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
|
|
1737
|
-
type InvoicePdfPayloadData = {
|
|
1738
|
-
/**
|
|
1739
|
-
* - List of invoice numbers for which
|
|
1740
|
-
* PDFs are requested.
|
|
1741
|
-
*/
|
|
1742
|
-
invoice_number?: string[];
|
|
1743
|
-
};
|
|
1744
|
-
/** @returns {InvoicePdfReq} */
|
|
1745
|
-
declare function InvoicePdfReq(): InvoicePdfReq;
|
|
1746
|
-
type InvoicePdfReq = {
|
|
1747
|
-
data?: InvoicePdfPayloadData;
|
|
1748
|
-
};
|
|
1749
|
-
/** @returns {InvoicePdfResponse} */
|
|
1750
|
-
declare function InvoicePdfResponse(): InvoicePdfResponse;
|
|
1751
|
-
type InvoicePdfResponse = {
|
|
1752
|
-
/**
|
|
1753
|
-
* - Indicates whether the PDF generation request
|
|
1754
|
-
* was successful.
|
|
1755
|
-
*/
|
|
1756
|
-
success?: boolean;
|
|
1757
|
-
/**
|
|
1758
|
-
* - List of URLs or paths to the generated PDF files.
|
|
1759
|
-
*/
|
|
1760
|
-
data?: string[];
|
|
1761
|
-
/**
|
|
1762
|
-
* - List of errors encountered while generating the PDFs.
|
|
1763
|
-
*/
|
|
1764
|
-
error?: string[];
|
|
1765
|
-
};
|
|
1766
|
-
/** @returns {IsCnRefundMethodData} */
|
|
1767
|
-
declare function IsCnRefundMethodData(): IsCnRefundMethodData;
|
|
1768
|
-
type IsCnRefundMethodData = {
|
|
1769
|
-
/**
|
|
1770
|
-
* - The unique identifier of sale channels or
|
|
1771
|
-
* application as affiliate_id associated with the seller.
|
|
1772
|
-
*/
|
|
1773
|
-
affiliate_id?: string;
|
|
1774
|
-
/**
|
|
1775
|
-
* - Indicates whether editing the
|
|
1776
|
-
* refund method is required.
|
|
1777
|
-
*/
|
|
1778
|
-
toggle_edit_required?: boolean;
|
|
1779
|
-
/**
|
|
1780
|
-
* - Unique identifier for the seller.
|
|
1781
|
-
*/
|
|
1782
|
-
seller_id?: number;
|
|
1783
|
-
};
|
|
1784
|
-
/** @returns {IsCnRefundMethodReq} */
|
|
1785
|
-
declare function IsCnRefundMethodReq(): IsCnRefundMethodReq;
|
|
1786
|
-
type IsCnRefundMethodReq = {
|
|
1787
|
-
data?: IsCnRefundMethodData;
|
|
1788
|
-
};
|
|
1789
|
-
/** @returns {IsCnRefundMethodResponseData} */
|
|
1790
|
-
declare function IsCnRefundMethodResponseData(): IsCnRefundMethodResponseData;
|
|
1791
|
-
type IsCnRefundMethodResponseData = {
|
|
1792
|
-
/**
|
|
1793
|
-
* - Indicates whether the seller for
|
|
1794
|
-
* specific sale channel is using the refund method for the first time.
|
|
1795
|
-
*/
|
|
1796
|
-
is_first_time_user?: boolean;
|
|
1797
|
-
};
|
|
1798
|
-
/** @returns {IsCnRefundMethodResponse} */
|
|
1799
|
-
declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
|
|
1800
|
-
type IsCnRefundMethodResponse = {
|
|
1801
|
-
/**
|
|
1802
|
-
* - Indicates whether the request to determine
|
|
1803
|
-
* the refund method was successful.
|
|
1804
|
-
*/
|
|
1805
|
-
success?: boolean;
|
|
1806
|
-
data?: IsCnRefundMethodResponseData;
|
|
1807
|
-
};
|
|
1808
|
-
/** @returns {CreditNoteConfigNotificationEvents} */
|
|
1809
|
-
declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
|
|
1810
|
-
type CreditNoteConfigNotificationEvents = {
|
|
1811
|
-
/**
|
|
1812
|
-
* - Number of days before
|
|
1813
|
-
* the expiration date to send a reminder notification to the customer.
|
|
1814
|
-
*/
|
|
1815
|
-
expiration_reminder_to_customer?: number;
|
|
1816
|
-
};
|
|
1817
|
-
/** @returns {CreateSellerCreditNoteConfig} */
|
|
1818
|
-
declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
|
|
1819
|
-
type CreateSellerCreditNoteConfig = {
|
|
1820
|
-
/**
|
|
1821
|
-
* - Indicates if the credit note
|
|
1822
|
-
* is used as a refund method.
|
|
1823
|
-
*/
|
|
1824
|
-
is_cn_as_refund_method?: boolean;
|
|
1825
|
-
/**
|
|
1826
|
-
* - The unique identifier of sale channels or
|
|
1827
|
-
* application as affiliate_id associated with the seller.
|
|
1828
|
-
*/
|
|
1829
|
-
affiliate_id?: string;
|
|
1830
|
-
/**
|
|
1831
|
-
* - List of source channels associated
|
|
1832
|
-
* with the credit note configuration.
|
|
1833
|
-
*/
|
|
1834
|
-
source_channel?: string[];
|
|
1835
|
-
/**
|
|
1836
|
-
* - Unique identifier for the seller.
|
|
1837
|
-
*/
|
|
1838
|
-
seller_id?: number;
|
|
1839
|
-
notification_events?: CreditNoteConfigNotificationEvents;
|
|
1840
|
-
/**
|
|
1841
|
-
* - Name of the sales channel.
|
|
1842
|
-
*/
|
|
1843
|
-
sales_channel_name?: string;
|
|
1844
|
-
/**
|
|
1845
|
-
* - List of ordering channels
|
|
1846
|
-
* associated with the credit note configuration.
|
|
1847
|
-
*/
|
|
1848
|
-
ordering_channel?: string[];
|
|
1849
|
-
/**
|
|
1850
|
-
* - Validity period of the credit note in days.
|
|
1851
|
-
*/
|
|
1852
|
-
validity?: number;
|
|
1853
|
-
/**
|
|
1854
|
-
* - Type of currency used for the credit note.
|
|
1855
|
-
*/
|
|
1856
|
-
currency_type?: string;
|
|
1857
|
-
/**
|
|
1858
|
-
* - List of slug values associated with the
|
|
1859
|
-
* credit note configuration.
|
|
1860
|
-
*/
|
|
1861
|
-
slug_values?: string[];
|
|
1862
|
-
};
|
|
1863
|
-
/** @returns {CreateSellerCreditNoteConfigReq} */
|
|
1864
|
-
declare function CreateSellerCreditNoteConfigReq(): CreateSellerCreditNoteConfigReq;
|
|
1865
|
-
type CreateSellerCreditNoteConfigReq = {
|
|
1866
|
-
data?: CreateSellerCreditNoteConfig;
|
|
1867
|
-
};
|
|
1868
|
-
/** @returns {CreateSellerCreditNoteConfigResponse} */
|
|
1869
|
-
declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
|
|
1870
|
-
type CreateSellerCreditNoteConfigResponse = {
|
|
1871
|
-
/**
|
|
1872
|
-
* - Indicates if the credit note configuration
|
|
1873
|
-
* creation was successful.
|
|
1874
|
-
*/
|
|
1875
|
-
success?: boolean;
|
|
1876
|
-
/**
|
|
1877
|
-
* - Additional information or message about the
|
|
1878
|
-
* credit note configuration creation process.
|
|
1879
|
-
*/
|
|
1880
|
-
message?: string;
|
|
1881
|
-
};
|
|
1882
|
-
/** @returns {DeleteConfig} */
|
|
1883
|
-
declare function DeleteConfig(): DeleteConfig;
|
|
1884
|
-
type DeleteConfig = {
|
|
1885
|
-
/**
|
|
1886
|
-
* - The unique identifier of sale channels or
|
|
1887
|
-
* application as affiliate_id associated with the seller.
|
|
1888
|
-
*/
|
|
1889
|
-
affiliate_id?: string;
|
|
1890
|
-
/**
|
|
1891
|
-
* - List of slug values associated with the
|
|
1892
|
-
* credit note configuration.
|
|
1893
|
-
*/
|
|
1894
|
-
slug_values?: string[];
|
|
1895
|
-
/**
|
|
1896
|
-
* - Unique identifier for the seller.
|
|
1897
|
-
*/
|
|
1898
|
-
seller_id?: number;
|
|
1899
|
-
};
|
|
1900
|
-
/** @returns {DeleteConfigReq} */
|
|
1901
|
-
declare function DeleteConfigReq(): DeleteConfigReq;
|
|
1902
|
-
type DeleteConfigReq = {
|
|
1903
|
-
data?: DeleteConfig;
|
|
1904
|
-
};
|
|
1905
|
-
/** @returns {DeleteConfigResponse} */
|
|
1906
|
-
declare function DeleteConfigResponse(): DeleteConfigResponse;
|
|
1907
|
-
type DeleteConfigResponse = {
|
|
1908
|
-
/**
|
|
1909
|
-
* - Indicates if the configuration deletion was successful.
|
|
1910
|
-
*/
|
|
1911
|
-
success?: boolean;
|
|
1912
|
-
/**
|
|
1913
|
-
* - Additional information or message about the
|
|
1914
|
-
* configuration deletion process.
|
|
1915
|
-
*/
|
|
1916
|
-
message?: string;
|
|
1917
|
-
};
|
|
1918
|
-
/** @returns {ChannelDisplayNameItems} */
|
|
1919
|
-
declare function ChannelDisplayNameItems(): ChannelDisplayNameItems;
|
|
1920
|
-
type ChannelDisplayNameItems = {
|
|
1921
|
-
/**
|
|
1922
|
-
* - The unique key identifying the channel.
|
|
1923
|
-
*/
|
|
1924
|
-
key?: string;
|
|
1925
|
-
/**
|
|
1926
|
-
* - The display name of the channel associated with the key.
|
|
1927
|
-
*/
|
|
1928
|
-
value?: string;
|
|
1929
|
-
};
|
|
1930
|
-
/** @returns {ChannelDisplayNameResponse} */
|
|
1931
|
-
declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
|
|
1932
|
-
type ChannelDisplayNameResponse = {
|
|
1933
|
-
/**
|
|
1934
|
-
* - Indicates if the retrieval of channel display
|
|
1935
|
-
* names was successful.
|
|
1936
|
-
*/
|
|
1937
|
-
success?: boolean;
|
|
1938
|
-
/**
|
|
1939
|
-
* - List of items containing
|
|
1940
|
-
* key-value pairs for channel display names.
|
|
1941
|
-
*/
|
|
1942
|
-
items?: ChannelDisplayNameItems[];
|
|
1943
|
-
};
|
|
1944
|
-
/** @returns {CnReferenceNumber} */
|
|
1945
|
-
declare function CnReferenceNumber(): CnReferenceNumber;
|
|
1946
|
-
type CnReferenceNumber = {
|
|
1947
|
-
/**
|
|
1948
|
-
* - The unique reference number of the
|
|
1949
|
-
* credit note.
|
|
1950
|
-
*/
|
|
1951
|
-
cn_reference_number?: string;
|
|
1952
|
-
};
|
|
1953
|
-
/** @returns {GetPdfUrlViewReq} */
|
|
1954
|
-
declare function GetPdfUrlViewReq(): GetPdfUrlViewReq;
|
|
1955
|
-
type GetPdfUrlViewReq = {
|
|
1956
|
-
data?: CnReferenceNumber;
|
|
1957
|
-
};
|
|
1958
|
-
/** @returns {GetPdfUrlViewResponseData} */
|
|
1959
|
-
declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
|
|
1960
|
-
type GetPdfUrlViewResponseData = {
|
|
1961
|
-
/**
|
|
1962
|
-
* - The URL link where credit nore pdf stored
|
|
1963
|
-
* to view and download.
|
|
1964
|
-
*/
|
|
1965
|
-
s3_pdf_link?: string;
|
|
1966
|
-
/**
|
|
1967
|
-
* - The unique reference number of the
|
|
1968
|
-
* credit note.
|
|
1969
|
-
*/
|
|
1970
|
-
cn_reference_number?: string;
|
|
1971
|
-
};
|
|
1972
|
-
/** @returns {GetPdfUrlViewResponse} */
|
|
1973
|
-
declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
|
|
1974
|
-
type GetPdfUrlViewResponse = {
|
|
1975
|
-
/**
|
|
1976
|
-
* - Indicates if the retrieval of the pdf URL was
|
|
1977
|
-
* successful.
|
|
1978
|
-
*/
|
|
1979
|
-
success?: boolean;
|
|
1980
|
-
data?: GetPdfUrlViewResponseData;
|
|
1981
|
-
};
|
|
1982
|
-
/** @returns {CreditNoteDetailsReq} */
|
|
1983
|
-
declare function CreditNoteDetailsReq(): CreditNoteDetailsReq;
|
|
1984
|
-
type CreditNoteDetailsReq = {
|
|
1985
|
-
data?: CnReferenceNumber;
|
|
1986
|
-
};
|
|
1987
|
-
/** @returns {CnDetails} */
|
|
1988
|
-
declare function CnDetails(): CnDetails;
|
|
1989
|
-
type CnDetails = {
|
|
1990
|
-
/**
|
|
1991
|
-
* - ID of the staff member associated with the credit note.
|
|
1992
|
-
*/
|
|
1993
|
-
staff_id?: string;
|
|
1994
|
-
/**
|
|
1995
|
-
* - Expiry date of the credit note.
|
|
1996
|
-
*/
|
|
1997
|
-
expiry_date?: string;
|
|
1998
|
-
/**
|
|
1999
|
-
* - Channel through which the credit
|
|
2000
|
-
* note was issued.
|
|
2001
|
-
*/
|
|
2002
|
-
channel_of_issuance?: string;
|
|
2003
|
-
/**
|
|
2004
|
-
* - Order ID of order for which credit note created.
|
|
2005
|
-
*/
|
|
2006
|
-
order_id?: string;
|
|
2007
|
-
/**
|
|
2008
|
-
* - Date when the credit note was issued.
|
|
2009
|
-
*/
|
|
2010
|
-
date_issued?: string;
|
|
2011
|
-
/**
|
|
2012
|
-
* - Ordering channel associated with the
|
|
2013
|
-
* credit note.
|
|
2014
|
-
*/
|
|
2015
|
-
ordering_channel?: string;
|
|
2016
|
-
/**
|
|
2017
|
-
* - Shipment Id associated with the credit note.
|
|
2018
|
-
*/
|
|
2019
|
-
shipment_id?: string;
|
|
2020
|
-
/**
|
|
2021
|
-
* - Store Id associated with the credit note.
|
|
2022
|
-
*/
|
|
2023
|
-
store_id?: string;
|
|
2024
|
-
/**
|
|
2025
|
-
* - Invoice number associated with the credit note.
|
|
2026
|
-
*/
|
|
2027
|
-
invoice_number?: string;
|
|
2028
|
-
};
|
|
2029
|
-
/** @returns {RedemptionDetails} */
|
|
2030
|
-
declare function RedemptionDetails(): RedemptionDetails;
|
|
2031
|
-
type RedemptionDetails = {
|
|
2032
|
-
/**
|
|
2033
|
-
* - Additional metadata related to the redemption details.
|
|
2034
|
-
*/
|
|
2035
|
-
meta?: any;
|
|
2036
|
-
/**
|
|
2037
|
-
* - ID of the staff member who processed the redemption.
|
|
2038
|
-
*/
|
|
2039
|
-
staff_id?: string;
|
|
2040
|
-
/**
|
|
2041
|
-
* - Date and time when the redemption was processed.
|
|
2042
|
-
*/
|
|
2043
|
-
created_at?: string;
|
|
2044
|
-
/**
|
|
2045
|
-
* - Order Id of the order associated with the redemption.
|
|
2046
|
-
*/
|
|
2047
|
-
order_id?: string;
|
|
2048
|
-
/**
|
|
2049
|
-
* - Store Id of the order associated with the redemption.
|
|
2050
|
-
*/
|
|
2051
|
-
store_id?: string;
|
|
2052
|
-
/**
|
|
2053
|
-
* - Shipment Id of the order associated with
|
|
2054
|
-
* the redemption.
|
|
2055
|
-
*/
|
|
2056
|
-
shipment_id?: string;
|
|
2057
|
-
/**
|
|
2058
|
-
* - Ordering channel associated with the
|
|
2059
|
-
* redemption.
|
|
2060
|
-
*/
|
|
2061
|
-
ordering_channel?: string;
|
|
2062
|
-
/**
|
|
2063
|
-
* - Amount debited from the credit note
|
|
2064
|
-
* during redemption.
|
|
2065
|
-
*/
|
|
2066
|
-
amount_debited?: number;
|
|
2067
|
-
/**
|
|
2068
|
-
* - Invoice number associated with the redemption.
|
|
2069
|
-
*/
|
|
2070
|
-
invoice_number?: string;
|
|
2071
|
-
};
|
|
2072
|
-
/** @returns {CreditNoteDetails} */
|
|
2073
|
-
declare function CreditNoteDetails(): CreditNoteDetails;
|
|
2074
|
-
type CreditNoteDetails = {
|
|
2075
|
-
/**
|
|
2076
|
-
* - Currency in which the credit note is issued.
|
|
2077
|
-
*/
|
|
2078
|
-
currency?: string;
|
|
2079
|
-
/**
|
|
2080
|
-
* - Current amount used from the credit note.
|
|
2081
|
-
*/
|
|
2082
|
-
current_amount_used?: number;
|
|
2083
|
-
/**
|
|
2084
|
-
* - Status of the credit note.
|
|
2085
|
-
*/
|
|
2086
|
-
cn_status?: string;
|
|
2087
|
-
/**
|
|
2088
|
-
* - Mobile number of the customer
|
|
2089
|
-
* associated with the credit note.
|
|
2090
|
-
*/
|
|
2091
|
-
customer_mobile_number?: string;
|
|
2092
|
-
/**
|
|
2093
|
-
* - Unique Credit number of the credit note.
|
|
2094
|
-
*/
|
|
2095
|
-
cn_reference_number?: string;
|
|
2096
|
-
cn_details?: CnDetails;
|
|
2097
|
-
/**
|
|
2098
|
-
* - List of redemption
|
|
2099
|
-
* details associated with the credit note.
|
|
2100
|
-
*/
|
|
2101
|
-
redemption_details?: RedemptionDetails[];
|
|
2102
|
-
/**
|
|
2103
|
-
* - Remaining amount left in the credit note.
|
|
2104
|
-
*/
|
|
2105
|
-
remaining_cn_amount?: number;
|
|
2106
|
-
/**
|
|
2107
|
-
* - Available balance in the credit note.
|
|
2108
|
-
*/
|
|
2109
|
-
available_cn_balance?: number;
|
|
2110
|
-
/**
|
|
2111
|
-
* - Total amount of the credit note.
|
|
2112
|
-
*/
|
|
2113
|
-
cn_amount?: number;
|
|
2114
|
-
};
|
|
2115
|
-
/** @returns {CreditNoteDetailsResponse} */
|
|
2116
|
-
declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
|
|
2117
|
-
type CreditNoteDetailsResponse = {
|
|
2118
|
-
/**
|
|
2119
|
-
* - Indicates if the retrieval of credit note
|
|
2120
|
-
* details was successful.
|
|
2121
|
-
*/
|
|
2122
|
-
success?: boolean;
|
|
2123
|
-
data?: CreditNoteDetails;
|
|
2124
|
-
};
|
|
2125
|
-
/** @returns {GetCustomerCreditBalance} */
|
|
2126
|
-
declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
|
|
2127
|
-
type GetCustomerCreditBalance = {
|
|
2128
|
-
/**
|
|
2129
|
-
* - The unique identifier of sale channels or
|
|
2130
|
-
* application as affiliate_id associated with the seller.
|
|
2131
|
-
*/
|
|
2132
|
-
affiliate_id?: string;
|
|
2133
|
-
/**
|
|
2134
|
-
* - Unique identifier for the seller.
|
|
2135
|
-
*/
|
|
2136
|
-
seller_id?: number;
|
|
2137
|
-
/**
|
|
2138
|
-
* - Mobile number of the customer
|
|
2139
|
-
* for whom the credit balance is requested.
|
|
2140
|
-
*/
|
|
2141
|
-
customer_mobile_number?: string;
|
|
2142
|
-
};
|
|
2143
|
-
/** @returns {GetCustomerCreditBalanceReq} */
|
|
2144
|
-
declare function GetCustomerCreditBalanceReq(): GetCustomerCreditBalanceReq;
|
|
2145
|
-
type GetCustomerCreditBalanceReq = {
|
|
2146
|
-
data?: GetCustomerCreditBalance;
|
|
2147
|
-
};
|
|
2148
|
-
/** @returns {GetCustomerCreditBalanceResponseData} */
|
|
2149
|
-
declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
|
|
2150
|
-
type GetCustomerCreditBalanceResponseData = {
|
|
2151
|
-
/**
|
|
2152
|
-
* - Mobile number of the customer.
|
|
2153
|
-
*/
|
|
2154
|
-
customer_mobile_number?: string;
|
|
2155
|
-
/**
|
|
2156
|
-
* - Total credited balance
|
|
2157
|
-
* available for the customer.
|
|
2158
|
-
*/
|
|
2159
|
-
total_credited_balance?: number;
|
|
2160
|
-
};
|
|
2161
|
-
/** @returns {GetCustomerCreditBalanceResponse} */
|
|
2162
|
-
declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
|
|
2163
|
-
type GetCustomerCreditBalanceResponse = {
|
|
2164
|
-
/**
|
|
2165
|
-
* - Indicates if the retrieval of customer credit
|
|
2166
|
-
* balance was successful.
|
|
2167
|
-
*/
|
|
2168
|
-
success?: boolean;
|
|
2169
|
-
data?: GetCustomerCreditBalanceResponseData;
|
|
2170
|
-
};
|
|
2171
|
-
/** @returns {GetCnConfigReq} */
|
|
2172
|
-
declare function GetCnConfigReq(): GetCnConfigReq;
|
|
2173
|
-
type GetCnConfigReq = {
|
|
2174
|
-
data?: DeleteConfig;
|
|
2175
|
-
};
|
|
2176
|
-
/** @returns {GetCnConfigResponseMeta} */
|
|
2177
|
-
declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
|
|
2178
|
-
type GetCnConfigResponseMeta = {
|
|
2179
|
-
/**
|
|
2180
|
-
* - Reason associated with the configuration response.
|
|
2181
|
-
*/
|
|
2182
|
-
reason?: string;
|
|
2183
|
-
/**
|
|
2184
|
-
* - List of source channels associated
|
|
2185
|
-
* with the credit note configuration.
|
|
2186
|
-
*/
|
|
2187
|
-
source_channel?: string[];
|
|
2188
|
-
};
|
|
2189
|
-
/** @returns {GetCnConfigResponseData} */
|
|
2190
|
-
declare function GetCnConfigResponseData(): GetCnConfigResponseData;
|
|
2191
|
-
type GetCnConfigResponseData = {
|
|
2192
|
-
/**
|
|
2193
|
-
* - Indicates if the credit note
|
|
2194
|
-
* is configured as a refund method.
|
|
2195
|
-
*/
|
|
2196
|
-
is_cn_as_refund_method?: boolean;
|
|
2197
|
-
/**
|
|
2198
|
-
* - The unique identifier of sale channels or
|
|
2199
|
-
* application as affiliate_id associated with the seller.
|
|
2200
|
-
*/
|
|
2201
|
-
affiliate_id?: string;
|
|
2202
|
-
meta?: any;
|
|
2203
|
-
/**
|
|
2204
|
-
* - Unique identifier for the seller.
|
|
2205
|
-
*/
|
|
2206
|
-
seller_id?: number;
|
|
2207
|
-
notification_events?: CreditNoteConfigNotificationEvents;
|
|
2208
|
-
/**
|
|
2209
|
-
* - Validity period of the credit note
|
|
2210
|
-
* configuration in days.
|
|
2211
|
-
*/
|
|
2212
|
-
validity?: number;
|
|
2213
|
-
/**
|
|
2214
|
-
* - List of ordering
|
|
2215
|
-
* channels associated with credit note redemption.
|
|
2216
|
-
*/
|
|
2217
|
-
redemption_ordering_channel?: string[];
|
|
2218
|
-
/**
|
|
2219
|
-
* - Type of currency used for the credit note.
|
|
2220
|
-
*/
|
|
2221
|
-
currency_type?: string;
|
|
2222
|
-
};
|
|
2223
|
-
/** @returns {GetCnConfigResponse} */
|
|
2224
|
-
declare function GetCnConfigResponse(): GetCnConfigResponse;
|
|
2225
|
-
type GetCnConfigResponse = {
|
|
2226
|
-
/**
|
|
2227
|
-
* - Indicates if the retrieval of credit note
|
|
2228
|
-
* configuration was successful.
|
|
2229
|
-
*/
|
|
2230
|
-
success?: boolean;
|
|
2231
|
-
data?: GetCnConfigResponseData;
|
|
2232
|
-
};
|
|
2233
|
-
/** @returns {CnGenerateReportFilters} */
|
|
2234
|
-
declare function CnGenerateReportFilters(): CnGenerateReportFilters;
|
|
2235
|
-
type CnGenerateReportFilters = {
|
|
2236
|
-
/**
|
|
2237
|
-
* - Array of staff IDs for filtering credit note reports.
|
|
2238
|
-
*/
|
|
2239
|
-
staff_id?: string[];
|
|
2240
|
-
/**
|
|
2241
|
-
* - Array of channels through which
|
|
2242
|
-
* credit notes were issued.
|
|
2243
|
-
*/
|
|
2244
|
-
channel_of_issuance?: string[];
|
|
2245
|
-
/**
|
|
2246
|
-
* - Array of utilisation types for filtering
|
|
2247
|
-
* credit note reports.
|
|
2248
|
-
*/
|
|
2249
|
-
utilisation?: string[];
|
|
2250
|
-
/**
|
|
2251
|
-
* - Array of ordering channels
|
|
2252
|
-
* associated with credit note reports.
|
|
2253
|
-
*/
|
|
2254
|
-
ordering_channel?: string[];
|
|
2255
|
-
/**
|
|
2256
|
-
* - Array of store IDs for filtering credit note reports.
|
|
2257
|
-
*/
|
|
2258
|
-
store_id?: number[];
|
|
2259
|
-
/**
|
|
2260
|
-
* - Array of transaction types for
|
|
2261
|
-
* filtering credit note reports.
|
|
2262
|
-
*/
|
|
2263
|
-
type_of_transaction?: string[];
|
|
2264
|
-
/**
|
|
2265
|
-
* - Array of issuance channels for
|
|
2266
|
-
* filtering credit note reports.
|
|
2267
|
-
*/
|
|
2268
|
-
issuance_channel?: string[];
|
|
2269
|
-
};
|
|
2270
|
-
/** @returns {CnGenerateReport} */
|
|
2271
|
-
declare function CnGenerateReport(): CnGenerateReport;
|
|
2272
|
-
type CnGenerateReport = {
|
|
2273
|
-
/**
|
|
2274
|
-
* - Page number of the credit note report.
|
|
2275
|
-
*/
|
|
2276
|
-
page?: number;
|
|
2277
|
-
/**
|
|
2278
|
-
* - End date for filtering credit note data.
|
|
2279
|
-
*/
|
|
2280
|
-
end_date?: string;
|
|
2281
|
-
/**
|
|
2282
|
-
* - Number of items per page in the credit note report.
|
|
2283
|
-
*/
|
|
2284
|
-
page_size?: number;
|
|
2285
|
-
filters?: CnGenerateReportFilters;
|
|
2286
|
-
/**
|
|
2287
|
-
* - The unique identifier of sale channels or
|
|
2288
|
-
* application as affiliate_id associated with the seller.
|
|
2289
|
-
*/
|
|
2290
|
-
affiliate_id?: string;
|
|
2291
|
-
meta?: GenerateReportFilters;
|
|
2292
|
-
/**
|
|
2293
|
-
* - Search query to filter credit note data by keyword.
|
|
2294
|
-
*/
|
|
2295
|
-
search?: string;
|
|
2296
|
-
/**
|
|
2297
|
-
* - Unique identifier for the credit note report.
|
|
2298
|
-
*/
|
|
2299
|
-
report_id?: string;
|
|
2300
|
-
/**
|
|
2301
|
-
* - Type of search criteria used for filtering
|
|
2302
|
-
* credit note data.
|
|
2303
|
-
*/
|
|
2304
|
-
search_type?: string;
|
|
2305
|
-
/**
|
|
2306
|
-
* - Start date for filtering credit note data.
|
|
2307
|
-
*/
|
|
2308
|
-
start_date?: string;
|
|
2309
|
-
};
|
|
2310
|
-
/** @returns {GenerateReportCustomerCnReq} */
|
|
2311
|
-
declare function GenerateReportCustomerCnReq(): GenerateReportCustomerCnReq;
|
|
2312
|
-
type GenerateReportCustomerCnReq = {
|
|
2313
|
-
data?: CnGenerateReport;
|
|
2314
|
-
};
|
|
2315
|
-
/** @returns {CnGenerateReportItems} */
|
|
2316
|
-
declare function CnGenerateReportItems(): CnGenerateReportItems;
|
|
2317
|
-
type CnGenerateReportItems = {
|
|
2318
|
-
/**
|
|
2319
|
-
* - Expiry date of the credit note item.
|
|
2320
|
-
*/
|
|
2321
|
-
expiry_date?: string;
|
|
2322
|
-
/**
|
|
2323
|
-
* - Status of the credit note item.
|
|
2324
|
-
*/
|
|
2325
|
-
status?: string;
|
|
2326
|
-
/**
|
|
2327
|
-
* - Total amount of the credit note item.
|
|
2328
|
-
*/
|
|
2329
|
-
total_amount?: number;
|
|
2330
|
-
/**
|
|
2331
|
-
* - Order ID of the order associated with the
|
|
2332
|
-
* credit note item.
|
|
2333
|
-
*/
|
|
2334
|
-
order_id?: string;
|
|
2335
|
-
/**
|
|
2336
|
-
* - Date when the credit note item was issued.
|
|
2337
|
-
*/
|
|
2338
|
-
date_issued?: string;
|
|
2339
|
-
/**
|
|
2340
|
-
* - Shipment ID of the order associated with
|
|
2341
|
-
* the credit note item.
|
|
2342
|
-
*/
|
|
2343
|
-
shipment_id?: string;
|
|
2344
|
-
/**
|
|
2345
|
-
* - Invoice number associated with the
|
|
2346
|
-
* credit note item.
|
|
2347
|
-
*/
|
|
2348
|
-
invoice_number?: string;
|
|
2349
|
-
/**
|
|
2350
|
-
* - Unique number of the credit note item.
|
|
2351
|
-
*/
|
|
2352
|
-
credit_note_number?: string;
|
|
2353
|
-
};
|
|
2354
|
-
/** @returns {GenerateReportCustomerCnResponseData} */
|
|
2355
|
-
declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
|
|
2356
|
-
type GenerateReportCustomerCnResponseData = {
|
|
2357
|
-
/**
|
|
2358
|
-
* - Indicates if the credit note report
|
|
2359
|
-
* generation was successful.
|
|
2360
|
-
*/
|
|
2361
|
-
success?: boolean;
|
|
2362
|
-
/**
|
|
2363
|
-
* - Additional message or information related to
|
|
2364
|
-
* the credit note report.
|
|
2365
|
-
*/
|
|
2366
|
-
message?: string;
|
|
2367
|
-
/**
|
|
2368
|
-
* - List of credit note items in the report.
|
|
2369
|
-
*/
|
|
2370
|
-
items?: CnGenerateReportItems[];
|
|
2371
|
-
/**
|
|
2372
|
-
* - Display order for row headers
|
|
2373
|
-
* in the report.
|
|
2374
|
-
*/
|
|
2375
|
-
row_header_display_order?: any;
|
|
2376
|
-
/**
|
|
2377
|
-
* - End date used in the credit note report.
|
|
2378
|
-
*/
|
|
2379
|
-
end_date?: string;
|
|
2380
|
-
page?: Page;
|
|
2381
|
-
/**
|
|
2382
|
-
* - Headers included in the credit note report.
|
|
2383
|
-
*/
|
|
2384
|
-
headers?: string[];
|
|
2385
|
-
/**
|
|
2386
|
-
* - Primary headers used in the credit
|
|
2387
|
-
* note report.
|
|
2388
|
-
*/
|
|
2389
|
-
primary_headers?: string[];
|
|
2390
|
-
/**
|
|
2391
|
-
* - Allowed filters for the credit note report.
|
|
2392
|
-
*/
|
|
2393
|
-
allowed_filters?: string[];
|
|
2394
|
-
/**
|
|
2395
|
-
* - Start date used in the credit note report.
|
|
2396
|
-
*/
|
|
2397
|
-
start_date?: string;
|
|
2398
|
-
/**
|
|
2399
|
-
* - Total count of credit note items in the report.
|
|
2400
|
-
*/
|
|
2401
|
-
item_count?: number;
|
|
2402
|
-
};
|
|
2403
|
-
/** @returns {GenerateReportCustomerCnResponse} */
|
|
2404
|
-
declare function GenerateReportCustomerCnResponse(): GenerateReportCustomerCnResponse;
|
|
2405
|
-
type GenerateReportCustomerCnResponse = {
|
|
2406
|
-
data?: GenerateReportCustomerCnResponseData;
|
|
2407
|
-
};
|
|
2408
|
-
/** @returns {CnDownloadReport} */
|
|
2409
|
-
declare function CnDownloadReport(): CnDownloadReport;
|
|
2410
|
-
type CnDownloadReport = {
|
|
2411
|
-
/**
|
|
2412
|
-
* - Page number of the download report.
|
|
2413
|
-
*/
|
|
2414
|
-
page?: number;
|
|
2415
|
-
/**
|
|
2416
|
-
* - Start date for filtering credit note data
|
|
2417
|
-
* in the report.
|
|
2418
|
-
*/
|
|
2419
|
-
start_date?: string;
|
|
2420
|
-
/**
|
|
2421
|
-
* - End date for filtering credit note data in the report.
|
|
2422
|
-
*/
|
|
2423
|
-
end_date?: string;
|
|
2424
|
-
/**
|
|
2425
|
-
* - The unique identifier of sale channels or
|
|
2426
|
-
* application as affiliate_id associated with the seller.
|
|
2427
|
-
*/
|
|
2428
|
-
affiliate_id?: string;
|
|
2429
|
-
/**
|
|
2430
|
-
* - Search query to filter credit note data by keyword.
|
|
2431
|
-
*/
|
|
2432
|
-
search?: string;
|
|
2433
|
-
/**
|
|
2434
|
-
* - Status of the credit note data in the report.
|
|
2435
|
-
*/
|
|
2436
|
-
status?: string;
|
|
2437
|
-
/**
|
|
2438
|
-
* - Type of search criteria used for filtering
|
|
2439
|
-
* credit note data.
|
|
2440
|
-
*/
|
|
2441
|
-
search_type?: string;
|
|
2442
|
-
/**
|
|
2443
|
-
* - Number of items per page in the download report.
|
|
2444
|
-
*/
|
|
2445
|
-
page_size?: number;
|
|
2446
|
-
};
|
|
2447
|
-
/** @returns {DownloadReportCustomerCnReq} */
|
|
2448
|
-
declare function DownloadReportCustomerCnReq(): DownloadReportCustomerCnReq;
|
|
2449
|
-
type DownloadReportCustomerCnReq = {
|
|
2450
|
-
data?: CnDownloadReport;
|
|
2451
|
-
};
|
|
2452
|
-
/** @returns {DownloadReportResponseData} */
|
|
2453
|
-
declare function DownloadReportResponseData(): DownloadReportResponseData;
|
|
2454
|
-
type DownloadReportResponseData = {
|
|
2455
|
-
/**
|
|
2456
|
-
* - Unique identifier for the report configuration.
|
|
2457
|
-
*/
|
|
2458
|
-
report_config_id?: string;
|
|
2459
|
-
/**
|
|
2460
|
-
* - Full name associated with the report request.
|
|
2461
|
-
*/
|
|
2462
|
-
full_name?: string;
|
|
2463
|
-
/**
|
|
2464
|
-
* - User who requested the report.
|
|
2465
|
-
*/
|
|
2466
|
-
requested_by?: string;
|
|
2467
|
-
/**
|
|
2468
|
-
* - Start date used in the report.
|
|
2469
|
-
*/
|
|
2470
|
-
start_date?: string;
|
|
2471
|
-
/**
|
|
2472
|
-
* - End date used in the report.
|
|
2473
|
-
*/
|
|
2474
|
-
end_date?: string;
|
|
2475
|
-
/**
|
|
2476
|
-
* - Dictionary containing request parameters
|
|
2477
|
-
* for the report.
|
|
2478
|
-
*/
|
|
2479
|
-
request_dict?: any;
|
|
2480
|
-
/**
|
|
2481
|
-
* - Download link for accessing the generated report.
|
|
2482
|
-
*/
|
|
2483
|
-
download_link?: string;
|
|
2484
|
-
/**
|
|
2485
|
-
* - Date and time when the report was created.
|
|
2486
|
-
*/
|
|
2487
|
-
created_at?: string;
|
|
2488
|
-
/**
|
|
2489
|
-
* - Additional metadata associated with the report.
|
|
2490
|
-
*/
|
|
2491
|
-
meta?: any;
|
|
2492
|
-
/**
|
|
2493
|
-
* - Message related to the report status or generation.
|
|
2494
|
-
*/
|
|
2495
|
-
msg?: string;
|
|
2496
|
-
/**
|
|
2497
|
-
* - Name of the generated report.
|
|
2498
|
-
*/
|
|
2499
|
-
report_name?: string;
|
|
2500
|
-
/**
|
|
2501
|
-
* - Status of the report.
|
|
2502
|
-
*/
|
|
2503
|
-
status?: string;
|
|
2504
|
-
/**
|
|
2505
|
-
* - Display name of the report.
|
|
2506
|
-
*/
|
|
2507
|
-
display_name?: string;
|
|
2508
|
-
/**
|
|
2509
|
-
* - Filters applied to generate the report.
|
|
2510
|
-
*/
|
|
2511
|
-
filters?: any;
|
|
2512
|
-
};
|
|
2513
|
-
/** @returns {DownloadReportCustomerCnResponse} */
|
|
2514
|
-
declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
|
|
2515
|
-
type DownloadReportCustomerCnResponse = {
|
|
2516
|
-
/**
|
|
2517
|
-
* - List of download report data items.
|
|
2518
|
-
*/
|
|
2519
|
-
items?: DownloadReportResponseData[];
|
|
2520
|
-
/**
|
|
2521
|
-
* - Total count of items in the download report.
|
|
2522
|
-
*/
|
|
2523
|
-
item_count?: number;
|
|
2524
|
-
page?: Page;
|
|
2525
|
-
};
|
|
2526
|
-
/** @returns {GetReportingFilters} */
|
|
2527
|
-
declare function GetReportingFilters(): GetReportingFilters;
|
|
2528
|
-
type GetReportingFilters = {
|
|
2529
|
-
/**
|
|
2530
|
-
* - Display text for the filter.
|
|
2531
|
-
*/
|
|
2532
|
-
text?: string;
|
|
2533
|
-
/**
|
|
2534
|
-
* - Type of the fields like seach, filter(e.g.,
|
|
2535
|
-
* single, multi select).
|
|
2536
|
-
*/
|
|
2537
|
-
type?: string;
|
|
2538
|
-
/**
|
|
2539
|
-
* - Options available for the filter.
|
|
2540
|
-
*/
|
|
2541
|
-
options?: any[];
|
|
2542
|
-
/**
|
|
2543
|
-
* - Value to be pass in response select from options.
|
|
2544
|
-
*/
|
|
2545
|
-
value?: string;
|
|
2546
|
-
};
|
|
2547
|
-
/** @returns {GetReportingNestedFilters} */
|
|
2548
|
-
declare function GetReportingNestedFilters(): GetReportingNestedFilters;
|
|
2549
|
-
type GetReportingNestedFilters = {
|
|
2550
|
-
/**
|
|
2551
|
-
* - Display text for the nested filter.
|
|
2552
|
-
*/
|
|
2553
|
-
text?: string;
|
|
2554
|
-
/**
|
|
2555
|
-
* - Options available for the nested filter.
|
|
2556
|
-
*/
|
|
2557
|
-
options?: any[];
|
|
2558
|
-
/**
|
|
2559
|
-
* - Indicates if the nested filter is required.
|
|
2560
|
-
*/
|
|
2561
|
-
required?: boolean;
|
|
2562
|
-
/**
|
|
2563
|
-
* - Placeholder text for the nested filter.
|
|
2564
|
-
*/
|
|
2565
|
-
placeholder_text?: string;
|
|
2566
|
-
/**
|
|
2567
|
-
* - Type of the nested filter (e.g., single, multi select).
|
|
2568
|
-
*/
|
|
2569
|
-
type?: string;
|
|
2570
|
-
/**
|
|
2571
|
-
* - Value to be pass in response select from options.
|
|
2572
|
-
*/
|
|
2573
|
-
value?: string;
|
|
2574
|
-
};
|
|
2575
|
-
/** @returns {GetReportingFiltersReasonOptions} */
|
|
2576
|
-
declare function GetReportingFiltersReasonOptions(): GetReportingFiltersReasonOptions;
|
|
2577
|
-
type GetReportingFiltersReasonOptions = {
|
|
2578
|
-
/**
|
|
2579
|
-
* - Display text for the reason option.
|
|
2580
|
-
*/
|
|
2581
|
-
text?: string;
|
|
2582
|
-
/**
|
|
2583
|
-
* - Value of the reason option.
|
|
2584
|
-
*/
|
|
2585
|
-
value?: string;
|
|
2586
|
-
/**
|
|
2587
|
-
* - Placeholder text for the reason option.
|
|
2588
|
-
*/
|
|
2589
|
-
placeholder_text?: string;
|
|
2590
|
-
};
|
|
2591
|
-
/** @returns {GetReportingFiltersReason} */
|
|
2592
|
-
declare function GetReportingFiltersReason(): GetReportingFiltersReason;
|
|
2593
|
-
type GetReportingFiltersReason = {
|
|
2594
|
-
/**
|
|
2595
|
-
* - Display text for the reason.
|
|
2596
|
-
*/
|
|
2597
|
-
text?: string;
|
|
2598
|
-
/**
|
|
2599
|
-
* - Type of the reason.
|
|
2600
|
-
*/
|
|
2601
|
-
type?: string;
|
|
2602
|
-
/**
|
|
2603
|
-
* - Value to be pass in response.
|
|
2604
|
-
*/
|
|
2605
|
-
value?: string;
|
|
2606
|
-
/**
|
|
2607
|
-
* - Options available
|
|
2608
|
-
* for the reasons select from options.
|
|
2609
|
-
*/
|
|
2610
|
-
options?: GetReportingFiltersReasonOptions[];
|
|
2611
|
-
};
|
|
2612
|
-
/** @returns {GetReportingFiltersResponse} */
|
|
2613
|
-
declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
|
|
2614
|
-
type GetReportingFiltersResponse = {
|
|
2615
|
-
reason?: GetReportingFiltersReason;
|
|
2616
|
-
search?: GetReportingFilters;
|
|
2617
|
-
/**
|
|
2618
|
-
* - Array of nested filter objects.
|
|
2619
|
-
*/
|
|
2620
|
-
filters?: GetReportingNestedFilters[];
|
|
2621
|
-
status?: GetReportingFilters;
|
|
2622
|
-
};
|
|
2623
|
-
/** @returns {InvoicePaymentOptionsPayloadData} */
|
|
2624
|
-
declare function InvoicePaymentOptionsPayloadData(): InvoicePaymentOptionsPayloadData;
|
|
2625
|
-
type InvoicePaymentOptionsPayloadData = {
|
|
2626
|
-
/**
|
|
2627
|
-
* - List of invoice numbers for which
|
|
2628
|
-
* payment options are being requested.
|
|
2629
|
-
*/
|
|
2630
|
-
invoice_numbers?: string[];
|
|
2631
|
-
};
|
|
2632
|
-
/** @returns {InvoicePaymentOptionsReq} */
|
|
2633
|
-
declare function InvoicePaymentOptionsReq(): InvoicePaymentOptionsReq;
|
|
2634
|
-
type InvoicePaymentOptionsReq = {
|
|
2635
|
-
data?: InvoicePaymentOptionsPayloadData;
|
|
2636
|
-
};
|
|
2637
|
-
/** @returns {InvoicePaymentOptionsResponsePayableAmounts} */
|
|
2638
|
-
declare function InvoicePaymentOptionsResponsePayableAmounts(): InvoicePaymentOptionsResponsePayableAmounts;
|
|
2639
|
-
type InvoicePaymentOptionsResponsePayableAmounts = {
|
|
2640
|
-
/**
|
|
2641
|
-
* - Amount that is payable for the invoice.
|
|
2642
|
-
*/
|
|
2643
|
-
amount?: number;
|
|
2644
|
-
/**
|
|
2645
|
-
* - Key associated with the payable amount for
|
|
2646
|
-
* identification.
|
|
2647
|
-
*/
|
|
2648
|
-
amount_key?: string;
|
|
2649
|
-
/**
|
|
2650
|
-
* - Header describing the payable amount.
|
|
2651
|
-
*/
|
|
2652
|
-
header?: string;
|
|
2653
|
-
};
|
|
2654
|
-
/** @returns {InvoicePaymentOptionsResponseDeductedAmounts} */
|
|
2655
|
-
declare function InvoicePaymentOptionsResponseDeductedAmounts(): InvoicePaymentOptionsResponseDeductedAmounts;
|
|
2656
|
-
type InvoicePaymentOptionsResponseDeductedAmounts = {
|
|
2657
|
-
/**
|
|
2658
|
-
* - Amount deducted from the invoice.
|
|
2659
|
-
*/
|
|
2660
|
-
amount?: number;
|
|
2661
|
-
/**
|
|
2662
|
-
* - Header describing the deducted amount.
|
|
2663
|
-
*/
|
|
2664
|
-
header?: string;
|
|
2665
|
-
/**
|
|
2666
|
-
* - Key associated with the deducted amount for
|
|
2667
|
-
* identification.
|
|
2668
|
-
*/
|
|
2669
|
-
amount_key?: string;
|
|
2670
|
-
/**
|
|
2671
|
-
* - Indicates whether the deducted amount is payable.
|
|
2672
|
-
*/
|
|
2673
|
-
is_payable?: boolean;
|
|
2674
|
-
/**
|
|
2675
|
-
* - Currency symbol associated with the deducted amount.
|
|
2676
|
-
*/
|
|
2677
|
-
symbol?: string;
|
|
2678
|
-
};
|
|
2679
|
-
/** @returns {InvoicePaymentOptionsResponseData} */
|
|
2680
|
-
declare function InvoicePaymentOptionsResponseData(): InvoicePaymentOptionsResponseData;
|
|
2681
|
-
type InvoicePaymentOptionsResponseData = {
|
|
2682
|
-
/**
|
|
2683
|
-
* - Invoice number for which payment
|
|
2684
|
-
* options are provided.
|
|
2685
|
-
*/
|
|
2686
|
-
invoice_number?: string;
|
|
2687
|
-
/**
|
|
2688
|
-
* - Type of the invoice (e.g., 'Seller Fynd',
|
|
2689
|
-
* 'Platform Subscription').
|
|
2690
|
-
*/
|
|
2691
|
-
invoice_type?: string;
|
|
2692
|
-
/**
|
|
2693
|
-
* - List of amounts that are payable for the invoice.
|
|
2694
|
-
*/
|
|
2695
|
-
display_amounts?: InvoicePaymentOptionsResponsePayableAmounts[];
|
|
2696
|
-
/**
|
|
2697
|
-
* - Total amount for the invoice.
|
|
2698
|
-
*/
|
|
2699
|
-
total_amount?: any;
|
|
2700
|
-
/**
|
|
2701
|
-
* - Amounts deducted from the total,
|
|
2702
|
-
* including any associated details.
|
|
2703
|
-
*/
|
|
2704
|
-
deducted_amounts?: any;
|
|
2705
|
-
/**
|
|
2706
|
-
* - Amounts that are payable for the invoice.
|
|
2707
|
-
*/
|
|
2708
|
-
payable_amounts?: InvoicePaymentOptionsResponsePayableAmounts[];
|
|
2709
|
-
currency?: Currency;
|
|
2710
|
-
};
|
|
2711
|
-
/** @returns {InvoicePaymentOptionsResponse} */
|
|
2712
|
-
declare function InvoicePaymentOptionsResponse(): InvoicePaymentOptionsResponse;
|
|
2713
|
-
type InvoicePaymentOptionsResponse = {
|
|
2714
|
-
/**
|
|
2715
|
-
* - Reason for the response or any errors encountered.
|
|
2716
|
-
*/
|
|
2717
|
-
reason?: string;
|
|
2718
|
-
/**
|
|
2719
|
-
* - List of data objects
|
|
2720
|
-
* containing details about invoice payment options.
|
|
2721
|
-
*/
|
|
2722
|
-
data?: InvoicePaymentOptionsResponseData[];
|
|
2723
|
-
/**
|
|
2724
|
-
* - Total amount payable for the invoices.
|
|
2725
|
-
*/
|
|
2726
|
-
total_payable_amount?: number;
|
|
2727
|
-
/**
|
|
2728
|
-
* - Number of invoices included in the response.
|
|
2729
|
-
*/
|
|
2730
|
-
invoice_count?: number;
|
|
2731
|
-
/**
|
|
2732
|
-
* - Indicates whether the request to retrieve
|
|
2733
|
-
* invoice payment options was successful.
|
|
2734
|
-
*/
|
|
2735
|
-
success?: boolean;
|
|
2736
|
-
};
|
|
2737
|
-
/** @returns {PaymentDetail} */
|
|
2738
|
-
declare function PaymentDetail(): PaymentDetail;
|
|
2739
|
-
type PaymentDetail = {
|
|
2740
|
-
/**
|
|
2741
|
-
* - Name or label displayed for the payment detail.
|
|
2742
|
-
*/
|
|
2743
|
-
display_name?: string;
|
|
2744
|
-
/**
|
|
2745
|
-
* - Value associated with the payment detail (e.g.,
|
|
2746
|
-
* amount, transaction ID).
|
|
2747
|
-
*/
|
|
2748
|
-
value?: string;
|
|
2749
|
-
};
|
|
2750
|
-
/** @returns {PaidInvoicePaymentDetail} */
|
|
2751
|
-
declare function PaidInvoicePaymentDetail(): PaidInvoicePaymentDetail;
|
|
2752
|
-
type PaidInvoicePaymentDetail = {
|
|
2753
|
-
/**
|
|
2754
|
-
* - List of payment details for
|
|
2755
|
-
* the invoice.
|
|
2756
|
-
*/
|
|
2757
|
-
payment_details?: PaymentDetail[];
|
|
2758
|
-
/**
|
|
2759
|
-
* - Date when the payment was made.
|
|
2760
|
-
*/
|
|
2761
|
-
date_of_payment?: string;
|
|
2762
|
-
/**
|
|
2763
|
-
* - Amount paid towards the invoice.
|
|
2764
|
-
*/
|
|
2765
|
-
amount?: number;
|
|
2766
|
-
};
|
|
2767
|
-
/** @returns {InvoicePaymentDetailsResponseData} */
|
|
2768
|
-
declare function InvoicePaymentDetailsResponseData(): InvoicePaymentDetailsResponseData;
|
|
2769
|
-
type InvoicePaymentDetailsResponseData = {
|
|
2770
|
-
/**
|
|
2771
|
-
* - List
|
|
2772
|
-
* of details for paid invoices.
|
|
2773
|
-
*/
|
|
2774
|
-
paid_invoice_payment_details?: PaidInvoicePaymentDetail[];
|
|
2775
|
-
/**
|
|
2776
|
-
* - Details of any failed
|
|
2777
|
-
* payment attempts for the invoices.
|
|
2778
|
-
*/
|
|
2779
|
-
failed_attempts_details?: any[];
|
|
2780
|
-
};
|
|
2781
|
-
/** @returns {InvoicePaymentDetailsResponse} */
|
|
2782
|
-
declare function InvoicePaymentDetailsResponse(): InvoicePaymentDetailsResponse;
|
|
2783
|
-
type InvoicePaymentDetailsResponse = {
|
|
2784
|
-
/**
|
|
2785
|
-
* - Reason for the response or any errors encountered.
|
|
2786
|
-
*/
|
|
2787
|
-
reason?: string;
|
|
2788
|
-
data?: InvoicePaymentDetailsResponseData;
|
|
2789
|
-
/**
|
|
2790
|
-
* - Indicates whether the request to retrieve
|
|
2791
|
-
* invoice payment details was successful.
|
|
2792
|
-
*/
|
|
2793
|
-
success?: boolean;
|
|
2794
|
-
/**
|
|
2795
|
-
* - Indicates whether payment
|
|
2796
|
-
* details are visible or hidden in the response.
|
|
2797
|
-
*/
|
|
2798
|
-
payment_details_visible?: boolean;
|
|
2799
|
-
};
|
|
2800
|
-
/** @returns {InvoiceActivityLogsResponseData} */
|
|
2801
|
-
declare function InvoiceActivityLogsResponseData(): InvoiceActivityLogsResponseData;
|
|
2802
|
-
type InvoiceActivityLogsResponseData = {
|
|
2803
|
-
/**
|
|
2804
|
-
* - Identifier of the user or system that
|
|
2805
|
-
* performed the activity.
|
|
2806
|
-
*/
|
|
2807
|
-
performed_by?: string;
|
|
2808
|
-
/**
|
|
2809
|
-
* - Status of the activity (e.g., 'Completed', 'Pending').
|
|
2810
|
-
*/
|
|
2811
|
-
status?: string;
|
|
2812
|
-
/**
|
|
2813
|
-
* - Reason for the activity status or any related notes.
|
|
2814
|
-
*/
|
|
2815
|
-
reason?: string;
|
|
2816
|
-
/**
|
|
2817
|
-
* - Indicates whether the activity issue is resolved.
|
|
2818
|
-
*/
|
|
2819
|
-
is_resolved?: boolean;
|
|
2820
|
-
/**
|
|
2821
|
-
* - Number of retry attempts made for the activity.
|
|
2822
|
-
*/
|
|
2823
|
-
retry_attempts?: number;
|
|
2824
|
-
/**
|
|
2825
|
-
* - Maximum number of retry attempts
|
|
2826
|
-
* allowed for the activity.
|
|
2827
|
-
*/
|
|
2828
|
-
max_retry_attempts?: number;
|
|
2829
|
-
};
|
|
2830
|
-
/** @returns {InvoiceActivityLogsResponse} */
|
|
2831
|
-
declare function InvoiceActivityLogsResponse(): InvoiceActivityLogsResponse;
|
|
2832
|
-
type InvoiceActivityLogsResponse = {
|
|
2833
|
-
/**
|
|
2834
|
-
* - List of activity logs
|
|
2835
|
-
* related to invoices.
|
|
2836
|
-
*/
|
|
2837
|
-
data?: InvoiceActivityLogsResponseData[];
|
|
2838
|
-
};
|
|
2839
|
-
/** @returns {InvoiceActivityLogError} */
|
|
2840
|
-
declare function InvoiceActivityLogError(): InvoiceActivityLogError;
|
|
2841
|
-
type InvoiceActivityLogError = {
|
|
2842
|
-
/**
|
|
2843
|
-
* - Reason for the error or issue encountered with
|
|
2844
|
-
* the invoice activity logs.
|
|
2845
|
-
*/
|
|
2846
|
-
reason?: string;
|
|
2847
|
-
};
|
|
2848
|
-
/** @returns {UnlockCreditNoteRequestData} */
|
|
2849
|
-
declare function UnlockCreditNoteRequestData(): UnlockCreditNoteRequestData;
|
|
2850
|
-
type UnlockCreditNoteRequestData = {
|
|
2851
|
-
/**
|
|
2852
|
-
* - The unique identifier for the seller.
|
|
2853
|
-
*/
|
|
2854
|
-
seller_id?: string;
|
|
2855
|
-
/**
|
|
2856
|
-
* - A list of credit notes that are locked.
|
|
2857
|
-
*/
|
|
2858
|
-
locked_credit_notes?: string[];
|
|
2859
|
-
/**
|
|
2860
|
-
* - The reason for unlocking the credit notes.
|
|
2861
|
-
*/
|
|
2862
|
-
unlock_reason?: string;
|
|
2863
|
-
/**
|
|
2864
|
-
* - Additional details or comments about the
|
|
2865
|
-
* unlock request.
|
|
2866
|
-
*/
|
|
2867
|
-
description?: string;
|
|
2868
|
-
};
|
|
2869
|
-
/** @returns {UnlockCreditNoteReq} */
|
|
2870
|
-
declare function UnlockCreditNoteReq(): UnlockCreditNoteReq;
|
|
2871
|
-
type UnlockCreditNoteReq = {
|
|
2872
|
-
data?: UnlockCreditNoteRequestData;
|
|
2873
|
-
};
|
|
2874
|
-
/** @returns {UnlockCreditNoteResponseData} */
|
|
2875
|
-
declare function UnlockCreditNoteResponseData(): UnlockCreditNoteResponseData;
|
|
2876
|
-
type UnlockCreditNoteResponseData = {
|
|
2877
|
-
/**
|
|
2878
|
-
* - Indicates whether the credit note is unlocked.
|
|
2879
|
-
*/
|
|
2880
|
-
is_cn_unlocked?: boolean;
|
|
2881
|
-
/**
|
|
2882
|
-
* - The current status of the each credit notes.
|
|
2883
|
-
*/
|
|
2884
|
-
status?: string;
|
|
2885
|
-
};
|
|
2886
|
-
/** @returns {UnlockCreditNoteResponse} */
|
|
2887
|
-
declare function UnlockCreditNoteResponse(): UnlockCreditNoteResponse;
|
|
2888
|
-
type UnlockCreditNoteResponse = {
|
|
2889
|
-
/**
|
|
2890
|
-
* - Indicates whether the credit note unlock
|
|
2891
|
-
* request was successful.
|
|
2892
|
-
*/
|
|
2893
|
-
success?: boolean;
|
|
2894
|
-
data?: UnlockCreditNoteResponseData;
|
|
2895
|
-
};
|