@zapier/zapier-sdk-core 0.9.1 → 0.9.2
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +23 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/v0/schemas/actions.cjs +12 -1
- package/dist/v0/schemas/actions.cjs.map +1 -1
- package/dist/v0/schemas/actions.d.cts +12 -1
- package/dist/v0/schemas/actions.d.ts +12 -1
- package/dist/v0/schemas/actions.js +12 -1
- package/dist/v0/schemas/actions.js.map +1 -1
- package/dist/v0/schemas/apps.cjs +7 -1
- package/dist/v0/schemas/apps.cjs.map +1 -1
- package/dist/v0/schemas/apps.d.cts +2 -0
- package/dist/v0/schemas/apps.d.ts +2 -0
- package/dist/v0/schemas/apps.js +7 -1
- package/dist/v0/schemas/apps.js.map +1 -1
- package/dist/v0/schemas/authentications.cjs +23 -3
- package/dist/v0/schemas/authentications.cjs.map +1 -1
- package/dist/v0/schemas/authentications.d.cts +5 -0
- package/dist/v0/schemas/authentications.d.ts +5 -0
- package/dist/v0/schemas/authentications.js +23 -3
- package/dist/v0/schemas/authentications.js.map +1 -1
- package/dist/v0/schemas/client-credentials.cjs +5 -1
- package/dist/v0/schemas/client-credentials.cjs.map +1 -1
- package/dist/v0/schemas/client-credentials.d.cts +1 -0
- package/dist/v0/schemas/client-credentials.d.ts +1 -0
- package/dist/v0/schemas/client-credentials.js +5 -1
- package/dist/v0/schemas/client-credentials.js.map +1 -1
- package/openapi.yaml +94 -11
- package/package.json +1 -1
package/openapi.yaml
CHANGED
|
@@ -1305,6 +1305,15 @@ paths:
|
|
|
1305
1305
|
requiredScopes:
|
|
1306
1306
|
- credentials
|
|
1307
1307
|
parameters:
|
|
1308
|
+
- schema:
|
|
1309
|
+
type: integer
|
|
1310
|
+
minimum: 1
|
|
1311
|
+
maximum: 100
|
|
1312
|
+
description: "Deprecated: Use page_size instead. Number of items per page (default: 100, max: 100)"
|
|
1313
|
+
required: false
|
|
1314
|
+
description: "Deprecated: Use page_size instead. Number of items per page (default: 100, max: 100)"
|
|
1315
|
+
name: pageSize
|
|
1316
|
+
in: query
|
|
1308
1317
|
- schema:
|
|
1309
1318
|
type: integer
|
|
1310
1319
|
minimum: 1
|
|
@@ -1312,7 +1321,7 @@ paths:
|
|
|
1312
1321
|
description: "Number of items per page (default: 100, max: 100)"
|
|
1313
1322
|
required: false
|
|
1314
1323
|
description: "Number of items per page (default: 100, max: 100)"
|
|
1315
|
-
name:
|
|
1324
|
+
name: page_size
|
|
1316
1325
|
in: query
|
|
1317
1326
|
- schema:
|
|
1318
1327
|
type:
|
|
@@ -1544,12 +1553,35 @@ paths:
|
|
|
1544
1553
|
operationId: v0_list_actions
|
|
1545
1554
|
security: []
|
|
1546
1555
|
parameters:
|
|
1556
|
+
- schema:
|
|
1557
|
+
type: string
|
|
1558
|
+
description: "Deprecated: Use app_key instead. App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')"
|
|
1559
|
+
required: false
|
|
1560
|
+
description: "Deprecated: Use app_key instead. App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')"
|
|
1561
|
+
name: appKey
|
|
1562
|
+
in: query
|
|
1547
1563
|
- schema:
|
|
1548
1564
|
type: string
|
|
1549
1565
|
description: App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')
|
|
1550
|
-
required:
|
|
1566
|
+
required: false
|
|
1551
1567
|
description: App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')
|
|
1552
|
-
name:
|
|
1568
|
+
name: app_key
|
|
1569
|
+
in: query
|
|
1570
|
+
- schema:
|
|
1571
|
+
type: string
|
|
1572
|
+
enum:
|
|
1573
|
+
- filter
|
|
1574
|
+
- read
|
|
1575
|
+
- read_bulk
|
|
1576
|
+
- run
|
|
1577
|
+
- search
|
|
1578
|
+
- search_and_write
|
|
1579
|
+
- search_or_write
|
|
1580
|
+
- write
|
|
1581
|
+
description: "Deprecated: Use action_type instead. Filter actions by type (e.g., 'read', 'write', 'search')"
|
|
1582
|
+
required: false
|
|
1583
|
+
description: "Deprecated: Use action_type instead. Filter actions by type (e.g., 'read', 'write', 'search')"
|
|
1584
|
+
name: actionType
|
|
1553
1585
|
in: query
|
|
1554
1586
|
- schema:
|
|
1555
1587
|
type: string
|
|
@@ -1565,7 +1597,7 @@ paths:
|
|
|
1565
1597
|
description: Filter actions by type (e.g., 'read', 'write', 'search')
|
|
1566
1598
|
required: false
|
|
1567
1599
|
description: Filter actions by type (e.g., 'read', 'write', 'search')
|
|
1568
|
-
name:
|
|
1600
|
+
name: action_type
|
|
1569
1601
|
in: query
|
|
1570
1602
|
responses:
|
|
1571
1603
|
"200":
|
|
@@ -1605,12 +1637,19 @@ paths:
|
|
|
1605
1637
|
operationId: v0_list_apps
|
|
1606
1638
|
security: []
|
|
1607
1639
|
parameters:
|
|
1640
|
+
- schema:
|
|
1641
|
+
type: string
|
|
1642
|
+
description: "Deprecated: Use app_keys instead. Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
|
|
1643
|
+
required: false
|
|
1644
|
+
description: "Deprecated: Use app_keys instead. Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
|
|
1645
|
+
name: appKeys
|
|
1646
|
+
in: query
|
|
1608
1647
|
- schema:
|
|
1609
1648
|
type: string
|
|
1610
1649
|
description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
|
|
1611
1650
|
required: false
|
|
1612
1651
|
description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
|
|
1613
|
-
name:
|
|
1652
|
+
name: app_keys
|
|
1614
1653
|
in: query
|
|
1615
1654
|
- schema:
|
|
1616
1655
|
type: string
|
|
@@ -1619,13 +1658,21 @@ paths:
|
|
|
1619
1658
|
description: Search term to filter apps by name
|
|
1620
1659
|
name: search
|
|
1621
1660
|
in: query
|
|
1661
|
+
- schema:
|
|
1662
|
+
type: number
|
|
1663
|
+
minimum: 1
|
|
1664
|
+
description: "Deprecated: Use page_size instead. Number of apps per page"
|
|
1665
|
+
required: false
|
|
1666
|
+
description: "Deprecated: Use page_size instead. Number of apps per page"
|
|
1667
|
+
name: pageSize
|
|
1668
|
+
in: query
|
|
1622
1669
|
- schema:
|
|
1623
1670
|
type: number
|
|
1624
1671
|
minimum: 1
|
|
1625
1672
|
description: Number of apps per page
|
|
1626
1673
|
required: false
|
|
1627
1674
|
description: Number of apps per page
|
|
1628
|
-
name:
|
|
1675
|
+
name: page_size
|
|
1629
1676
|
in: query
|
|
1630
1677
|
- schema:
|
|
1631
1678
|
type: string
|
|
@@ -1674,19 +1721,33 @@ paths:
|
|
|
1674
1721
|
security:
|
|
1675
1722
|
- userJwt: []
|
|
1676
1723
|
parameters:
|
|
1724
|
+
- schema:
|
|
1725
|
+
type: string
|
|
1726
|
+
description: "Deprecated: Use app_key instead. Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')"
|
|
1727
|
+
required: false
|
|
1728
|
+
description: "Deprecated: Use app_key instead. Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')"
|
|
1729
|
+
name: appKey
|
|
1730
|
+
in: query
|
|
1677
1731
|
- schema:
|
|
1678
1732
|
type: string
|
|
1679
1733
|
description: Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')
|
|
1680
1734
|
required: false
|
|
1681
1735
|
description: Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')
|
|
1682
|
-
name:
|
|
1736
|
+
name: app_key
|
|
1737
|
+
in: query
|
|
1738
|
+
- schema:
|
|
1739
|
+
type: string
|
|
1740
|
+
description: "Deprecated: Use authentication_ids instead. Comma-separated list of authentication IDs to filter by"
|
|
1741
|
+
required: false
|
|
1742
|
+
description: "Deprecated: Use authentication_ids instead. Comma-separated list of authentication IDs to filter by"
|
|
1743
|
+
name: authenticationIds
|
|
1683
1744
|
in: query
|
|
1684
1745
|
- schema:
|
|
1685
1746
|
type: string
|
|
1686
1747
|
description: Comma-separated list of authentication IDs to filter by
|
|
1687
1748
|
required: false
|
|
1688
1749
|
description: Comma-separated list of authentication IDs to filter by
|
|
1689
|
-
name:
|
|
1750
|
+
name: authentication_ids
|
|
1690
1751
|
in: query
|
|
1691
1752
|
- schema:
|
|
1692
1753
|
type: string
|
|
@@ -1702,12 +1763,19 @@ paths:
|
|
|
1702
1763
|
description: Filter authentications by exact title match (searches first, then filters locally)
|
|
1703
1764
|
name: title
|
|
1704
1765
|
in: query
|
|
1766
|
+
- schema:
|
|
1767
|
+
type: string
|
|
1768
|
+
description: "Deprecated: Use account_id instead. Filter authentications by account ID"
|
|
1769
|
+
required: false
|
|
1770
|
+
description: "Deprecated: Use account_id instead. Filter authentications by account ID"
|
|
1771
|
+
name: accountId
|
|
1772
|
+
in: query
|
|
1705
1773
|
- schema:
|
|
1706
1774
|
type: string
|
|
1707
1775
|
description: Filter authentications by account ID
|
|
1708
1776
|
required: false
|
|
1709
1777
|
description: Filter authentications by account ID
|
|
1710
|
-
name:
|
|
1778
|
+
name: account_id
|
|
1711
1779
|
in: query
|
|
1712
1780
|
- schema:
|
|
1713
1781
|
type: string
|
|
@@ -1716,12 +1784,27 @@ paths:
|
|
|
1716
1784
|
description: Filter by owner, 'me' for your own authentications or a specific user ID
|
|
1717
1785
|
name: owner
|
|
1718
1786
|
in: query
|
|
1787
|
+
- schema:
|
|
1788
|
+
type: boolean
|
|
1789
|
+
description: "Deprecated: Use is_expired instead. Filter by expired status (true = expired only, false = non-expired only)"
|
|
1790
|
+
required: false
|
|
1791
|
+
description: "Deprecated: Use is_expired instead. Filter by expired status (true = expired only, false = non-expired only)"
|
|
1792
|
+
name: isExpired
|
|
1793
|
+
in: query
|
|
1719
1794
|
- schema:
|
|
1720
1795
|
type: boolean
|
|
1721
1796
|
description: Filter by expired status (true = expired only, false = non-expired only)
|
|
1722
1797
|
required: false
|
|
1723
1798
|
description: Filter by expired status (true = expired only, false = non-expired only)
|
|
1724
|
-
name:
|
|
1799
|
+
name: is_expired
|
|
1800
|
+
in: query
|
|
1801
|
+
- schema:
|
|
1802
|
+
type: number
|
|
1803
|
+
minimum: 1
|
|
1804
|
+
description: "Deprecated: Use page_size instead. Number of authentications per page"
|
|
1805
|
+
required: false
|
|
1806
|
+
description: "Deprecated: Use page_size instead. Number of authentications per page"
|
|
1807
|
+
name: pageSize
|
|
1725
1808
|
in: query
|
|
1726
1809
|
- schema:
|
|
1727
1810
|
type: number
|
|
@@ -1729,7 +1812,7 @@ paths:
|
|
|
1729
1812
|
description: Number of authentications per page
|
|
1730
1813
|
required: false
|
|
1731
1814
|
description: Number of authentications per page
|
|
1732
|
-
name:
|
|
1815
|
+
name: page_size
|
|
1733
1816
|
in: query
|
|
1734
1817
|
- schema:
|
|
1735
1818
|
type: string
|