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