hostinger-api-sdk 0.0.19 → 0.0.20
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 +2 -2
- package/api.ts +1179 -38
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +746 -8
- package/dist/api.js +763 -5
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +746 -8
- package/dist/esm/api.js +742 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/EcommercePaymentsApi.md +66 -0
- package/docs/EcommerceProductsApi.md +125 -0
- package/docs/EcommerceShippingApi.md +66 -0
- package/docs/EcommerceStoresApi.md +54 -0
- package/docs/EcommerceV1PaymentEnableManualPaymentRequest.md +20 -0
- package/docs/EcommerceV1PaymentManualPaymentResource.md +22 -0
- package/docs/EcommerceV1PaymentManualPaymentResourcePaymentMethod.md +26 -0
- package/docs/EcommerceV1ProductCreateDigitalProductRequest.md +28 -0
- package/docs/EcommerceV1ProductCreatePhysicalProductRequest.md +26 -0
- package/docs/EcommerceV1ProductProductCreationResource.md +22 -0
- package/docs/EcommerceV1ProductProductCreationResourceProduct.md +30 -0
- package/docs/EcommerceV1ShippingSetShippingRequest.md +20 -0
- package/docs/EcommerceV1ShippingShippingResource.md +22 -0
- package/docs/EcommerceV1ShippingShippingResourceShippingOption.md +24 -0
- package/docs/EcommerceV1StoreStoreDeleteResource.md +22 -0
- package/docs/HorizonsV1WebsitesCreateWebsiteRequest.md +20 -0
- package/docs/HorizonsV1WebsitesCreateWebsiteRequestMessageInner.md +22 -0
- package/docs/HorizonsV1WebsitesCreatedWebsiteResource.md +22 -0
- package/docs/HorizonsV1WebsitesWebsiteUrlResource.md +20 -0
- package/docs/HorizonsWebsitesApi.md +117 -0
- package/docs/{ReachListSegmentContactsV1200Response.md → ReachListProfileSegmentContactsV1200Response.md} +3 -3
- package/docs/ReachSegmentsApi.md +65 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 0.
|
|
4
|
+
* API Version: 0.19.2
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1463,6 +1463,261 @@ export interface EcommerceGetStoresV1200Response {
|
|
|
1463
1463
|
*/
|
|
1464
1464
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
1465
1465
|
}
|
|
1466
|
+
/**
|
|
1467
|
+
*
|
|
1468
|
+
* @export
|
|
1469
|
+
* @interface EcommerceV1PaymentEnableManualPaymentRequest
|
|
1470
|
+
*/
|
|
1471
|
+
export interface EcommerceV1PaymentEnableManualPaymentRequest {
|
|
1472
|
+
/**
|
|
1473
|
+
* Optional display name shown to customers at checkout.
|
|
1474
|
+
* @type {string}
|
|
1475
|
+
* @memberof EcommerceV1PaymentEnableManualPaymentRequest
|
|
1476
|
+
*/
|
|
1477
|
+
'title': string | null;
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @export
|
|
1482
|
+
* @interface EcommerceV1PaymentManualPaymentResource
|
|
1483
|
+
*/
|
|
1484
|
+
export interface EcommerceV1PaymentManualPaymentResource {
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @type {EcommerceV1PaymentManualPaymentResourcePaymentMethod}
|
|
1488
|
+
* @memberof EcommerceV1PaymentManualPaymentResource
|
|
1489
|
+
*/
|
|
1490
|
+
'payment_method': EcommerceV1PaymentManualPaymentResourcePaymentMethod;
|
|
1491
|
+
/**
|
|
1492
|
+
* Admin UI deep-link to manage payment settings.
|
|
1493
|
+
* @type {string}
|
|
1494
|
+
* @memberof EcommerceV1PaymentManualPaymentResource
|
|
1495
|
+
*/
|
|
1496
|
+
'admin_url': string;
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @export
|
|
1501
|
+
* @interface EcommerceV1PaymentManualPaymentResourcePaymentMethod
|
|
1502
|
+
*/
|
|
1503
|
+
export interface EcommerceV1PaymentManualPaymentResourcePaymentMethod {
|
|
1504
|
+
/**
|
|
1505
|
+
* Store payment provider ID.
|
|
1506
|
+
* @type {string}
|
|
1507
|
+
* @memberof EcommerceV1PaymentManualPaymentResourcePaymentMethod
|
|
1508
|
+
*/
|
|
1509
|
+
'id': string;
|
|
1510
|
+
/**
|
|
1511
|
+
* The payment provider identifier.
|
|
1512
|
+
* @type {string}
|
|
1513
|
+
* @memberof EcommerceV1PaymentManualPaymentResourcePaymentMethod
|
|
1514
|
+
*/
|
|
1515
|
+
'provider_id': string;
|
|
1516
|
+
/**
|
|
1517
|
+
* Whether the payment method is shown at checkout.
|
|
1518
|
+
* @type {boolean}
|
|
1519
|
+
* @memberof EcommerceV1PaymentManualPaymentResourcePaymentMethod
|
|
1520
|
+
*/
|
|
1521
|
+
'is_enabled': boolean;
|
|
1522
|
+
/**
|
|
1523
|
+
* Display name shown to customers at checkout.
|
|
1524
|
+
* @type {string}
|
|
1525
|
+
* @memberof EcommerceV1PaymentManualPaymentResourcePaymentMethod
|
|
1526
|
+
*/
|
|
1527
|
+
'title': string;
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @export
|
|
1532
|
+
* @interface EcommerceV1ProductCreateDigitalProductRequest
|
|
1533
|
+
*/
|
|
1534
|
+
export interface EcommerceV1ProductCreateDigitalProductRequest {
|
|
1535
|
+
/**
|
|
1536
|
+
* The product name.
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof EcommerceV1ProductCreateDigitalProductRequest
|
|
1539
|
+
*/
|
|
1540
|
+
'name': string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Price in the smallest currency unit (e.g. cents). Must be positive.
|
|
1543
|
+
* @type {number}
|
|
1544
|
+
* @memberof EcommerceV1ProductCreateDigitalProductRequest
|
|
1545
|
+
*/
|
|
1546
|
+
'price': number;
|
|
1547
|
+
/**
|
|
1548
|
+
* The product description.
|
|
1549
|
+
* @type {string}
|
|
1550
|
+
* @memberof EcommerceV1ProductCreateDigitalProductRequest
|
|
1551
|
+
*/
|
|
1552
|
+
'description': string | null;
|
|
1553
|
+
/**
|
|
1554
|
+
* ISO 4217 currency code. Defaults to the store\'s default currency when omitted.
|
|
1555
|
+
* @type {string}
|
|
1556
|
+
* @memberof EcommerceV1ProductCreateDigitalProductRequest
|
|
1557
|
+
*/
|
|
1558
|
+
'currency': string | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Optional external download link delivered to the customer after purchase.
|
|
1561
|
+
* @type {string}
|
|
1562
|
+
* @memberof EcommerceV1ProductCreateDigitalProductRequest
|
|
1563
|
+
*/
|
|
1564
|
+
'download_url': string | null;
|
|
1565
|
+
}
|
|
1566
|
+
/**
|
|
1567
|
+
*
|
|
1568
|
+
* @export
|
|
1569
|
+
* @interface EcommerceV1ProductCreatePhysicalProductRequest
|
|
1570
|
+
*/
|
|
1571
|
+
export interface EcommerceV1ProductCreatePhysicalProductRequest {
|
|
1572
|
+
/**
|
|
1573
|
+
* The product name.
|
|
1574
|
+
* @type {string}
|
|
1575
|
+
* @memberof EcommerceV1ProductCreatePhysicalProductRequest
|
|
1576
|
+
*/
|
|
1577
|
+
'name': string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Price in the smallest currency unit (e.g. cents). Must be positive.
|
|
1580
|
+
* @type {number}
|
|
1581
|
+
* @memberof EcommerceV1ProductCreatePhysicalProductRequest
|
|
1582
|
+
*/
|
|
1583
|
+
'price': number;
|
|
1584
|
+
/**
|
|
1585
|
+
* The product description.
|
|
1586
|
+
* @type {string}
|
|
1587
|
+
* @memberof EcommerceV1ProductCreatePhysicalProductRequest
|
|
1588
|
+
*/
|
|
1589
|
+
'description': string | null;
|
|
1590
|
+
/**
|
|
1591
|
+
* ISO 4217 currency code. Defaults to the store\'s default currency when omitted.
|
|
1592
|
+
* @type {string}
|
|
1593
|
+
* @memberof EcommerceV1ProductCreatePhysicalProductRequest
|
|
1594
|
+
*/
|
|
1595
|
+
'currency': string | null;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @export
|
|
1600
|
+
* @interface EcommerceV1ProductProductCreationResource
|
|
1601
|
+
*/
|
|
1602
|
+
export interface EcommerceV1ProductProductCreationResource {
|
|
1603
|
+
/**
|
|
1604
|
+
*
|
|
1605
|
+
* @type {EcommerceV1ProductProductCreationResourceProduct}
|
|
1606
|
+
* @memberof EcommerceV1ProductProductCreationResource
|
|
1607
|
+
*/
|
|
1608
|
+
'product': EcommerceV1ProductProductCreationResourceProduct;
|
|
1609
|
+
/**
|
|
1610
|
+
* Admin UI deep-link to manage the product.
|
|
1611
|
+
* @type {string}
|
|
1612
|
+
* @memberof EcommerceV1ProductProductCreationResource
|
|
1613
|
+
*/
|
|
1614
|
+
'admin_url': string;
|
|
1615
|
+
}
|
|
1616
|
+
/**
|
|
1617
|
+
*
|
|
1618
|
+
* @export
|
|
1619
|
+
* @interface EcommerceV1ProductProductCreationResourceProduct
|
|
1620
|
+
*/
|
|
1621
|
+
export interface EcommerceV1ProductProductCreationResourceProduct {
|
|
1622
|
+
/**
|
|
1623
|
+
* Product ID.
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof EcommerceV1ProductProductCreationResourceProduct
|
|
1626
|
+
*/
|
|
1627
|
+
'id': string;
|
|
1628
|
+
/**
|
|
1629
|
+
* Product name.
|
|
1630
|
+
* @type {string}
|
|
1631
|
+
* @memberof EcommerceV1ProductProductCreationResourceProduct
|
|
1632
|
+
*/
|
|
1633
|
+
'title': string;
|
|
1634
|
+
/**
|
|
1635
|
+
* Product type.
|
|
1636
|
+
* @type {string}
|
|
1637
|
+
* @memberof EcommerceV1ProductProductCreationResourceProduct
|
|
1638
|
+
*/
|
|
1639
|
+
'type': EcommerceV1ProductProductCreationResourceProductTypeEnum;
|
|
1640
|
+
/**
|
|
1641
|
+
* Product status.
|
|
1642
|
+
* @type {string}
|
|
1643
|
+
* @memberof EcommerceV1ProductProductCreationResourceProduct
|
|
1644
|
+
*/
|
|
1645
|
+
'status': string;
|
|
1646
|
+
/**
|
|
1647
|
+
* Price in the smallest currency unit (e.g. cents).
|
|
1648
|
+
* @type {number}
|
|
1649
|
+
* @memberof EcommerceV1ProductProductCreationResourceProduct
|
|
1650
|
+
*/
|
|
1651
|
+
'price': number;
|
|
1652
|
+
/**
|
|
1653
|
+
* Currency the product is priced in (ISO 4217, lowercase).
|
|
1654
|
+
* @type {string}
|
|
1655
|
+
* @memberof EcommerceV1ProductProductCreationResourceProduct
|
|
1656
|
+
*/
|
|
1657
|
+
'currency_code': string;
|
|
1658
|
+
}
|
|
1659
|
+
export declare const EcommerceV1ProductProductCreationResourceProductTypeEnum: {
|
|
1660
|
+
readonly Physical: "physical";
|
|
1661
|
+
readonly Digital: "digital";
|
|
1662
|
+
};
|
|
1663
|
+
export type EcommerceV1ProductProductCreationResourceProductTypeEnum = typeof EcommerceV1ProductProductCreationResourceProductTypeEnum[keyof typeof EcommerceV1ProductProductCreationResourceProductTypeEnum];
|
|
1664
|
+
/**
|
|
1665
|
+
*
|
|
1666
|
+
* @export
|
|
1667
|
+
* @interface EcommerceV1ShippingSetShippingRequest
|
|
1668
|
+
*/
|
|
1669
|
+
export interface EcommerceV1ShippingSetShippingRequest {
|
|
1670
|
+
/**
|
|
1671
|
+
* Flat shipping rate in the smallest currency unit (e.g. cents). Use 0 for free shipping.
|
|
1672
|
+
* @type {number}
|
|
1673
|
+
* @memberof EcommerceV1ShippingSetShippingRequest
|
|
1674
|
+
*/
|
|
1675
|
+
'price': number;
|
|
1676
|
+
}
|
|
1677
|
+
/**
|
|
1678
|
+
*
|
|
1679
|
+
* @export
|
|
1680
|
+
* @interface EcommerceV1ShippingShippingResource
|
|
1681
|
+
*/
|
|
1682
|
+
export interface EcommerceV1ShippingShippingResource {
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @type {EcommerceV1ShippingShippingResourceShippingOption}
|
|
1686
|
+
* @memberof EcommerceV1ShippingShippingResource
|
|
1687
|
+
*/
|
|
1688
|
+
'shipping_option': EcommerceV1ShippingShippingResourceShippingOption;
|
|
1689
|
+
/**
|
|
1690
|
+
* Admin UI deep-link to manage shipping settings.
|
|
1691
|
+
* @type {string}
|
|
1692
|
+
* @memberof EcommerceV1ShippingShippingResource
|
|
1693
|
+
*/
|
|
1694
|
+
'admin_url': string;
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
*
|
|
1698
|
+
* @export
|
|
1699
|
+
* @interface EcommerceV1ShippingShippingResourceShippingOption
|
|
1700
|
+
*/
|
|
1701
|
+
export interface EcommerceV1ShippingShippingResourceShippingOption {
|
|
1702
|
+
/**
|
|
1703
|
+
* Shipping option ID.
|
|
1704
|
+
* @type {string}
|
|
1705
|
+
* @memberof EcommerceV1ShippingShippingResourceShippingOption
|
|
1706
|
+
*/
|
|
1707
|
+
'id': string;
|
|
1708
|
+
/**
|
|
1709
|
+
* Flat shipping rate in the smallest currency unit (e.g. cents).
|
|
1710
|
+
* @type {number}
|
|
1711
|
+
* @memberof EcommerceV1ShippingShippingResourceShippingOption
|
|
1712
|
+
*/
|
|
1713
|
+
'amount': number;
|
|
1714
|
+
/**
|
|
1715
|
+
* Currency code the rate is charged in (ISO 4217, lowercase).
|
|
1716
|
+
* @type {string}
|
|
1717
|
+
* @memberof EcommerceV1ShippingShippingResourceShippingOption
|
|
1718
|
+
*/
|
|
1719
|
+
'currency_code': string;
|
|
1720
|
+
}
|
|
1466
1721
|
/**
|
|
1467
1722
|
*
|
|
1468
1723
|
* @export
|
|
@@ -1559,6 +1814,25 @@ export interface EcommerceV1StoreStoreCreationResourceStore {
|
|
|
1559
1814
|
*/
|
|
1560
1815
|
'default_currency_code': string;
|
|
1561
1816
|
}
|
|
1817
|
+
/**
|
|
1818
|
+
*
|
|
1819
|
+
* @export
|
|
1820
|
+
* @interface EcommerceV1StoreStoreDeleteResource
|
|
1821
|
+
*/
|
|
1822
|
+
export interface EcommerceV1StoreStoreDeleteResource {
|
|
1823
|
+
/**
|
|
1824
|
+
* The ID of the deleted store.
|
|
1825
|
+
* @type {string}
|
|
1826
|
+
* @memberof EcommerceV1StoreStoreDeleteResource
|
|
1827
|
+
*/
|
|
1828
|
+
'id': string;
|
|
1829
|
+
/**
|
|
1830
|
+
* Always true when the store was soft-deleted.
|
|
1831
|
+
* @type {boolean}
|
|
1832
|
+
* @memberof EcommerceV1StoreStoreDeleteResource
|
|
1833
|
+
*/
|
|
1834
|
+
'is_deleted': boolean;
|
|
1835
|
+
}
|
|
1562
1836
|
/**
|
|
1563
1837
|
*
|
|
1564
1838
|
* @export
|
|
@@ -1668,6 +1942,74 @@ export interface EcommerceV1StoreStoreResource {
|
|
|
1668
1942
|
*/
|
|
1669
1943
|
'company_name': string | null;
|
|
1670
1944
|
}
|
|
1945
|
+
/**
|
|
1946
|
+
*
|
|
1947
|
+
* @export
|
|
1948
|
+
* @interface HorizonsV1WebsitesCreateWebsiteRequest
|
|
1949
|
+
*/
|
|
1950
|
+
export interface HorizonsV1WebsitesCreateWebsiteRequest {
|
|
1951
|
+
/**
|
|
1952
|
+
*
|
|
1953
|
+
* @type {Array<HorizonsV1WebsitesCreateWebsiteRequestMessageInner>}
|
|
1954
|
+
* @memberof HorizonsV1WebsitesCreateWebsiteRequest
|
|
1955
|
+
*/
|
|
1956
|
+
'message': Array<HorizonsV1WebsitesCreateWebsiteRequestMessageInner>;
|
|
1957
|
+
}
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @export
|
|
1961
|
+
* @interface HorizonsV1WebsitesCreateWebsiteRequestMessageInner
|
|
1962
|
+
*/
|
|
1963
|
+
export interface HorizonsV1WebsitesCreateWebsiteRequestMessageInner {
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {string}
|
|
1967
|
+
* @memberof HorizonsV1WebsitesCreateWebsiteRequestMessageInner
|
|
1968
|
+
*/
|
|
1969
|
+
'type': HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum;
|
|
1970
|
+
/**
|
|
1971
|
+
* Detailed project specification. Include purpose, key features, user flows, data models, and design preferences. The specification should be detailed and comprehensive, covering all aspects of the project.
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof HorizonsV1WebsitesCreateWebsiteRequestMessageInner
|
|
1974
|
+
*/
|
|
1975
|
+
'text': string;
|
|
1976
|
+
}
|
|
1977
|
+
export declare const HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum: {
|
|
1978
|
+
readonly Text: "text";
|
|
1979
|
+
};
|
|
1980
|
+
export type HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = typeof HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum[keyof typeof HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum];
|
|
1981
|
+
/**
|
|
1982
|
+
*
|
|
1983
|
+
* @export
|
|
1984
|
+
* @interface HorizonsV1WebsitesCreatedWebsiteResource
|
|
1985
|
+
*/
|
|
1986
|
+
export interface HorizonsV1WebsitesCreatedWebsiteResource {
|
|
1987
|
+
/**
|
|
1988
|
+
* The website URL for the user to access their website in Hostinger Horizons interface
|
|
1989
|
+
* @type {string}
|
|
1990
|
+
* @memberof HorizonsV1WebsitesCreatedWebsiteResource
|
|
1991
|
+
*/
|
|
1992
|
+
'website_url': string;
|
|
1993
|
+
/**
|
|
1994
|
+
* The website ID
|
|
1995
|
+
* @type {string}
|
|
1996
|
+
* @memberof HorizonsV1WebsitesCreatedWebsiteResource
|
|
1997
|
+
*/
|
|
1998
|
+
'website_id': string;
|
|
1999
|
+
}
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @export
|
|
2003
|
+
* @interface HorizonsV1WebsitesWebsiteUrlResource
|
|
2004
|
+
*/
|
|
2005
|
+
export interface HorizonsV1WebsitesWebsiteUrlResource {
|
|
2006
|
+
/**
|
|
2007
|
+
* The website URL for the user to access their website in Hostinger Horizons interface
|
|
2008
|
+
* @type {string}
|
|
2009
|
+
* @memberof HorizonsV1WebsitesWebsiteUrlResource
|
|
2010
|
+
*/
|
|
2011
|
+
'website_url': string;
|
|
2012
|
+
}
|
|
1671
2013
|
/**
|
|
1672
2014
|
*
|
|
1673
2015
|
* @export
|
|
@@ -2760,19 +3102,19 @@ export interface ReachListContactsV1200Response {
|
|
|
2760
3102
|
/**
|
|
2761
3103
|
*
|
|
2762
3104
|
* @export
|
|
2763
|
-
* @interface
|
|
3105
|
+
* @interface ReachListProfileSegmentContactsV1200Response
|
|
2764
3106
|
*/
|
|
2765
|
-
export interface
|
|
3107
|
+
export interface ReachListProfileSegmentContactsV1200Response {
|
|
2766
3108
|
/**
|
|
2767
3109
|
* Array of [`Reach.V1.Contacts.Segments.SegmentationContactResource`](#model/reachv1contactssegmentssegmentationcontactresource)
|
|
2768
3110
|
* @type {Array<ReachV1ContactsSegmentsSegmentationContactResource>}
|
|
2769
|
-
* @memberof
|
|
3111
|
+
* @memberof ReachListProfileSegmentContactsV1200Response
|
|
2770
3112
|
*/
|
|
2771
3113
|
'data': Array<ReachV1ContactsSegmentsSegmentationContactResource>;
|
|
2772
3114
|
/**
|
|
2773
3115
|
*
|
|
2774
3116
|
* @type {CommonSchemaPaginationMetaSchema}
|
|
2775
|
-
* @memberof
|
|
3117
|
+
* @memberof ReachListProfileSegmentContactsV1200Response
|
|
2776
3118
|
*/
|
|
2777
3119
|
'meta': CommonSchemaPaginationMetaSchema;
|
|
2778
3120
|
}
|
|
@@ -6032,6 +6374,232 @@ export declare class DomainsWHOISApi extends BaseAPI {
|
|
|
6032
6374
|
*/
|
|
6033
6375
|
getWHOISProfileV1(whoisId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DomainsV1WHOISProfileResource, any, {}>>;
|
|
6034
6376
|
}
|
|
6377
|
+
/**
|
|
6378
|
+
* EcommercePaymentsApi - axios parameter creator
|
|
6379
|
+
* @export
|
|
6380
|
+
*/
|
|
6381
|
+
export declare const EcommercePaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6382
|
+
/**
|
|
6383
|
+
* Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
6384
|
+
* @summary Enable manual payment method
|
|
6385
|
+
* @param {string} storeId The ID of the store to enable manual payment for.
|
|
6386
|
+
* @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
|
|
6387
|
+
* @param {*} [options] Override http request option.
|
|
6388
|
+
* @throws {RequiredError}
|
|
6389
|
+
*/
|
|
6390
|
+
enableManualPaymentMethodV1: (storeId: string, ecommerceV1PaymentEnableManualPaymentRequest: EcommerceV1PaymentEnableManualPaymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6391
|
+
};
|
|
6392
|
+
/**
|
|
6393
|
+
* EcommercePaymentsApi - functional programming interface
|
|
6394
|
+
* @export
|
|
6395
|
+
*/
|
|
6396
|
+
export declare const EcommercePaymentsApiFp: (configuration?: Configuration) => {
|
|
6397
|
+
/**
|
|
6398
|
+
* Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
6399
|
+
* @summary Enable manual payment method
|
|
6400
|
+
* @param {string} storeId The ID of the store to enable manual payment for.
|
|
6401
|
+
* @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
|
|
6402
|
+
* @param {*} [options] Override http request option.
|
|
6403
|
+
* @throws {RequiredError}
|
|
6404
|
+
*/
|
|
6405
|
+
enableManualPaymentMethodV1(storeId: string, ecommerceV1PaymentEnableManualPaymentRequest: EcommerceV1PaymentEnableManualPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1PaymentManualPaymentResource>>;
|
|
6406
|
+
};
|
|
6407
|
+
/**
|
|
6408
|
+
* EcommercePaymentsApi - factory interface
|
|
6409
|
+
* @export
|
|
6410
|
+
*/
|
|
6411
|
+
export declare const EcommercePaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6412
|
+
/**
|
|
6413
|
+
* Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
6414
|
+
* @summary Enable manual payment method
|
|
6415
|
+
* @param {string} storeId The ID of the store to enable manual payment for.
|
|
6416
|
+
* @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
|
|
6417
|
+
* @param {*} [options] Override http request option.
|
|
6418
|
+
* @throws {RequiredError}
|
|
6419
|
+
*/
|
|
6420
|
+
enableManualPaymentMethodV1(storeId: string, ecommerceV1PaymentEnableManualPaymentRequest: EcommerceV1PaymentEnableManualPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1PaymentManualPaymentResource>;
|
|
6421
|
+
};
|
|
6422
|
+
/**
|
|
6423
|
+
* EcommercePaymentsApi - object-oriented interface
|
|
6424
|
+
* @export
|
|
6425
|
+
* @class EcommercePaymentsApi
|
|
6426
|
+
* @extends {BaseAPI}
|
|
6427
|
+
*/
|
|
6428
|
+
export declare class EcommercePaymentsApi extends BaseAPI {
|
|
6429
|
+
/**
|
|
6430
|
+
* Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
6431
|
+
* @summary Enable manual payment method
|
|
6432
|
+
* @param {string} storeId The ID of the store to enable manual payment for.
|
|
6433
|
+
* @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
|
|
6434
|
+
* @param {*} [options] Override http request option.
|
|
6435
|
+
* @throws {RequiredError}
|
|
6436
|
+
* @memberof EcommercePaymentsApi
|
|
6437
|
+
*/
|
|
6438
|
+
enableManualPaymentMethodV1(storeId: string, ecommerceV1PaymentEnableManualPaymentRequest: EcommerceV1PaymentEnableManualPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1PaymentManualPaymentResource, any, {}>>;
|
|
6439
|
+
}
|
|
6440
|
+
/**
|
|
6441
|
+
* EcommerceProductsApi - axios parameter creator
|
|
6442
|
+
* @export
|
|
6443
|
+
*/
|
|
6444
|
+
export declare const EcommerceProductsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6445
|
+
/**
|
|
6446
|
+
* Create a published digital product with a single variant and an optional external download link.
|
|
6447
|
+
* @summary Create digital product
|
|
6448
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6449
|
+
* @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
|
|
6450
|
+
* @param {*} [options] Override http request option.
|
|
6451
|
+
* @throws {RequiredError}
|
|
6452
|
+
*/
|
|
6453
|
+
createDigitalProductV1: (storeId: string, ecommerceV1ProductCreateDigitalProductRequest: EcommerceV1ProductCreateDigitalProductRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6454
|
+
/**
|
|
6455
|
+
* Create a published physical product with a single variant priced in the store currency.
|
|
6456
|
+
* @summary Create physical product
|
|
6457
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6458
|
+
* @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
|
|
6459
|
+
* @param {*} [options] Override http request option.
|
|
6460
|
+
* @throws {RequiredError}
|
|
6461
|
+
*/
|
|
6462
|
+
createPhysicalProductV1: (storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6463
|
+
};
|
|
6464
|
+
/**
|
|
6465
|
+
* EcommerceProductsApi - functional programming interface
|
|
6466
|
+
* @export
|
|
6467
|
+
*/
|
|
6468
|
+
export declare const EcommerceProductsApiFp: (configuration?: Configuration) => {
|
|
6469
|
+
/**
|
|
6470
|
+
* Create a published digital product with a single variant and an optional external download link.
|
|
6471
|
+
* @summary Create digital product
|
|
6472
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6473
|
+
* @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
|
|
6474
|
+
* @param {*} [options] Override http request option.
|
|
6475
|
+
* @throws {RequiredError}
|
|
6476
|
+
*/
|
|
6477
|
+
createDigitalProductV1(storeId: string, ecommerceV1ProductCreateDigitalProductRequest: EcommerceV1ProductCreateDigitalProductRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1ProductProductCreationResource>>;
|
|
6478
|
+
/**
|
|
6479
|
+
* Create a published physical product with a single variant priced in the store currency.
|
|
6480
|
+
* @summary Create physical product
|
|
6481
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6482
|
+
* @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
|
|
6483
|
+
* @param {*} [options] Override http request option.
|
|
6484
|
+
* @throws {RequiredError}
|
|
6485
|
+
*/
|
|
6486
|
+
createPhysicalProductV1(storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1ProductProductCreationResource>>;
|
|
6487
|
+
};
|
|
6488
|
+
/**
|
|
6489
|
+
* EcommerceProductsApi - factory interface
|
|
6490
|
+
* @export
|
|
6491
|
+
*/
|
|
6492
|
+
export declare const EcommerceProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6493
|
+
/**
|
|
6494
|
+
* Create a published digital product with a single variant and an optional external download link.
|
|
6495
|
+
* @summary Create digital product
|
|
6496
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6497
|
+
* @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
|
|
6498
|
+
* @param {*} [options] Override http request option.
|
|
6499
|
+
* @throws {RequiredError}
|
|
6500
|
+
*/
|
|
6501
|
+
createDigitalProductV1(storeId: string, ecommerceV1ProductCreateDigitalProductRequest: EcommerceV1ProductCreateDigitalProductRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1ProductProductCreationResource>;
|
|
6502
|
+
/**
|
|
6503
|
+
* Create a published physical product with a single variant priced in the store currency.
|
|
6504
|
+
* @summary Create physical product
|
|
6505
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6506
|
+
* @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
|
|
6507
|
+
* @param {*} [options] Override http request option.
|
|
6508
|
+
* @throws {RequiredError}
|
|
6509
|
+
*/
|
|
6510
|
+
createPhysicalProductV1(storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1ProductProductCreationResource>;
|
|
6511
|
+
};
|
|
6512
|
+
/**
|
|
6513
|
+
* EcommerceProductsApi - object-oriented interface
|
|
6514
|
+
* @export
|
|
6515
|
+
* @class EcommerceProductsApi
|
|
6516
|
+
* @extends {BaseAPI}
|
|
6517
|
+
*/
|
|
6518
|
+
export declare class EcommerceProductsApi extends BaseAPI {
|
|
6519
|
+
/**
|
|
6520
|
+
* Create a published digital product with a single variant and an optional external download link.
|
|
6521
|
+
* @summary Create digital product
|
|
6522
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6523
|
+
* @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
|
|
6524
|
+
* @param {*} [options] Override http request option.
|
|
6525
|
+
* @throws {RequiredError}
|
|
6526
|
+
* @memberof EcommerceProductsApi
|
|
6527
|
+
*/
|
|
6528
|
+
createDigitalProductV1(storeId: string, ecommerceV1ProductCreateDigitalProductRequest: EcommerceV1ProductCreateDigitalProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1ProductProductCreationResource, any, {}>>;
|
|
6529
|
+
/**
|
|
6530
|
+
* Create a published physical product with a single variant priced in the store currency.
|
|
6531
|
+
* @summary Create physical product
|
|
6532
|
+
* @param {string} storeId The ID of the store to create the product in.
|
|
6533
|
+
* @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
|
|
6534
|
+
* @param {*} [options] Override http request option.
|
|
6535
|
+
* @throws {RequiredError}
|
|
6536
|
+
* @memberof EcommerceProductsApi
|
|
6537
|
+
*/
|
|
6538
|
+
createPhysicalProductV1(storeId: string, ecommerceV1ProductCreatePhysicalProductRequest: EcommerceV1ProductCreatePhysicalProductRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1ProductProductCreationResource, any, {}>>;
|
|
6539
|
+
}
|
|
6540
|
+
/**
|
|
6541
|
+
* EcommerceShippingApi - axios parameter creator
|
|
6542
|
+
* @export
|
|
6543
|
+
*/
|
|
6544
|
+
export declare const EcommerceShippingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6545
|
+
/**
|
|
6546
|
+
* Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
|
6547
|
+
* @summary Set store shipping
|
|
6548
|
+
* @param {string} storeId The ID of the store to configure shipping for.
|
|
6549
|
+
* @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
|
|
6550
|
+
* @param {*} [options] Override http request option.
|
|
6551
|
+
* @throws {RequiredError}
|
|
6552
|
+
*/
|
|
6553
|
+
setStoreShippingV1: (storeId: string, ecommerceV1ShippingSetShippingRequest: EcommerceV1ShippingSetShippingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6554
|
+
};
|
|
6555
|
+
/**
|
|
6556
|
+
* EcommerceShippingApi - functional programming interface
|
|
6557
|
+
* @export
|
|
6558
|
+
*/
|
|
6559
|
+
export declare const EcommerceShippingApiFp: (configuration?: Configuration) => {
|
|
6560
|
+
/**
|
|
6561
|
+
* Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
|
6562
|
+
* @summary Set store shipping
|
|
6563
|
+
* @param {string} storeId The ID of the store to configure shipping for.
|
|
6564
|
+
* @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
|
|
6565
|
+
* @param {*} [options] Override http request option.
|
|
6566
|
+
* @throws {RequiredError}
|
|
6567
|
+
*/
|
|
6568
|
+
setStoreShippingV1(storeId: string, ecommerceV1ShippingSetShippingRequest: EcommerceV1ShippingSetShippingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1ShippingShippingResource>>;
|
|
6569
|
+
};
|
|
6570
|
+
/**
|
|
6571
|
+
* EcommerceShippingApi - factory interface
|
|
6572
|
+
* @export
|
|
6573
|
+
*/
|
|
6574
|
+
export declare const EcommerceShippingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6575
|
+
/**
|
|
6576
|
+
* Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
|
6577
|
+
* @summary Set store shipping
|
|
6578
|
+
* @param {string} storeId The ID of the store to configure shipping for.
|
|
6579
|
+
* @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
|
|
6580
|
+
* @param {*} [options] Override http request option.
|
|
6581
|
+
* @throws {RequiredError}
|
|
6582
|
+
*/
|
|
6583
|
+
setStoreShippingV1(storeId: string, ecommerceV1ShippingSetShippingRequest: EcommerceV1ShippingSetShippingRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1ShippingShippingResource>;
|
|
6584
|
+
};
|
|
6585
|
+
/**
|
|
6586
|
+
* EcommerceShippingApi - object-oriented interface
|
|
6587
|
+
* @export
|
|
6588
|
+
* @class EcommerceShippingApi
|
|
6589
|
+
* @extends {BaseAPI}
|
|
6590
|
+
*/
|
|
6591
|
+
export declare class EcommerceShippingApi extends BaseAPI {
|
|
6592
|
+
/**
|
|
6593
|
+
* Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
|
6594
|
+
* @summary Set store shipping
|
|
6595
|
+
* @param {string} storeId The ID of the store to configure shipping for.
|
|
6596
|
+
* @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
|
|
6597
|
+
* @param {*} [options] Override http request option.
|
|
6598
|
+
* @throws {RequiredError}
|
|
6599
|
+
* @memberof EcommerceShippingApi
|
|
6600
|
+
*/
|
|
6601
|
+
setStoreShippingV1(storeId: string, ecommerceV1ShippingSetShippingRequest: EcommerceV1ShippingSetShippingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1ShippingShippingResource, any, {}>>;
|
|
6602
|
+
}
|
|
6035
6603
|
/**
|
|
6036
6604
|
* EcommerceStoresApi - axios parameter creator
|
|
6037
6605
|
* @export
|
|
@@ -6045,6 +6613,14 @@ export declare const EcommerceStoresApiAxiosParamCreator: (configuration?: Confi
|
|
|
6045
6613
|
* @throws {RequiredError}
|
|
6046
6614
|
*/
|
|
6047
6615
|
createStoreV1: (ecommerceV1StoreStoreRequest: EcommerceV1StoreStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6616
|
+
/**
|
|
6617
|
+
* Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
|
|
6618
|
+
* @summary Delete store
|
|
6619
|
+
* @param {string} storeId The ID of the store to delete.
|
|
6620
|
+
* @param {*} [options] Override http request option.
|
|
6621
|
+
* @throws {RequiredError}
|
|
6622
|
+
*/
|
|
6623
|
+
deleteStoreV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6048
6624
|
/**
|
|
6049
6625
|
* Retrieve the stores associated with your account.
|
|
6050
6626
|
* @summary Get stores
|
|
@@ -6067,6 +6643,14 @@ export declare const EcommerceStoresApiFp: (configuration?: Configuration) => {
|
|
|
6067
6643
|
* @throws {RequiredError}
|
|
6068
6644
|
*/
|
|
6069
6645
|
createStoreV1(ecommerceV1StoreStoreRequest: EcommerceV1StoreStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1StoreStoreCreationResource>>;
|
|
6646
|
+
/**
|
|
6647
|
+
* Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
|
|
6648
|
+
* @summary Delete store
|
|
6649
|
+
* @param {string} storeId The ID of the store to delete.
|
|
6650
|
+
* @param {*} [options] Override http request option.
|
|
6651
|
+
* @throws {RequiredError}
|
|
6652
|
+
*/
|
|
6653
|
+
deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1StoreStoreDeleteResource>>;
|
|
6070
6654
|
/**
|
|
6071
6655
|
* Retrieve the stores associated with your account.
|
|
6072
6656
|
* @summary Get stores
|
|
@@ -6089,6 +6673,14 @@ export declare const EcommerceStoresApiFactory: (configuration?: Configuration,
|
|
|
6089
6673
|
* @throws {RequiredError}
|
|
6090
6674
|
*/
|
|
6091
6675
|
createStoreV1(ecommerceV1StoreStoreRequest: EcommerceV1StoreStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1StoreStoreCreationResource>;
|
|
6676
|
+
/**
|
|
6677
|
+
* Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
|
|
6678
|
+
* @summary Delete store
|
|
6679
|
+
* @param {string} storeId The ID of the store to delete.
|
|
6680
|
+
* @param {*} [options] Override http request option.
|
|
6681
|
+
* @throws {RequiredError}
|
|
6682
|
+
*/
|
|
6683
|
+
deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1StoreStoreDeleteResource>;
|
|
6092
6684
|
/**
|
|
6093
6685
|
* Retrieve the stores associated with your account.
|
|
6094
6686
|
* @summary Get stores
|
|
@@ -6114,6 +6706,15 @@ export declare class EcommerceStoresApi extends BaseAPI {
|
|
|
6114
6706
|
* @memberof EcommerceStoresApi
|
|
6115
6707
|
*/
|
|
6116
6708
|
createStoreV1(ecommerceV1StoreStoreRequest: EcommerceV1StoreStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1StoreStoreCreationResource, any, {}>>;
|
|
6709
|
+
/**
|
|
6710
|
+
* Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
|
|
6711
|
+
* @summary Delete store
|
|
6712
|
+
* @param {string} storeId The ID of the store to delete.
|
|
6713
|
+
* @param {*} [options] Override http request option.
|
|
6714
|
+
* @throws {RequiredError}
|
|
6715
|
+
* @memberof EcommerceStoresApi
|
|
6716
|
+
*/
|
|
6717
|
+
deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1StoreStoreDeleteResource, any, {}>>;
|
|
6117
6718
|
/**
|
|
6118
6719
|
* Retrieve the stores associated with your account.
|
|
6119
6720
|
* @summary Get stores
|
|
@@ -6124,6 +6725,98 @@ export declare class EcommerceStoresApi extends BaseAPI {
|
|
|
6124
6725
|
*/
|
|
6125
6726
|
getStoresV1(page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceGetStoresV1200Response, any, {}>>;
|
|
6126
6727
|
}
|
|
6728
|
+
/**
|
|
6729
|
+
* HorizonsWebsitesApi - axios parameter creator
|
|
6730
|
+
* @export
|
|
6731
|
+
*/
|
|
6732
|
+
export declare const HorizonsWebsitesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6733
|
+
/**
|
|
6734
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
6735
|
+
* @summary Create website
|
|
6736
|
+
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
6737
|
+
* @param {*} [options] Override http request option.
|
|
6738
|
+
* @throws {RequiredError}
|
|
6739
|
+
*/
|
|
6740
|
+
createWebsiteV1: (horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6741
|
+
/**
|
|
6742
|
+
* Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
|
|
6743
|
+
* @summary Get website
|
|
6744
|
+
* @param {string} websiteId The website ID
|
|
6745
|
+
* @param {*} [options] Override http request option.
|
|
6746
|
+
* @throws {RequiredError}
|
|
6747
|
+
*/
|
|
6748
|
+
getWebsiteV1: (websiteId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6749
|
+
};
|
|
6750
|
+
/**
|
|
6751
|
+
* HorizonsWebsitesApi - functional programming interface
|
|
6752
|
+
* @export
|
|
6753
|
+
*/
|
|
6754
|
+
export declare const HorizonsWebsitesApiFp: (configuration?: Configuration) => {
|
|
6755
|
+
/**
|
|
6756
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
6757
|
+
* @summary Create website
|
|
6758
|
+
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
6759
|
+
* @param {*} [options] Override http request option.
|
|
6760
|
+
* @throws {RequiredError}
|
|
6761
|
+
*/
|
|
6762
|
+
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>>;
|
|
6763
|
+
/**
|
|
6764
|
+
* Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
|
|
6765
|
+
* @summary Get website
|
|
6766
|
+
* @param {string} websiteId The website ID
|
|
6767
|
+
* @param {*} [options] Override http request option.
|
|
6768
|
+
* @throws {RequiredError}
|
|
6769
|
+
*/
|
|
6770
|
+
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>>;
|
|
6771
|
+
};
|
|
6772
|
+
/**
|
|
6773
|
+
* HorizonsWebsitesApi - factory interface
|
|
6774
|
+
* @export
|
|
6775
|
+
*/
|
|
6776
|
+
export declare const HorizonsWebsitesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6777
|
+
/**
|
|
6778
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
6779
|
+
* @summary Create website
|
|
6780
|
+
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
6781
|
+
* @param {*} [options] Override http request option.
|
|
6782
|
+
* @throws {RequiredError}
|
|
6783
|
+
*/
|
|
6784
|
+
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesCreatedWebsiteResource>;
|
|
6785
|
+
/**
|
|
6786
|
+
* Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
|
|
6787
|
+
* @summary Get website
|
|
6788
|
+
* @param {string} websiteId The website ID
|
|
6789
|
+
* @param {*} [options] Override http request option.
|
|
6790
|
+
* @throws {RequiredError}
|
|
6791
|
+
*/
|
|
6792
|
+
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): AxiosPromise<HorizonsV1WebsitesWebsiteUrlResource>;
|
|
6793
|
+
};
|
|
6794
|
+
/**
|
|
6795
|
+
* HorizonsWebsitesApi - object-oriented interface
|
|
6796
|
+
* @export
|
|
6797
|
+
* @class HorizonsWebsitesApi
|
|
6798
|
+
* @extends {BaseAPI}
|
|
6799
|
+
*/
|
|
6800
|
+
export declare class HorizonsWebsitesApi extends BaseAPI {
|
|
6801
|
+
/**
|
|
6802
|
+
* Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
|
|
6803
|
+
* @summary Create website
|
|
6804
|
+
* @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
|
|
6805
|
+
* @param {*} [options] Override http request option.
|
|
6806
|
+
* @throws {RequiredError}
|
|
6807
|
+
* @memberof HorizonsWebsitesApi
|
|
6808
|
+
*/
|
|
6809
|
+
createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest: HorizonsV1WebsitesCreateWebsiteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesCreatedWebsiteResource, any, {}>>;
|
|
6810
|
+
/**
|
|
6811
|
+
* Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
|
|
6812
|
+
* @summary Get website
|
|
6813
|
+
* @param {string} websiteId The website ID
|
|
6814
|
+
* @param {*} [options] Override http request option.
|
|
6815
|
+
* @throws {RequiredError}
|
|
6816
|
+
* @memberof HorizonsWebsitesApi
|
|
6817
|
+
*/
|
|
6818
|
+
getWebsiteV1(websiteId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HorizonsV1WebsitesWebsiteUrlResource, any, {}>>;
|
|
6819
|
+
}
|
|
6127
6820
|
/**
|
|
6128
6821
|
* HostingDatabasesApi - axios parameter creator
|
|
6129
6822
|
* @export
|
|
@@ -7545,6 +8238,17 @@ export declare const ReachSegmentsApiAxiosParamCreator: (configuration?: Configu
|
|
|
7545
8238
|
* @throws {RequiredError}
|
|
7546
8239
|
*/
|
|
7547
8240
|
getSegmentDetailsV1: (segmentUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8241
|
+
/**
|
|
8242
|
+
* Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
|
|
8243
|
+
* @summary List profile segment contacts
|
|
8244
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
8245
|
+
* @param {string} segmentUuid Segment uuid parameter
|
|
8246
|
+
* @param {number} [page] Page number
|
|
8247
|
+
* @param {number} [perPage] Number of items per page
|
|
8248
|
+
* @param {*} [options] Override http request option.
|
|
8249
|
+
* @throws {RequiredError}
|
|
8250
|
+
*/
|
|
8251
|
+
listProfileSegmentContactsV1: (profileUuid: string, segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7548
8252
|
/**
|
|
7549
8253
|
* Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
|
|
7550
8254
|
* @summary List segment contacts
|
|
@@ -7584,6 +8288,17 @@ export declare const ReachSegmentsApiFp: (configuration?: Configuration) => {
|
|
|
7584
8288
|
* @throws {RequiredError}
|
|
7585
8289
|
*/
|
|
7586
8290
|
getSegmentDetailsV1(segmentUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachV1ContactsSegmentsSegmentResource>>;
|
|
8291
|
+
/**
|
|
8292
|
+
* Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
|
|
8293
|
+
* @summary List profile segment contacts
|
|
8294
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
8295
|
+
* @param {string} segmentUuid Segment uuid parameter
|
|
8296
|
+
* @param {number} [page] Page number
|
|
8297
|
+
* @param {number} [perPage] Number of items per page
|
|
8298
|
+
* @param {*} [options] Override http request option.
|
|
8299
|
+
* @throws {RequiredError}
|
|
8300
|
+
*/
|
|
8301
|
+
listProfileSegmentContactsV1(profileUuid: string, segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListProfileSegmentContactsV1200Response>>;
|
|
7587
8302
|
/**
|
|
7588
8303
|
* Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
|
|
7589
8304
|
* @summary List segment contacts
|
|
@@ -7593,7 +8308,7 @@ export declare const ReachSegmentsApiFp: (configuration?: Configuration) => {
|
|
|
7593
8308
|
* @param {*} [options] Override http request option.
|
|
7594
8309
|
* @throws {RequiredError}
|
|
7595
8310
|
*/
|
|
7596
|
-
listSegmentContactsV1(segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
8311
|
+
listSegmentContactsV1(segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReachListProfileSegmentContactsV1200Response>>;
|
|
7597
8312
|
/**
|
|
7598
8313
|
* Get a list of all contact segments. This endpoint returns a list of contact segments that can be used to organize contacts.
|
|
7599
8314
|
* @summary List segments
|
|
@@ -7623,6 +8338,17 @@ export declare const ReachSegmentsApiFactory: (configuration?: Configuration, ba
|
|
|
7623
8338
|
* @throws {RequiredError}
|
|
7624
8339
|
*/
|
|
7625
8340
|
getSegmentDetailsV1(segmentUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<ReachV1ContactsSegmentsSegmentResource>;
|
|
8341
|
+
/**
|
|
8342
|
+
* Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
|
|
8343
|
+
* @summary List profile segment contacts
|
|
8344
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
8345
|
+
* @param {string} segmentUuid Segment uuid parameter
|
|
8346
|
+
* @param {number} [page] Page number
|
|
8347
|
+
* @param {number} [perPage] Number of items per page
|
|
8348
|
+
* @param {*} [options] Override http request option.
|
|
8349
|
+
* @throws {RequiredError}
|
|
8350
|
+
*/
|
|
8351
|
+
listProfileSegmentContactsV1(profileUuid: string, segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListProfileSegmentContactsV1200Response>;
|
|
7626
8352
|
/**
|
|
7627
8353
|
* Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
|
|
7628
8354
|
* @summary List segment contacts
|
|
@@ -7632,7 +8358,7 @@ export declare const ReachSegmentsApiFactory: (configuration?: Configuration, ba
|
|
|
7632
8358
|
* @param {*} [options] Override http request option.
|
|
7633
8359
|
* @throws {RequiredError}
|
|
7634
8360
|
*/
|
|
7635
|
-
listSegmentContactsV1(segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
8361
|
+
listSegmentContactsV1(segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<ReachListProfileSegmentContactsV1200Response>;
|
|
7636
8362
|
/**
|
|
7637
8363
|
* Get a list of all contact segments. This endpoint returns a list of contact segments that can be used to organize contacts.
|
|
7638
8364
|
* @summary List segments
|
|
@@ -7666,6 +8392,18 @@ export declare class ReachSegmentsApi extends BaseAPI {
|
|
|
7666
8392
|
* @memberof ReachSegmentsApi
|
|
7667
8393
|
*/
|
|
7668
8394
|
getSegmentDetailsV1(segmentUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachV1ContactsSegmentsSegmentResource, any, {}>>;
|
|
8395
|
+
/**
|
|
8396
|
+
* Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
|
|
8397
|
+
* @summary List profile segment contacts
|
|
8398
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
8399
|
+
* @param {string} segmentUuid Segment uuid parameter
|
|
8400
|
+
* @param {number} [page] Page number
|
|
8401
|
+
* @param {number} [perPage] Number of items per page
|
|
8402
|
+
* @param {*} [options] Override http request option.
|
|
8403
|
+
* @throws {RequiredError}
|
|
8404
|
+
* @memberof ReachSegmentsApi
|
|
8405
|
+
*/
|
|
8406
|
+
listProfileSegmentContactsV1(profileUuid: string, segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListProfileSegmentContactsV1200Response, any, {}>>;
|
|
7669
8407
|
/**
|
|
7670
8408
|
* Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
|
|
7671
8409
|
* @summary List segment contacts
|
|
@@ -7676,7 +8414,7 @@ export declare class ReachSegmentsApi extends BaseAPI {
|
|
|
7676
8414
|
* @throws {RequiredError}
|
|
7677
8415
|
* @memberof ReachSegmentsApi
|
|
7678
8416
|
*/
|
|
7679
|
-
listSegmentContactsV1(segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
8417
|
+
listSegmentContactsV1(segmentUuid: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReachListProfileSegmentContactsV1200Response, any, {}>>;
|
|
7680
8418
|
/**
|
|
7681
8419
|
* Get a list of all contact segments. This endpoint returns a list of contact segments that can be used to organize contacts.
|
|
7682
8420
|
* @summary List segments
|