@gofynd/fdk-client-javascript 1.0.1 → 1.0.3
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/documentation/application/CART.md +5934 -4502
- package/documentation/application/CATALOG.md +6338 -7245
- package/documentation/application/COMMON.md +95 -222
- package/documentation/application/COMMUNICATION.md +106 -186
- package/documentation/application/CONFIGURATION.md +903 -1597
- package/documentation/application/CONTENT.md +562 -1270
- package/documentation/application/FILESTORAGE.md +84 -220
- package/documentation/application/LEAD.md +314 -660
- package/documentation/application/LOGISTIC.md +229 -305
- package/documentation/application/ORDER.md +642 -1137
- package/documentation/application/PAYMENT.md +2285 -3031
- package/documentation/application/POSCART.md +6079 -4642
- package/documentation/application/REWARDS.md +94 -248
- package/documentation/application/SHARE.md +152 -250
- package/documentation/application/THEME.md +952 -1235
- package/documentation/application/USER.md +1228 -1765
- package/documentation/platform/ANALYTICS.md +207 -349
- package/documentation/platform/AUDITTRAIL.md +121 -204
- package/documentation/platform/BILLING.md +865 -1376
- package/documentation/platform/CART.md +2814 -3662
- package/documentation/platform/CATALOG.md +15266 -17619
- package/documentation/platform/COMMON.md +95 -222
- package/documentation/platform/COMMUNICATION.md +1632 -2380
- package/documentation/platform/COMPANYPROFILE.md +572 -957
- package/documentation/platform/CONFIGURATION.md +3050 -4073
- package/documentation/platform/CONTENT.md +3509 -4121
- package/documentation/platform/DISCOUNT.md +140 -236
- package/documentation/platform/FILESTORAGE.md +187 -323
- package/documentation/platform/INVENTORY.md +268 -911
- package/documentation/platform/LEAD.md +2195 -2541
- package/documentation/platform/ORDER.md +3750 -5636
- package/documentation/platform/PARTNER.md +9 -36
- package/documentation/platform/PAYMENT.md +903 -1213
- package/documentation/platform/REWARDS.md +183 -347
- package/documentation/platform/SHARE.md +120 -213
- package/documentation/platform/THEME.md +12956 -13239
- package/documentation/platform/USER.md +975 -1120
- package/documentation/platform/WEBHOOK.md +78 -184
- package/documentation/public/CONFIGURATION.md +95 -222
- package/documentation/public/INVENTORY.md +100 -282
- package/documentation/public/WEBHOOK.md +27 -133
- package/package.json +1 -1
- package/sdk/application/ApplicationConfig.js +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +1058 -547
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +489 -886
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1545 -949
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +692 -1258
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +76 -36
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +92 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +638 -312
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +581 -213
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -75
- package/sdk/application/Content/ContentApplicationModel.js +468 -875
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +121 -59
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +230 -96
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
- package/sdk/application/Logistic/LogisticApplicationClient.js +196 -47
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
- package/sdk/application/Order/OrderApplicationClient.d.ts +86 -86
- package/sdk/application/Order/OrderApplicationClient.js +448 -215
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +357 -661
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +1525 -750
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +565 -1033
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +1137 -606
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +61 -60
- package/sdk/application/PosCart/PosCartApplicationModel.js +477 -873
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +253 -113
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +221 -96
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +115 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +1201 -543
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +55 -47
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +308 -151
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
- package/sdk/platform/Analytics/AnalyticsPlatformClient.d.ts +8 -4
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +103 -16
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +16 -12
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +131 -44
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +68 -56
- package/sdk/platform/Billing/BillingPlatformClient.js +416 -171
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +176 -159
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +837 -500
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
- package/sdk/platform/Cart/CartPlatformModel.d.ts +86 -85
- package/sdk/platform/Cart/CartPlatformModel.js +677 -1211
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +582 -529
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2642 -1533
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +708 -590
- package/sdk/platform/Catalog/CatalogPlatformClient.js +3103 -1362
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +293 -284
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2149 -3660
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -64
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +235 -216
- package/sdk/platform/Common/CommonPlatformClient.d.ts +14 -12
- package/sdk/platform/Common/CommonPlatformClient.js +80 -37
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +333 -293
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1687 -855
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +28 -4
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +70 -57
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +463 -182
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -28
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +294 -557
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +175 -137
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1168 -521
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +137 -119
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +691 -316
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +542 -461
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +2600 -1160
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -49
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +159 -152
- package/sdk/platform/Content/ContentPlatformModel.d.ts +79 -75
- package/sdk/platform/Content/ContentPlatformModel.js +486 -867
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +72 -61
- package/sdk/platform/Discount/DiscountPlatformClient.js +424 -198
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +26 -22
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +145 -59
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +58 -52
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +240 -114
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +76 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +461 -197
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +84 -71
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +441 -182
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +86 -75
- package/sdk/platform/Lead/LeadPlatformClient.js +434 -212
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
- package/sdk/platform/OAuthClient.js +8 -8
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +14 -11
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +113 -49
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
- package/sdk/platform/Order/OrderPlatformClient.d.ts +367 -315
- package/sdk/platform/Order/OrderPlatformClient.js +1775 -893
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -192
- package/sdk/platform/Order/OrderPlatformModel.js +1591 -2822
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +160 -155
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +52 -8
- package/sdk/platform/Partner/PartnerPlatformModel.js +6 -22
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +65 -54
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +395 -164
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +55 -45
- package/sdk/platform/Payment/PaymentPlatformClient.js +362 -147
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +220 -408
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10153
- package/sdk/platform/PlatformApplicationClient.js +1584 -13691
- package/sdk/platform/PlatformClient.d.ts +7918 -7666
- package/sdk/platform/PlatformClient.js +8701 -9926
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +91 -78
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +507 -253
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +16 -12
- package/sdk/platform/Share/SharePlatformApplicationClient.js +130 -52
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +148 -124
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +770 -295
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +146 -67
- package/sdk/platform/User/UserPlatformApplicationClient.js +742 -155
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +35 -29
- package/sdk/platform/Webhook/WebhookPlatformClient.js +218 -91
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +81 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +228 -105
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +51 -10
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/tests/application/catalog.spec.js +7 -0
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
## Share Methods
|
|
9
9
|
Short link and QR Code
|
|
10
10
|
|
|
11
|
+
* [createShortLink](#createshortlink)
|
|
11
12
|
* [getApplicationQRCode](#getapplicationqrcode)
|
|
12
|
-
* [getProductQRCodeBySlug](#getproductqrcodebyslug)
|
|
13
13
|
* [getCollectionQRCodeBySlug](#getcollectionqrcodebyslug)
|
|
14
|
-
* [getUrlQRCode](#geturlqrcode)
|
|
15
|
-
* [createShortLink](#createshortlink)
|
|
16
|
-
* [getShortLinkByHash](#getshortlinkbyhash)
|
|
17
14
|
* [getOriginalShortLinkByHash](#getoriginalshortlinkbyhash)
|
|
15
|
+
* [getProductQRCodeBySlug](#getproductqrcodebyslug)
|
|
16
|
+
* [getShortLinkByHash](#getshortlinkbyhash)
|
|
17
|
+
* [getUrlQRCode](#geturlqrcode)
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -23,34 +23,38 @@ Short link and QR Code
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
###
|
|
27
|
-
Create
|
|
26
|
+
### createShortLink
|
|
27
|
+
Create a short link
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
```javascript
|
|
32
32
|
// Promise
|
|
33
|
-
const promise = share.
|
|
33
|
+
const promise = share.createShortLink({ body : value });
|
|
34
34
|
|
|
35
35
|
// Async/Await
|
|
36
|
-
const data = await share.
|
|
36
|
+
const data = await share.createShortLink({ body : value });
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
+
| Argument | Type | Required | Description |
|
|
44
|
+
| --------- | ----- | -------- | ----------- |
|
|
45
|
+
| body | [ShortLinkReq](#ShortLinkReq) | yes | Request body |
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
|
|
48
|
+
Use this API to create a short link that is easy to write/share/read as compared to long URLs.
|
|
45
49
|
|
|
46
50
|
*Returned Response:*
|
|
47
51
|
|
|
48
52
|
|
|
49
53
|
|
|
50
54
|
|
|
51
|
-
[
|
|
55
|
+
[ShortLinkRes](#ShortLinkRes)
|
|
52
56
|
|
|
53
|
-
Success. Check the example shown below or refer `
|
|
57
|
+
Success. Check the example shown below or refer `ShortLinkRes` for more details.
|
|
54
58
|
|
|
55
59
|
|
|
56
60
|
|
|
@@ -60,8 +64,43 @@ Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
|
60
64
|
|
|
61
65
|
```json
|
|
62
66
|
{
|
|
63
|
-
"
|
|
64
|
-
|
|
67
|
+
"url": {
|
|
68
|
+
"original": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh",
|
|
69
|
+
"short": "https://0icof6vvsf.hostx0.de/l/3qKlnsq-x",
|
|
70
|
+
"hash": "3qKlnsq-x"
|
|
71
|
+
},
|
|
72
|
+
"redirects": {
|
|
73
|
+
"ios": {
|
|
74
|
+
"type": "web",
|
|
75
|
+
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
76
|
+
},
|
|
77
|
+
"android": {
|
|
78
|
+
"type": "web",
|
|
79
|
+
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
80
|
+
},
|
|
81
|
+
"web": {
|
|
82
|
+
"type": "web",
|
|
83
|
+
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
84
|
+
},
|
|
85
|
+
"force_web": false
|
|
86
|
+
},
|
|
87
|
+
"created_by": "team",
|
|
88
|
+
"personalized": false,
|
|
89
|
+
"app_redirect": false,
|
|
90
|
+
"fallback": "web",
|
|
91
|
+
"enable_tracking": false,
|
|
92
|
+
"active": true,
|
|
93
|
+
"count": 0,
|
|
94
|
+
"_id": "601a54054c0349592e76c8f3",
|
|
95
|
+
"title": "new ",
|
|
96
|
+
"meta": {
|
|
97
|
+
"type": "brand"
|
|
98
|
+
},
|
|
99
|
+
"expire_at": null,
|
|
100
|
+
"application": "5eda528b97457fe43a733ace",
|
|
101
|
+
"user_id": "5e4d01e2c39837ab66144f6d",
|
|
102
|
+
"created_at": "2021-02-03T07:43:01.342Z",
|
|
103
|
+
"updated_at": "2021-02-03T07:43:01.342Z"
|
|
65
104
|
}
|
|
66
105
|
```
|
|
67
106
|
</details>
|
|
@@ -77,30 +116,25 @@ Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
|
77
116
|
---
|
|
78
117
|
|
|
79
118
|
|
|
80
|
-
###
|
|
81
|
-
Create QR Code of
|
|
119
|
+
### getApplicationQRCode
|
|
120
|
+
Create QR Code of an app
|
|
82
121
|
|
|
83
122
|
|
|
84
123
|
|
|
85
124
|
```javascript
|
|
86
125
|
// Promise
|
|
87
|
-
const promise = share.
|
|
126
|
+
const promise = share.getApplicationQRCode();
|
|
88
127
|
|
|
89
128
|
// Async/Await
|
|
90
|
-
const data = await share.
|
|
129
|
+
const data = await share.getApplicationQRCode();
|
|
91
130
|
```
|
|
92
131
|
|
|
93
132
|
|
|
94
133
|
|
|
95
134
|
|
|
96
135
|
|
|
97
|
-
| Argument | Type | Required | Description |
|
|
98
|
-
| --------- | ----- | -------- | ----------- |
|
|
99
|
-
| slug | string | yes | A short, human-readable, URL-friendly identifier of a product. You can get slug value from the endpoint. |
|
|
100
|
-
|
|
101
136
|
|
|
102
|
-
|
|
103
|
-
Use this API to create a QR code of a product for sharing it with users who want to view/purchase the product.
|
|
137
|
+
Use this API to create a QR code of an app for sharing it with users who want to use the app.
|
|
104
138
|
|
|
105
139
|
*Returned Response:*
|
|
106
140
|
|
|
@@ -119,7 +153,7 @@ Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
|
119
153
|
|
|
120
154
|
```json
|
|
121
155
|
{
|
|
122
|
-
"link": "https://fynd.com
|
|
156
|
+
"link": "https://fynd.com",
|
|
123
157
|
"svg": "<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 29 29\\\" shape-rendering=\\\"crispEdges\\\"></svg>"
|
|
124
158
|
}
|
|
125
159
|
```
|
|
@@ -195,17 +229,17 @@ Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
|
195
229
|
---
|
|
196
230
|
|
|
197
231
|
|
|
198
|
-
###
|
|
199
|
-
|
|
232
|
+
### getOriginalShortLinkByHash
|
|
233
|
+
Get original link by hash
|
|
200
234
|
|
|
201
235
|
|
|
202
236
|
|
|
203
237
|
```javascript
|
|
204
238
|
// Promise
|
|
205
|
-
const promise = share.
|
|
239
|
+
const promise = share.getOriginalShortLinkByHash({ hash : value });
|
|
206
240
|
|
|
207
241
|
// Async/Await
|
|
208
|
-
const data = await share.
|
|
242
|
+
const data = await share.getOriginalShortLinkByHash({ hash : value });
|
|
209
243
|
```
|
|
210
244
|
|
|
211
245
|
|
|
@@ -214,20 +248,20 @@ const data = await share.getUrlQRCode({ url : value });
|
|
|
214
248
|
|
|
215
249
|
| Argument | Type | Required | Description |
|
|
216
250
|
| --------- | ----- | -------- | ----------- |
|
|
217
|
-
|
|
|
251
|
+
| hash | string | yes | A string value used for converting long URL to short URL and vice-versa. |
|
|
218
252
|
|
|
219
253
|
|
|
220
254
|
|
|
221
|
-
Use this API to
|
|
255
|
+
Use this API to retrieve the original link from a short-link by using a hash value.
|
|
222
256
|
|
|
223
257
|
*Returned Response:*
|
|
224
258
|
|
|
225
259
|
|
|
226
260
|
|
|
227
261
|
|
|
228
|
-
[
|
|
262
|
+
[ShortLinkRes](#ShortLinkRes)
|
|
229
263
|
|
|
230
|
-
Success. Check the example shown below or refer `
|
|
264
|
+
Success. Check the example shown below or refer `ShortLinkRes` for more details.
|
|
231
265
|
|
|
232
266
|
|
|
233
267
|
|
|
@@ -237,8 +271,43 @@ Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
|
237
271
|
|
|
238
272
|
```json
|
|
239
273
|
{
|
|
240
|
-
"
|
|
241
|
-
|
|
274
|
+
"url": {
|
|
275
|
+
"original": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh",
|
|
276
|
+
"short": "https://0icof6vvsf.hostx0.de/l/3qKlnsq-x",
|
|
277
|
+
"hash": "3qKlnsq-x"
|
|
278
|
+
},
|
|
279
|
+
"redirects": {
|
|
280
|
+
"ios": {
|
|
281
|
+
"type": "web",
|
|
282
|
+
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
283
|
+
},
|
|
284
|
+
"android": {
|
|
285
|
+
"type": "web",
|
|
286
|
+
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
287
|
+
},
|
|
288
|
+
"web": {
|
|
289
|
+
"type": "web",
|
|
290
|
+
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
291
|
+
},
|
|
292
|
+
"force_web": false
|
|
293
|
+
},
|
|
294
|
+
"created_by": "team",
|
|
295
|
+
"personalized": false,
|
|
296
|
+
"app_redirect": false,
|
|
297
|
+
"fallback": "web",
|
|
298
|
+
"enable_tracking": false,
|
|
299
|
+
"active": true,
|
|
300
|
+
"count": 0,
|
|
301
|
+
"_id": "601a54054c0349592e76c8f3",
|
|
302
|
+
"title": "new ",
|
|
303
|
+
"meta": {
|
|
304
|
+
"type": "brand"
|
|
305
|
+
},
|
|
306
|
+
"expire_at": null,
|
|
307
|
+
"application": "5eda528b97457fe43a733ace",
|
|
308
|
+
"user_id": "5e4d01e2c39837ab66144f6d",
|
|
309
|
+
"created_at": "2021-02-03T07:43:01.342Z",
|
|
310
|
+
"updated_at": "2021-02-03T07:43:01.342Z"
|
|
242
311
|
}
|
|
243
312
|
```
|
|
244
313
|
</details>
|
|
@@ -254,17 +323,17 @@ Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
|
254
323
|
---
|
|
255
324
|
|
|
256
325
|
|
|
257
|
-
###
|
|
258
|
-
Create a
|
|
326
|
+
### getProductQRCodeBySlug
|
|
327
|
+
Create QR Code of a product
|
|
259
328
|
|
|
260
329
|
|
|
261
330
|
|
|
262
331
|
```javascript
|
|
263
332
|
// Promise
|
|
264
|
-
const promise = share.
|
|
333
|
+
const promise = share.getProductQRCodeBySlug({ slug : value });
|
|
265
334
|
|
|
266
335
|
// Async/Await
|
|
267
|
-
const data = await share.
|
|
336
|
+
const data = await share.getProductQRCodeBySlug({ slug : value });
|
|
268
337
|
```
|
|
269
338
|
|
|
270
339
|
|
|
@@ -272,20 +341,21 @@ const data = await share.createShortLink({ body : value });
|
|
|
272
341
|
|
|
273
342
|
|
|
274
343
|
| Argument | Type | Required | Description |
|
|
275
|
-
| --------- | ----- | -------- | ----------- |
|
|
276
|
-
|
|
|
344
|
+
| --------- | ----- | -------- | ----------- |
|
|
345
|
+
| slug | string | yes | A short, human-readable, URL-friendly identifier of a product. You can get slug value from the endpoint. |
|
|
277
346
|
|
|
278
347
|
|
|
279
|
-
|
|
348
|
+
|
|
349
|
+
Use this API to create a QR code of a product for sharing it with users who want to view/purchase the product.
|
|
280
350
|
|
|
281
351
|
*Returned Response:*
|
|
282
352
|
|
|
283
353
|
|
|
284
354
|
|
|
285
355
|
|
|
286
|
-
[
|
|
356
|
+
[QRCodeResp](#QRCodeResp)
|
|
287
357
|
|
|
288
|
-
Success. Check the example shown below or refer `
|
|
358
|
+
Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
289
359
|
|
|
290
360
|
|
|
291
361
|
|
|
@@ -295,43 +365,8 @@ Success. Check the example shown below or refer `ShortLinkRes` for more details.
|
|
|
295
365
|
|
|
296
366
|
```json
|
|
297
367
|
{
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
-
"short": "https://0icof6vvsf.hostx0.de/l/3qKlnsq-x",
|
|
301
|
-
"hash": "3qKlnsq-x"
|
|
302
|
-
},
|
|
303
|
-
"redirects": {
|
|
304
|
-
"ios": {
|
|
305
|
-
"type": "web",
|
|
306
|
-
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
307
|
-
},
|
|
308
|
-
"android": {
|
|
309
|
-
"type": "web",
|
|
310
|
-
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
311
|
-
},
|
|
312
|
-
"web": {
|
|
313
|
-
"type": "web",
|
|
314
|
-
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
315
|
-
},
|
|
316
|
-
"force_web": false
|
|
317
|
-
},
|
|
318
|
-
"created_by": "team",
|
|
319
|
-
"personalized": false,
|
|
320
|
-
"app_redirect": false,
|
|
321
|
-
"fallback": "web",
|
|
322
|
-
"enable_tracking": false,
|
|
323
|
-
"active": true,
|
|
324
|
-
"count": 0,
|
|
325
|
-
"_id": "601a54054c0349592e76c8f3",
|
|
326
|
-
"title": "new ",
|
|
327
|
-
"meta": {
|
|
328
|
-
"type": "brand"
|
|
329
|
-
},
|
|
330
|
-
"expire_at": null,
|
|
331
|
-
"application": "5eda528b97457fe43a733ace",
|
|
332
|
-
"user_id": "5e4d01e2c39837ab66144f6d",
|
|
333
|
-
"created_at": "2021-02-03T07:43:01.342Z",
|
|
334
|
-
"updated_at": "2021-02-03T07:43:01.342Z"
|
|
368
|
+
"link": "https://fynd.com/products/shirt-small-blue",
|
|
369
|
+
"svg": "<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 29 29\\\" shape-rendering=\\\"crispEdges\\\"></svg>"
|
|
335
370
|
}
|
|
336
371
|
```
|
|
337
372
|
</details>
|
|
@@ -441,17 +476,17 @@ Success. Check the example shown below or refer `ShortLinkRes` for more details.
|
|
|
441
476
|
---
|
|
442
477
|
|
|
443
478
|
|
|
444
|
-
###
|
|
445
|
-
|
|
479
|
+
### getUrlQRCode
|
|
480
|
+
Create QR Code of a URL
|
|
446
481
|
|
|
447
482
|
|
|
448
483
|
|
|
449
484
|
```javascript
|
|
450
485
|
// Promise
|
|
451
|
-
const promise = share.
|
|
486
|
+
const promise = share.getUrlQRCode({ url : value });
|
|
452
487
|
|
|
453
488
|
// Async/Await
|
|
454
|
-
const data = await share.
|
|
489
|
+
const data = await share.getUrlQRCode({ url : value });
|
|
455
490
|
```
|
|
456
491
|
|
|
457
492
|
|
|
@@ -460,20 +495,20 @@ const data = await share.getOriginalShortLinkByHash({ hash : value });
|
|
|
460
495
|
|
|
461
496
|
| Argument | Type | Required | Description |
|
|
462
497
|
| --------- | ----- | -------- | ----------- |
|
|
463
|
-
|
|
|
498
|
+
| url | string | yes | A link or a web address |
|
|
464
499
|
|
|
465
500
|
|
|
466
501
|
|
|
467
|
-
Use this API to
|
|
502
|
+
Use this API to create a QR code of a URL for sharing it with users who want to visit the link.
|
|
468
503
|
|
|
469
504
|
*Returned Response:*
|
|
470
505
|
|
|
471
506
|
|
|
472
507
|
|
|
473
508
|
|
|
474
|
-
[
|
|
509
|
+
[QRCodeResp](#QRCodeResp)
|
|
475
510
|
|
|
476
|
-
Success. Check the example shown below or refer `
|
|
511
|
+
Success. Check the example shown below or refer `QRCodeResp` for more details.
|
|
477
512
|
|
|
478
513
|
|
|
479
514
|
|
|
@@ -483,43 +518,8 @@ Success. Check the example shown below or refer `ShortLinkRes` for more details.
|
|
|
483
518
|
|
|
484
519
|
```json
|
|
485
520
|
{
|
|
486
|
-
"
|
|
487
|
-
|
|
488
|
-
"short": "https://0icof6vvsf.hostx0.de/l/3qKlnsq-x",
|
|
489
|
-
"hash": "3qKlnsq-x"
|
|
490
|
-
},
|
|
491
|
-
"redirects": {
|
|
492
|
-
"ios": {
|
|
493
|
-
"type": "web",
|
|
494
|
-
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
495
|
-
},
|
|
496
|
-
"android": {
|
|
497
|
-
"type": "web",
|
|
498
|
-
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
499
|
-
},
|
|
500
|
-
"web": {
|
|
501
|
-
"type": "web",
|
|
502
|
-
"link": "https://0icof6vvsf.hostx0.de/products/?brand=ruosh"
|
|
503
|
-
},
|
|
504
|
-
"force_web": false
|
|
505
|
-
},
|
|
506
|
-
"created_by": "team",
|
|
507
|
-
"personalized": false,
|
|
508
|
-
"app_redirect": false,
|
|
509
|
-
"fallback": "web",
|
|
510
|
-
"enable_tracking": false,
|
|
511
|
-
"active": true,
|
|
512
|
-
"count": 0,
|
|
513
|
-
"_id": "601a54054c0349592e76c8f3",
|
|
514
|
-
"title": "new ",
|
|
515
|
-
"meta": {
|
|
516
|
-
"type": "brand"
|
|
517
|
-
},
|
|
518
|
-
"expire_at": null,
|
|
519
|
-
"application": "5eda528b97457fe43a733ace",
|
|
520
|
-
"user_id": "5e4d01e2c39837ab66144f6d",
|
|
521
|
-
"created_at": "2021-02-03T07:43:01.342Z",
|
|
522
|
-
"updated_at": "2021-02-03T07:43:01.342Z"
|
|
521
|
+
"link": "https://fynd.com",
|
|
522
|
+
"svg": "<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 29 29\\\" shape-rendering=\\\"crispEdges\\\"></svg>"
|
|
523
523
|
}
|
|
524
524
|
```
|
|
525
525
|
</details>
|
|
@@ -538,193 +538,95 @@ Success. Check the example shown below or refer `ShortLinkRes` for more details.
|
|
|
538
538
|
|
|
539
539
|
### Schemas
|
|
540
540
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
#### [QRCodeResp](#QRCodeResp)
|
|
541
|
+
|
|
542
|
+
#### [Attribution](#Attribution)
|
|
544
543
|
|
|
545
544
|
| Properties | Type | Nullable | Description |
|
|
546
|
-
| ---------- | ---- | -------- | ----------- |
|
|
547
|
-
| link | string | no | |
|
|
548
|
-
| svg | string | no | |
|
|
545
|
+
| ---------- | ---- | -------- | ----------- || campaign_cookie_expiry | string | no | |
|
|
549
546
|
|
|
550
547
|
---
|
|
551
548
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
#### [RedirectDevice](#RedirectDevice)
|
|
549
|
+
#### [CampaignShortLink](#CampaignShortLink)
|
|
556
550
|
|
|
557
551
|
| Properties | Type | Nullable | Description |
|
|
558
|
-
| ---------- | ---- | -------- | ----------- |
|
|
559
|
-
| link | string | no | |
|
|
560
|
-
| type | string | no | |
|
|
552
|
+
| ---------- | ---- | -------- | ----------- || medium | string | no | || source | string | no | |
|
|
561
553
|
|
|
562
554
|
---
|
|
563
555
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
#### [WebRedirect](#WebRedirect)
|
|
556
|
+
#### [ErrorRes](#ErrorRes)
|
|
568
557
|
|
|
569
558
|
| Properties | Type | Nullable | Description |
|
|
570
|
-
| ---------- | ---- | -------- | ----------- |
|
|
571
|
-
| link | string | no | |
|
|
572
|
-
| type | string | no | |
|
|
559
|
+
| ---------- | ---- | -------- | ----------- || message | string | no | |
|
|
573
560
|
|
|
574
561
|
---
|
|
575
562
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
#### [Redirects](#Redirects)
|
|
563
|
+
#### [Page](#Page)
|
|
580
564
|
|
|
581
565
|
| Properties | Type | Nullable | Description |
|
|
582
|
-
| ---------- | ---- | -------- | ----------- |
|
|
583
|
-
| ios | [RedirectDevice](#RedirectDevice) | no | |
|
|
584
|
-
| android | [RedirectDevice](#RedirectDevice) | no | |
|
|
585
|
-
| web | [WebRedirect](#WebRedirect) | no | |
|
|
586
|
-
| force_web | boolean | no | |
|
|
566
|
+
| ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || has_previous | boolean | no | || item_total | number | no | || next_id | string | no | || size | number | no | || type | string | yes | |
|
|
587
567
|
|
|
588
568
|
---
|
|
589
569
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
#### [CampaignShortLink](#CampaignShortLink)
|
|
570
|
+
#### [QRCodeResp](#QRCodeResp)
|
|
594
571
|
|
|
595
572
|
| Properties | Type | Nullable | Description |
|
|
596
|
-
| ---------- | ---- | -------- | ----------- |
|
|
597
|
-
| source | string | no | |
|
|
598
|
-
| medium | string | no | |
|
|
573
|
+
| ---------- | ---- | -------- | ----------- || link | string | no | || svg | string | no | |
|
|
599
574
|
|
|
600
575
|
---
|
|
601
576
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
#### [Attribution](#Attribution)
|
|
577
|
+
#### [RedirectDevice](#RedirectDevice)
|
|
606
578
|
|
|
607
579
|
| Properties | Type | Nullable | Description |
|
|
608
|
-
| ---------- | ---- | -------- | ----------- |
|
|
609
|
-
| campaign_cookie_expiry | string | no | |
|
|
580
|
+
| ---------- | ---- | -------- | ----------- || link | string | no | || type | string | no | |
|
|
610
581
|
|
|
611
582
|
---
|
|
612
583
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
#### [SocialMediaTags](#SocialMediaTags)
|
|
584
|
+
#### [Redirects](#Redirects)
|
|
617
585
|
|
|
618
586
|
| Properties | Type | Nullable | Description |
|
|
619
|
-
| ---------- | ---- | -------- | ----------- |
|
|
620
|
-
| title | string | no | |
|
|
621
|
-
| description | string | no | |
|
|
622
|
-
| image | string | no | |
|
|
587
|
+
| ---------- | ---- | -------- | ----------- || android | [RedirectDevice](#RedirectDevice) | no | || force_web | boolean | no | || ios | [RedirectDevice](#RedirectDevice) | no | || web | [WebRedirect](#WebRedirect) | no | |
|
|
623
588
|
|
|
624
589
|
---
|
|
625
590
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
#### [ShortLinkReq](#ShortLinkReq)
|
|
591
|
+
#### [ShortLinkList](#ShortLinkList)
|
|
630
592
|
|
|
631
593
|
| Properties | Type | Nullable | Description |
|
|
632
|
-
| ---------- | ---- | -------- | ----------- |
|
|
633
|
-
| title | string | yes | Give a name to the link. |
|
|
634
|
-
| url | string | yes | The web address to shorten. |
|
|
635
|
-
| hash | string | no | |
|
|
636
|
-
| active | boolean | no | |
|
|
637
|
-
| expire_at | string | no | |
|
|
638
|
-
| enable_tracking | boolean | no | |
|
|
639
|
-
| personalized | boolean | no | To create personalized short links. |
|
|
640
|
-
| campaign | [CampaignShortLink](#CampaignShortLink) | no | |
|
|
641
|
-
| redirects | [Redirects](#Redirects) | no | |
|
|
642
|
-
| attribution | [Attribution](#Attribution) | no | |
|
|
643
|
-
| social_media_tags | [SocialMediaTags](#SocialMediaTags) | no | |
|
|
644
|
-
| count | number | no | |
|
|
594
|
+
| ---------- | ---- | -------- | ----------- || items | [[ShortLinkRes](#ShortLinkRes)] | no | || page | [Page](#Page) | no | |
|
|
645
595
|
|
|
646
596
|
---
|
|
647
597
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
#### [UrlInfo](#UrlInfo)
|
|
598
|
+
#### [ShortLinkReq](#ShortLinkReq)
|
|
652
599
|
|
|
653
600
|
| Properties | Type | Nullable | Description |
|
|
654
|
-
| ---------- | ---- | -------- | ----------- |
|
|
655
|
-
| original | string | no | |
|
|
656
|
-
| short | string | no | |
|
|
657
|
-
| hash | string | no | |
|
|
601
|
+
| ---------- | ---- | -------- | ----------- || active | boolean | no | || attribution | [Attribution](#Attribution) | no | || campaign | [CampaignShortLink](#CampaignShortLink) | no | || count | number | no | || enable_tracking | boolean | no | || expire_at | string | no | || hash | string | no | || personalized | boolean | no | || redirects | [Redirects](#Redirects) | no | || social_media_tags | [SocialMediaTags](#SocialMediaTags) | no | || title | string | yes | || url | string | yes | |
|
|
658
602
|
|
|
659
603
|
---
|
|
660
604
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
#### [ShortLinkRes](#ShortLinkRes)
|
|
605
|
+
#### [ShortLinkRes](#ShortLinkRes)
|
|
665
606
|
|
|
666
607
|
| Properties | Type | Nullable | Description |
|
|
667
|
-
| ---------- | ---- | -------- | ----------- |
|
|
668
|
-
| title | string | no | |
|
|
669
|
-
| url | [UrlInfo](#UrlInfo) | no | |
|
|
670
|
-
| created_by | string | no | |
|
|
671
|
-
| app_redirect | boolean | no | |
|
|
672
|
-
| fallback | string | no | |
|
|
673
|
-
| active | boolean | no | |
|
|
674
|
-
| _id | string | no | |
|
|
675
|
-
| enable_tracking | boolean | no | |
|
|
676
|
-
| expire_at | string | no | |
|
|
677
|
-
| application | string | no | |
|
|
678
|
-
| user_id | string | no | |
|
|
679
|
-
| created_at | string | no | |
|
|
680
|
-
| meta | string | no | |
|
|
681
|
-
| updated_at | string | no | |
|
|
682
|
-
| personalized | boolean | no | To create personalized short links |
|
|
683
|
-
| campaign | [CampaignShortLink](#CampaignShortLink) | no | |
|
|
684
|
-
| redirects | [Redirects](#Redirects) | no | |
|
|
685
|
-
| attribution | [Attribution](#Attribution) | no | |
|
|
686
|
-
| social_media_tags | [SocialMediaTags](#SocialMediaTags) | no | |
|
|
687
|
-
| count | number | no | |
|
|
608
|
+
| ---------- | ---- | -------- | ----------- || _id | string | no | || active | boolean | no | || app_redirect | boolean | no | || application | string | no | || attribution | [Attribution](#Attribution) | no | || campaign | [CampaignShortLink](#CampaignShortLink) | no | || count | number | no | || created_at | string | no | || created_by | string | no | || enable_tracking | boolean | no | || expire_at | string | no | || fallback | string | no | || meta | string | no | || personalized | boolean | no | || redirects | [Redirects](#Redirects) | no | || social_media_tags | [SocialMediaTags](#SocialMediaTags) | no | || title | string | no | || updated_at | string | no | || url | [UrlInfo](#UrlInfo) | no | || user_id | string | no | |
|
|
688
609
|
|
|
689
610
|
---
|
|
690
611
|
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
#### [Page](#Page)
|
|
612
|
+
#### [SocialMediaTags](#SocialMediaTags)
|
|
695
613
|
|
|
696
614
|
| Properties | Type | Nullable | Description |
|
|
697
|
-
| ---------- | ---- | -------- | ----------- |
|
|
698
|
-
| item_total | number | no | |
|
|
699
|
-
| next_id | string | no | |
|
|
700
|
-
| has_previous | boolean | no | |
|
|
701
|
-
| has_next | boolean | no | |
|
|
702
|
-
| current | number | no | |
|
|
703
|
-
| type | string | yes | |
|
|
704
|
-
| size | number | no | |
|
|
615
|
+
| ---------- | ---- | -------- | ----------- || description | string | no | || image | string | no | || title | string | no | |
|
|
705
616
|
|
|
706
617
|
---
|
|
707
618
|
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
#### [ShortLinkList](#ShortLinkList)
|
|
619
|
+
#### [UrlInfo](#UrlInfo)
|
|
712
620
|
|
|
713
621
|
| Properties | Type | Nullable | Description |
|
|
714
|
-
| ---------- | ---- | -------- | ----------- |
|
|
715
|
-
| items | [[ShortLinkRes](#ShortLinkRes)] | no | |
|
|
716
|
-
| page | [Page](#Page) | no | |
|
|
622
|
+
| ---------- | ---- | -------- | ----------- || hash | string | no | || original | string | no | || short | string | no | |
|
|
717
623
|
|
|
718
624
|
---
|
|
719
625
|
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
#### [ErrorRes](#ErrorRes)
|
|
626
|
+
#### [WebRedirect](#WebRedirect)
|
|
724
627
|
|
|
725
628
|
| Properties | Type | Nullable | Description |
|
|
726
|
-
| ---------- | ---- | -------- | ----------- |
|
|
727
|
-
| message | string | no | |
|
|
629
|
+
| ---------- | ---- | -------- | ----------- || link | string | no | || type | string | no | |
|
|
728
630
|
|
|
729
631
|
---
|
|
730
632
|
|