@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,17 +1,633 @@
|
|
|
1
|
-
export =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
export = WebhookPlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef Association
|
|
4
|
+
* @property {string[]} [application_id]
|
|
5
|
+
* @property {number} [company_id]
|
|
6
|
+
* @property {string} [criteria]
|
|
7
|
+
* @property {string} [extension_id]
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @typedef AssociationDetails
|
|
11
|
+
* @property {number} [company_id]
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* @typedef AuthMeta
|
|
15
|
+
* @property {string} [secret]
|
|
16
|
+
* @property {string} [type]
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* @typedef CancelResponse
|
|
20
|
+
* @property {number} [code] - The HTTP status code of the response (e.g., 200).
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* @typedef CdnObject
|
|
24
|
+
* @property {Url[]} [urls]
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* @typedef Error
|
|
28
|
+
* @property {string} [error] - Error message describing the reason for the failure.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* @typedef Event
|
|
32
|
+
* @property {string} [event_category]
|
|
33
|
+
* @property {string} [event_name]
|
|
34
|
+
* @property {string} [event_type]
|
|
35
|
+
* @property {string} [version]
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* @typedef EventConfig
|
|
39
|
+
* @property {string} [created_on]
|
|
40
|
+
* @property {string} [description]
|
|
41
|
+
* @property {string} [display_name]
|
|
42
|
+
* @property {string} [event_category]
|
|
43
|
+
* @property {string} [event_name]
|
|
44
|
+
* @property {string} [event_type]
|
|
45
|
+
* @property {number} [id]
|
|
46
|
+
* @property {string} [version]
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* @typedef EventConfigResponse
|
|
50
|
+
* @property {EventConfig[]} [event_configs]
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* @typedef EventCountItem
|
|
54
|
+
* @property {number} [count] - The count of events with the specified status
|
|
55
|
+
* @property {string} [status] - The status of the event (e.g., "FAILED").
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* @typedef EventProcessedSuccessResponse
|
|
59
|
+
* @property {string} [message]
|
|
60
|
+
* @property {boolean} [success]
|
|
61
|
+
*/
|
|
62
|
+
/**
|
|
63
|
+
* @typedef EventProcessReportObject
|
|
64
|
+
* @property {number} [attempt] - The attempt number of the event.
|
|
65
|
+
* @property {string} [data] - The data associated with the event.
|
|
66
|
+
* @property {string} [event_name] - The name of the processed event.
|
|
67
|
+
* @property {number} [last_attempted_on] - The timestamp of the last attempted event.
|
|
68
|
+
* @property {string} [name] - The name of the event.
|
|
69
|
+
* @property {number} [response_code] - The response code of the event.
|
|
70
|
+
* @property {string} [response_message] - The response message of the event.
|
|
71
|
+
* @property {number} [response_time] - The response time of the event.
|
|
72
|
+
* @property {string} [status] - The status of the event (e.g., "FAILED").
|
|
73
|
+
* @property {string} [webhook_url] - The webhook URL associated with the event.
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* @typedef EventProcessReports
|
|
77
|
+
* @property {Page} [page]
|
|
78
|
+
* @property {EventProcessReportObject[]} [rows]
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* @typedef EventProcessRequest
|
|
82
|
+
* @property {string} [end_date]
|
|
83
|
+
* @property {Event[]} [event]
|
|
84
|
+
* @property {string} [search_text]
|
|
85
|
+
* @property {string} [start_date]
|
|
86
|
+
* @property {number[]} [subscriber_ids]
|
|
87
|
+
*/
|
|
88
|
+
/**
|
|
89
|
+
* @typedef EventSuccessResponse
|
|
90
|
+
* @property {string} [message]
|
|
91
|
+
* @property {boolean} [success]
|
|
92
|
+
*/
|
|
93
|
+
/**
|
|
94
|
+
* @typedef FailedEventsCountSuccessResponse
|
|
95
|
+
* @property {EventCountItem[]} [items]
|
|
96
|
+
*/
|
|
97
|
+
/**
|
|
98
|
+
* @typedef FilterResponseObject
|
|
99
|
+
* @property {string} [filter_name] - The name of the filter.
|
|
100
|
+
* @property {FilterValues[]} [values]
|
|
101
|
+
*/
|
|
102
|
+
/**
|
|
103
|
+
* @typedef FilterValues
|
|
104
|
+
* @property {string} [text] - The display text for the filter value.
|
|
105
|
+
* @property {Object} [value] - The value associated with the filter value.
|
|
106
|
+
*/
|
|
107
|
+
/**
|
|
108
|
+
* @typedef HistoryFilters
|
|
109
|
+
* @property {string} [end_date] - The end date and time of the history report.
|
|
110
|
+
* @property {string} [start_date] - The start date and time of the history report.
|
|
111
|
+
* @property {string} [status] - The status of the history report (e.g., "FAILED").
|
|
112
|
+
* @property {number[]} [subscribers] - An array of subscriber IDs associated
|
|
113
|
+
* with the history report.
|
|
114
|
+
*/
|
|
115
|
+
/**
|
|
116
|
+
* @typedef HistoryPayload
|
|
117
|
+
* @property {number} [page_no] - The page number of the history report.
|
|
118
|
+
* @property {number} [page_size] - The number of records per page.
|
|
119
|
+
* @property {string} [type] - The type of history report (e.g., "platform").
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* @typedef HistoryResponse
|
|
123
|
+
* @property {HistoryResponseObject[]} [items]
|
|
124
|
+
*/
|
|
125
|
+
/**
|
|
126
|
+
* @typedef HistoryResponseObject
|
|
127
|
+
* @property {AssociationDetails} [association]
|
|
128
|
+
* @property {string} [created_on] - The date and time when the history report
|
|
129
|
+
* was created.
|
|
130
|
+
* @property {string} [filename] - The filename of the history report.
|
|
131
|
+
* @property {HistoryFilters} [filters]
|
|
132
|
+
* @property {number} [id] - The ID of the history report.
|
|
133
|
+
* @property {string} [message] - A message related to the history report.
|
|
134
|
+
* @property {string} [status] - The status of the history report (e.g., "COMPLETED").
|
|
135
|
+
* @property {string} [updated_on] - The date and time when the history report
|
|
136
|
+
* was last updated.
|
|
137
|
+
* @property {UploadServiceObject} [upload_service_response]
|
|
138
|
+
*/
|
|
139
|
+
/**
|
|
140
|
+
* @typedef ManualRetryFailedResponse
|
|
141
|
+
* @property {string} [message]
|
|
142
|
+
* @property {Object} [meta]
|
|
143
|
+
* @property {string} [request_id]
|
|
144
|
+
* @property {string} [stack_trace]
|
|
145
|
+
* @property {boolean} [success]
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* @typedef Page
|
|
149
|
+
* @property {number} [current]
|
|
150
|
+
* @property {boolean} [has_next]
|
|
151
|
+
* @property {boolean} [has_previous]
|
|
152
|
+
* @property {number} [item_total]
|
|
153
|
+
* @property {string} [next_id]
|
|
154
|
+
* @property {number} [size]
|
|
155
|
+
* @property {string} type
|
|
156
|
+
*/
|
|
157
|
+
/**
|
|
158
|
+
* @typedef PingWebhook
|
|
159
|
+
* @property {Object} [auth_meta] - Authentication metadata (if required by the
|
|
160
|
+
* subscriber).
|
|
161
|
+
* @property {Object} [custom_headers] - Custom headers to include in the ping request.
|
|
162
|
+
* @property {string} [webhook_url] - The URL of the subscriber's webhook to ping.
|
|
163
|
+
*/
|
|
164
|
+
/**
|
|
165
|
+
* @typedef PingWebhookResponse
|
|
166
|
+
* @property {number} [code] - The HTTP status code of the ping response (e.g., 200).
|
|
167
|
+
* @property {string} [message] - An optional message related to the ping.
|
|
168
|
+
* @property {string} [status] - The status of the ping (e.g., "SUCCESS").
|
|
169
|
+
*/
|
|
170
|
+
/**
|
|
171
|
+
* @typedef ReportFilterResponse
|
|
172
|
+
* @property {FilterResponseObject[]} [items]
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* @typedef ReportFiltersPayload
|
|
176
|
+
* @property {number[]} [subscriber_ids] - An array of subscriber IDs for
|
|
177
|
+
* filtering filters (optional).
|
|
178
|
+
*/
|
|
179
|
+
/**
|
|
180
|
+
* @typedef RetryStatusResponse
|
|
181
|
+
* @property {number} [failure_count] - The count of failed retry attempts.
|
|
182
|
+
* @property {string} [status] - The overall status of the retry process (e.g.,
|
|
183
|
+
* "completed").
|
|
184
|
+
* @property {number} [success_count] - The count of successfully retried events.
|
|
185
|
+
* @property {number} [total_event] - The total number of events that require retry.
|
|
186
|
+
*/
|
|
187
|
+
/**
|
|
188
|
+
* @typedef SubscriberConfig
|
|
189
|
+
* @property {Association} [association]
|
|
190
|
+
* @property {AuthMeta} [auth_meta]
|
|
191
|
+
* @property {Object} [custom_headers]
|
|
192
|
+
* @property {string} [email_id]
|
|
193
|
+
* @property {number[]} [event_id]
|
|
194
|
+
* @property {number} [id]
|
|
195
|
+
* @property {string} [name]
|
|
196
|
+
* @property {string} [status] - Active: Status is active inactive: Status is
|
|
197
|
+
* inactive blocked: Subscriber is blocked by system due to multiple failed
|
|
198
|
+
* delivery attempts.
|
|
199
|
+
* @property {string} [webhook_url]
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* @typedef SubscriberConfigList
|
|
203
|
+
* @property {SubscriberResponse[]} [items]
|
|
204
|
+
* @property {Page} [page]
|
|
205
|
+
*/
|
|
206
|
+
/**
|
|
207
|
+
* @typedef SubscriberResponse
|
|
208
|
+
* @property {Association} [association]
|
|
209
|
+
* @property {AuthMeta} [auth_meta]
|
|
210
|
+
* @property {string} [created_on]
|
|
211
|
+
* @property {Object} [custom_headers]
|
|
212
|
+
* @property {string} [email_id]
|
|
213
|
+
* @property {EventConfig[]} [event_configs]
|
|
214
|
+
* @property {number} [id]
|
|
215
|
+
* @property {string} [name]
|
|
216
|
+
* @property {string} [status] - Active: Status is active inactive: Status is
|
|
217
|
+
* inactive blocked: Subscriber is blocked by system due to multiple failed
|
|
218
|
+
* delivery attempts.
|
|
219
|
+
* @property {string} [updated_on]
|
|
220
|
+
* @property {string} [webhook_url]
|
|
221
|
+
*/
|
|
222
|
+
/**
|
|
223
|
+
* @typedef UploadServiceObject
|
|
224
|
+
* @property {CdnObject} [cdn]
|
|
225
|
+
*/
|
|
226
|
+
/**
|
|
227
|
+
* @typedef Url
|
|
228
|
+
* @property {string} [name] - The name of the uploaded report file.
|
|
229
|
+
* @property {string} [url] - The URL of the uploaded report file.
|
|
230
|
+
*/
|
|
231
|
+
declare class WebhookPlatformModel {
|
|
17
232
|
}
|
|
233
|
+
declare namespace WebhookPlatformModel {
|
|
234
|
+
export { Association, AssociationDetails, AuthMeta, CancelResponse, CdnObject, Error, Event, EventConfig, EventConfigResponse, EventCountItem, EventProcessedSuccessResponse, EventProcessReportObject, EventProcessReports, EventProcessRequest, EventSuccessResponse, FailedEventsCountSuccessResponse, FilterResponseObject, FilterValues, HistoryFilters, HistoryPayload, HistoryResponse, HistoryResponseObject, ManualRetryFailedResponse, Page, PingWebhook, PingWebhookResponse, ReportFilterResponse, ReportFiltersPayload, RetryStatusResponse, SubscriberConfig, SubscriberConfigList, SubscriberResponse, UploadServiceObject, Url };
|
|
235
|
+
}
|
|
236
|
+
/** @returns {Association} */
|
|
237
|
+
declare function Association(): Association;
|
|
238
|
+
type Association = {
|
|
239
|
+
application_id?: string[];
|
|
240
|
+
company_id?: number;
|
|
241
|
+
criteria?: string;
|
|
242
|
+
extension_id?: string;
|
|
243
|
+
};
|
|
244
|
+
/** @returns {AssociationDetails} */
|
|
245
|
+
declare function AssociationDetails(): AssociationDetails;
|
|
246
|
+
type AssociationDetails = {
|
|
247
|
+
company_id?: number;
|
|
248
|
+
};
|
|
249
|
+
/** @returns {AuthMeta} */
|
|
250
|
+
declare function AuthMeta(): AuthMeta;
|
|
251
|
+
type AuthMeta = {
|
|
252
|
+
secret?: string;
|
|
253
|
+
type?: string;
|
|
254
|
+
};
|
|
255
|
+
/** @returns {CancelResponse} */
|
|
256
|
+
declare function CancelResponse(): CancelResponse;
|
|
257
|
+
type CancelResponse = {
|
|
258
|
+
/**
|
|
259
|
+
* - The HTTP status code of the response (e.g., 200).
|
|
260
|
+
*/
|
|
261
|
+
code?: number;
|
|
262
|
+
};
|
|
263
|
+
/** @returns {CdnObject} */
|
|
264
|
+
declare function CdnObject(): CdnObject;
|
|
265
|
+
type CdnObject = {
|
|
266
|
+
urls?: Url[];
|
|
267
|
+
};
|
|
268
|
+
/** @returns {Error} */
|
|
269
|
+
declare function Error(): Error;
|
|
270
|
+
type Error = {
|
|
271
|
+
/**
|
|
272
|
+
* - Error message describing the reason for the failure.
|
|
273
|
+
*/
|
|
274
|
+
error?: string;
|
|
275
|
+
};
|
|
276
|
+
/** @returns {Event} */
|
|
277
|
+
declare function Event(): Event;
|
|
278
|
+
type Event = {
|
|
279
|
+
event_category?: string;
|
|
280
|
+
event_name?: string;
|
|
281
|
+
event_type?: string;
|
|
282
|
+
version?: string;
|
|
283
|
+
};
|
|
284
|
+
/** @returns {EventConfig} */
|
|
285
|
+
declare function EventConfig(): EventConfig;
|
|
286
|
+
type EventConfig = {
|
|
287
|
+
created_on?: string;
|
|
288
|
+
description?: string;
|
|
289
|
+
display_name?: string;
|
|
290
|
+
event_category?: string;
|
|
291
|
+
event_name?: string;
|
|
292
|
+
event_type?: string;
|
|
293
|
+
id?: number;
|
|
294
|
+
version?: string;
|
|
295
|
+
};
|
|
296
|
+
/** @returns {EventConfigResponse} */
|
|
297
|
+
declare function EventConfigResponse(): EventConfigResponse;
|
|
298
|
+
type EventConfigResponse = {
|
|
299
|
+
event_configs?: EventConfig[];
|
|
300
|
+
};
|
|
301
|
+
/** @returns {EventCountItem} */
|
|
302
|
+
declare function EventCountItem(): EventCountItem;
|
|
303
|
+
type EventCountItem = {
|
|
304
|
+
/**
|
|
305
|
+
* - The count of events with the specified status
|
|
306
|
+
*/
|
|
307
|
+
count?: number;
|
|
308
|
+
/**
|
|
309
|
+
* - The status of the event (e.g., "FAILED").
|
|
310
|
+
*/
|
|
311
|
+
status?: string;
|
|
312
|
+
};
|
|
313
|
+
/** @returns {EventProcessedSuccessResponse} */
|
|
314
|
+
declare function EventProcessedSuccessResponse(): EventProcessedSuccessResponse;
|
|
315
|
+
type EventProcessedSuccessResponse = {
|
|
316
|
+
message?: string;
|
|
317
|
+
success?: boolean;
|
|
318
|
+
};
|
|
319
|
+
/** @returns {EventProcessReportObject} */
|
|
320
|
+
declare function EventProcessReportObject(): EventProcessReportObject;
|
|
321
|
+
type EventProcessReportObject = {
|
|
322
|
+
/**
|
|
323
|
+
* - The attempt number of the event.
|
|
324
|
+
*/
|
|
325
|
+
attempt?: number;
|
|
326
|
+
/**
|
|
327
|
+
* - The data associated with the event.
|
|
328
|
+
*/
|
|
329
|
+
data?: string;
|
|
330
|
+
/**
|
|
331
|
+
* - The name of the processed event.
|
|
332
|
+
*/
|
|
333
|
+
event_name?: string;
|
|
334
|
+
/**
|
|
335
|
+
* - The timestamp of the last attempted event.
|
|
336
|
+
*/
|
|
337
|
+
last_attempted_on?: number;
|
|
338
|
+
/**
|
|
339
|
+
* - The name of the event.
|
|
340
|
+
*/
|
|
341
|
+
name?: string;
|
|
342
|
+
/**
|
|
343
|
+
* - The response code of the event.
|
|
344
|
+
*/
|
|
345
|
+
response_code?: number;
|
|
346
|
+
/**
|
|
347
|
+
* - The response message of the event.
|
|
348
|
+
*/
|
|
349
|
+
response_message?: string;
|
|
350
|
+
/**
|
|
351
|
+
* - The response time of the event.
|
|
352
|
+
*/
|
|
353
|
+
response_time?: number;
|
|
354
|
+
/**
|
|
355
|
+
* - The status of the event (e.g., "FAILED").
|
|
356
|
+
*/
|
|
357
|
+
status?: string;
|
|
358
|
+
/**
|
|
359
|
+
* - The webhook URL associated with the event.
|
|
360
|
+
*/
|
|
361
|
+
webhook_url?: string;
|
|
362
|
+
};
|
|
363
|
+
/** @returns {EventProcessReports} */
|
|
364
|
+
declare function EventProcessReports(): EventProcessReports;
|
|
365
|
+
type EventProcessReports = {
|
|
366
|
+
page?: Page;
|
|
367
|
+
rows?: EventProcessReportObject[];
|
|
368
|
+
};
|
|
369
|
+
/** @returns {EventProcessRequest} */
|
|
370
|
+
declare function EventProcessRequest(): EventProcessRequest;
|
|
371
|
+
type EventProcessRequest = {
|
|
372
|
+
end_date?: string;
|
|
373
|
+
event?: Event[];
|
|
374
|
+
search_text?: string;
|
|
375
|
+
start_date?: string;
|
|
376
|
+
subscriber_ids?: number[];
|
|
377
|
+
};
|
|
378
|
+
/** @returns {EventSuccessResponse} */
|
|
379
|
+
declare function EventSuccessResponse(): EventSuccessResponse;
|
|
380
|
+
type EventSuccessResponse = {
|
|
381
|
+
message?: string;
|
|
382
|
+
success?: boolean;
|
|
383
|
+
};
|
|
384
|
+
/** @returns {FailedEventsCountSuccessResponse} */
|
|
385
|
+
declare function FailedEventsCountSuccessResponse(): FailedEventsCountSuccessResponse;
|
|
386
|
+
type FailedEventsCountSuccessResponse = {
|
|
387
|
+
items?: EventCountItem[];
|
|
388
|
+
};
|
|
389
|
+
/** @returns {FilterResponseObject} */
|
|
390
|
+
declare function FilterResponseObject(): FilterResponseObject;
|
|
391
|
+
type FilterResponseObject = {
|
|
392
|
+
/**
|
|
393
|
+
* - The name of the filter.
|
|
394
|
+
*/
|
|
395
|
+
filter_name?: string;
|
|
396
|
+
values?: FilterValues[];
|
|
397
|
+
};
|
|
398
|
+
/** @returns {FilterValues} */
|
|
399
|
+
declare function FilterValues(): FilterValues;
|
|
400
|
+
type FilterValues = {
|
|
401
|
+
/**
|
|
402
|
+
* - The display text for the filter value.
|
|
403
|
+
*/
|
|
404
|
+
text?: string;
|
|
405
|
+
/**
|
|
406
|
+
* - The value associated with the filter value.
|
|
407
|
+
*/
|
|
408
|
+
value?: any;
|
|
409
|
+
};
|
|
410
|
+
/** @returns {HistoryFilters} */
|
|
411
|
+
declare function HistoryFilters(): HistoryFilters;
|
|
412
|
+
type HistoryFilters = {
|
|
413
|
+
/**
|
|
414
|
+
* - The end date and time of the history report.
|
|
415
|
+
*/
|
|
416
|
+
end_date?: string;
|
|
417
|
+
/**
|
|
418
|
+
* - The start date and time of the history report.
|
|
419
|
+
*/
|
|
420
|
+
start_date?: string;
|
|
421
|
+
/**
|
|
422
|
+
* - The status of the history report (e.g., "FAILED").
|
|
423
|
+
*/
|
|
424
|
+
status?: string;
|
|
425
|
+
/**
|
|
426
|
+
* - An array of subscriber IDs associated
|
|
427
|
+
* with the history report.
|
|
428
|
+
*/
|
|
429
|
+
subscribers?: number[];
|
|
430
|
+
};
|
|
431
|
+
/** @returns {HistoryPayload} */
|
|
432
|
+
declare function HistoryPayload(): HistoryPayload;
|
|
433
|
+
type HistoryPayload = {
|
|
434
|
+
/**
|
|
435
|
+
* - The page number of the history report.
|
|
436
|
+
*/
|
|
437
|
+
page_no?: number;
|
|
438
|
+
/**
|
|
439
|
+
* - The number of records per page.
|
|
440
|
+
*/
|
|
441
|
+
page_size?: number;
|
|
442
|
+
/**
|
|
443
|
+
* - The type of history report (e.g., "platform").
|
|
444
|
+
*/
|
|
445
|
+
type?: string;
|
|
446
|
+
};
|
|
447
|
+
/** @returns {HistoryResponse} */
|
|
448
|
+
declare function HistoryResponse(): HistoryResponse;
|
|
449
|
+
type HistoryResponse = {
|
|
450
|
+
items?: HistoryResponseObject[];
|
|
451
|
+
};
|
|
452
|
+
/** @returns {HistoryResponseObject} */
|
|
453
|
+
declare function HistoryResponseObject(): HistoryResponseObject;
|
|
454
|
+
type HistoryResponseObject = {
|
|
455
|
+
association?: AssociationDetails;
|
|
456
|
+
/**
|
|
457
|
+
* - The date and time when the history report
|
|
458
|
+
* was created.
|
|
459
|
+
*/
|
|
460
|
+
created_on?: string;
|
|
461
|
+
/**
|
|
462
|
+
* - The filename of the history report.
|
|
463
|
+
*/
|
|
464
|
+
filename?: string;
|
|
465
|
+
filters?: HistoryFilters;
|
|
466
|
+
/**
|
|
467
|
+
* - The ID of the history report.
|
|
468
|
+
*/
|
|
469
|
+
id?: number;
|
|
470
|
+
/**
|
|
471
|
+
* - A message related to the history report.
|
|
472
|
+
*/
|
|
473
|
+
message?: string;
|
|
474
|
+
/**
|
|
475
|
+
* - The status of the history report (e.g., "COMPLETED").
|
|
476
|
+
*/
|
|
477
|
+
status?: string;
|
|
478
|
+
/**
|
|
479
|
+
* - The date and time when the history report
|
|
480
|
+
* was last updated.
|
|
481
|
+
*/
|
|
482
|
+
updated_on?: string;
|
|
483
|
+
upload_service_response?: UploadServiceObject;
|
|
484
|
+
};
|
|
485
|
+
/** @returns {ManualRetryFailedResponse} */
|
|
486
|
+
declare function ManualRetryFailedResponse(): ManualRetryFailedResponse;
|
|
487
|
+
type ManualRetryFailedResponse = {
|
|
488
|
+
message?: string;
|
|
489
|
+
meta?: any;
|
|
490
|
+
request_id?: string;
|
|
491
|
+
stack_trace?: string;
|
|
492
|
+
success?: boolean;
|
|
493
|
+
};
|
|
494
|
+
/** @returns {Page} */
|
|
495
|
+
declare function Page(): Page;
|
|
496
|
+
type Page = {
|
|
497
|
+
current?: number;
|
|
498
|
+
has_next?: boolean;
|
|
499
|
+
has_previous?: boolean;
|
|
500
|
+
item_total?: number;
|
|
501
|
+
next_id?: string;
|
|
502
|
+
size?: number;
|
|
503
|
+
type: string;
|
|
504
|
+
};
|
|
505
|
+
/** @returns {PingWebhook} */
|
|
506
|
+
declare function PingWebhook(): PingWebhook;
|
|
507
|
+
type PingWebhook = {
|
|
508
|
+
/**
|
|
509
|
+
* - Authentication metadata (if required by the
|
|
510
|
+
* subscriber).
|
|
511
|
+
*/
|
|
512
|
+
auth_meta?: any;
|
|
513
|
+
/**
|
|
514
|
+
* - Custom headers to include in the ping request.
|
|
515
|
+
*/
|
|
516
|
+
custom_headers?: any;
|
|
517
|
+
/**
|
|
518
|
+
* - The URL of the subscriber's webhook to ping.
|
|
519
|
+
*/
|
|
520
|
+
webhook_url?: string;
|
|
521
|
+
};
|
|
522
|
+
/** @returns {PingWebhookResponse} */
|
|
523
|
+
declare function PingWebhookResponse(): PingWebhookResponse;
|
|
524
|
+
type PingWebhookResponse = {
|
|
525
|
+
/**
|
|
526
|
+
* - The HTTP status code of the ping response (e.g., 200).
|
|
527
|
+
*/
|
|
528
|
+
code?: number;
|
|
529
|
+
/**
|
|
530
|
+
* - An optional message related to the ping.
|
|
531
|
+
*/
|
|
532
|
+
message?: string;
|
|
533
|
+
/**
|
|
534
|
+
* - The status of the ping (e.g., "SUCCESS").
|
|
535
|
+
*/
|
|
536
|
+
status?: string;
|
|
537
|
+
};
|
|
538
|
+
/** @returns {ReportFilterResponse} */
|
|
539
|
+
declare function ReportFilterResponse(): ReportFilterResponse;
|
|
540
|
+
type ReportFilterResponse = {
|
|
541
|
+
items?: FilterResponseObject[];
|
|
542
|
+
};
|
|
543
|
+
/** @returns {ReportFiltersPayload} */
|
|
544
|
+
declare function ReportFiltersPayload(): ReportFiltersPayload;
|
|
545
|
+
type ReportFiltersPayload = {
|
|
546
|
+
/**
|
|
547
|
+
* - An array of subscriber IDs for
|
|
548
|
+
* filtering filters (optional).
|
|
549
|
+
*/
|
|
550
|
+
subscriber_ids?: number[];
|
|
551
|
+
};
|
|
552
|
+
/** @returns {RetryStatusResponse} */
|
|
553
|
+
declare function RetryStatusResponse(): RetryStatusResponse;
|
|
554
|
+
type RetryStatusResponse = {
|
|
555
|
+
/**
|
|
556
|
+
* - The count of failed retry attempts.
|
|
557
|
+
*/
|
|
558
|
+
failure_count?: number;
|
|
559
|
+
/**
|
|
560
|
+
* - The overall status of the retry process (e.g.,
|
|
561
|
+
* "completed").
|
|
562
|
+
*/
|
|
563
|
+
status?: string;
|
|
564
|
+
/**
|
|
565
|
+
* - The count of successfully retried events.
|
|
566
|
+
*/
|
|
567
|
+
success_count?: number;
|
|
568
|
+
/**
|
|
569
|
+
* - The total number of events that require retry.
|
|
570
|
+
*/
|
|
571
|
+
total_event?: number;
|
|
572
|
+
};
|
|
573
|
+
/** @returns {SubscriberConfig} */
|
|
574
|
+
declare function SubscriberConfig(): SubscriberConfig;
|
|
575
|
+
type SubscriberConfig = {
|
|
576
|
+
association?: Association;
|
|
577
|
+
auth_meta?: AuthMeta;
|
|
578
|
+
custom_headers?: any;
|
|
579
|
+
email_id?: string;
|
|
580
|
+
event_id?: number[];
|
|
581
|
+
id?: number;
|
|
582
|
+
name?: string;
|
|
583
|
+
/**
|
|
584
|
+
* - Active: Status is active inactive: Status is
|
|
585
|
+
* inactive blocked: Subscriber is blocked by system due to multiple failed
|
|
586
|
+
* delivery attempts.
|
|
587
|
+
*/
|
|
588
|
+
status?: string;
|
|
589
|
+
webhook_url?: string;
|
|
590
|
+
};
|
|
591
|
+
/** @returns {SubscriberConfigList} */
|
|
592
|
+
declare function SubscriberConfigList(): SubscriberConfigList;
|
|
593
|
+
type SubscriberConfigList = {
|
|
594
|
+
items?: SubscriberResponse[];
|
|
595
|
+
page?: Page;
|
|
596
|
+
};
|
|
597
|
+
/** @returns {SubscriberResponse} */
|
|
598
|
+
declare function SubscriberResponse(): SubscriberResponse;
|
|
599
|
+
type SubscriberResponse = {
|
|
600
|
+
association?: Association;
|
|
601
|
+
auth_meta?: AuthMeta;
|
|
602
|
+
created_on?: string;
|
|
603
|
+
custom_headers?: any;
|
|
604
|
+
email_id?: string;
|
|
605
|
+
event_configs?: EventConfig[];
|
|
606
|
+
id?: number;
|
|
607
|
+
name?: string;
|
|
608
|
+
/**
|
|
609
|
+
* - Active: Status is active inactive: Status is
|
|
610
|
+
* inactive blocked: Subscriber is blocked by system due to multiple failed
|
|
611
|
+
* delivery attempts.
|
|
612
|
+
*/
|
|
613
|
+
status?: string;
|
|
614
|
+
updated_on?: string;
|
|
615
|
+
webhook_url?: string;
|
|
616
|
+
};
|
|
617
|
+
/** @returns {UploadServiceObject} */
|
|
618
|
+
declare function UploadServiceObject(): UploadServiceObject;
|
|
619
|
+
type UploadServiceObject = {
|
|
620
|
+
cdn?: CdnObject;
|
|
621
|
+
};
|
|
622
|
+
/** @returns {Url} */
|
|
623
|
+
declare function Url(): Url;
|
|
624
|
+
type Url = {
|
|
625
|
+
/**
|
|
626
|
+
* - The name of the uploaded report file.
|
|
627
|
+
*/
|
|
628
|
+
name?: string;
|
|
629
|
+
/**
|
|
630
|
+
* - The URL of the uploaded report file.
|
|
631
|
+
*/
|
|
632
|
+
url?: string;
|
|
633
|
+
};
|