@zapier/zapier-sdk-core 0.9.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.yaml CHANGED
@@ -241,6 +241,10 @@ components:
241
241
  - external
242
242
  minItems: 1
243
243
  description: List of OAuth scopes that this application will be allowed to request
244
+ policy:
245
+ type: object
246
+ additionalProperties: {}
247
+ description: Policy document to attach to the credentials
244
248
  required:
245
249
  - name
246
250
  - allowed_scopes
@@ -1305,6 +1309,15 @@ paths:
1305
1309
  requiredScopes:
1306
1310
  - credentials
1307
1311
  parameters:
1312
+ - schema:
1313
+ type: integer
1314
+ minimum: 1
1315
+ maximum: 100
1316
+ description: "Deprecated: Use page_size instead. Number of items per page (default: 100, max: 100)"
1317
+ required: false
1318
+ description: "Deprecated: Use page_size instead. Number of items per page (default: 100, max: 100)"
1319
+ name: pageSize
1320
+ in: query
1308
1321
  - schema:
1309
1322
  type: integer
1310
1323
  minimum: 1
@@ -1312,7 +1325,7 @@ paths:
1312
1325
  description: "Number of items per page (default: 100, max: 100)"
1313
1326
  required: false
1314
1327
  description: "Number of items per page (default: 100, max: 100)"
1315
- name: pageSize
1328
+ name: page_size
1316
1329
  in: query
1317
1330
  - schema:
1318
1331
  type:
@@ -1544,12 +1557,35 @@ paths:
1544
1557
  operationId: v0_list_actions
1545
1558
  security: []
1546
1559
  parameters:
1560
+ - schema:
1561
+ type: string
1562
+ description: "Deprecated: Use app_key instead. App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')"
1563
+ required: false
1564
+ description: "Deprecated: Use app_key instead. App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')"
1565
+ name: appKey
1566
+ in: query
1547
1567
  - schema:
1548
1568
  type: string
1549
1569
  description: App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')
1550
- required: true
1570
+ required: false
1551
1571
  description: App key to list actions for (e.g., 'SlackCLIAPI@1.21.1' or 'SlackCLIAPI')
1552
- name: appKey
1572
+ name: app_key
1573
+ in: query
1574
+ - schema:
1575
+ type: string
1576
+ enum:
1577
+ - filter
1578
+ - read
1579
+ - read_bulk
1580
+ - run
1581
+ - search
1582
+ - search_and_write
1583
+ - search_or_write
1584
+ - write
1585
+ description: "Deprecated: Use action_type instead. Filter actions by type (e.g., 'read', 'write', 'search')"
1586
+ required: false
1587
+ description: "Deprecated: Use action_type instead. Filter actions by type (e.g., 'read', 'write', 'search')"
1588
+ name: actionType
1553
1589
  in: query
1554
1590
  - schema:
1555
1591
  type: string
@@ -1565,7 +1601,7 @@ paths:
1565
1601
  description: Filter actions by type (e.g., 'read', 'write', 'search')
1566
1602
  required: false
1567
1603
  description: Filter actions by type (e.g., 'read', 'write', 'search')
1568
- name: actionType
1604
+ name: action_type
1569
1605
  in: query
1570
1606
  responses:
1571
1607
  "200":
@@ -1605,12 +1641,19 @@ paths:
1605
1641
  operationId: v0_list_apps
1606
1642
  security: []
1607
1643
  parameters:
1644
+ - schema:
1645
+ type: string
1646
+ description: "Deprecated: Use app_keys instead. Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
1647
+ required: false
1648
+ description: "Deprecated: Use app_keys instead. Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
1649
+ name: appKeys
1650
+ in: query
1608
1651
  - schema:
1609
1652
  type: string
1610
1653
  description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
1611
1654
  required: false
1612
1655
  description: Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')
1613
- name: appKeys
1656
+ name: app_keys
1614
1657
  in: query
1615
1658
  - schema:
1616
1659
  type: string
@@ -1619,13 +1662,21 @@ paths:
1619
1662
  description: Search term to filter apps by name
1620
1663
  name: search
1621
1664
  in: query
1665
+ - schema:
1666
+ type: number
1667
+ minimum: 1
1668
+ description: "Deprecated: Use page_size instead. Number of apps per page"
1669
+ required: false
1670
+ description: "Deprecated: Use page_size instead. Number of apps per page"
1671
+ name: pageSize
1672
+ in: query
1622
1673
  - schema:
1623
1674
  type: number
1624
1675
  minimum: 1
1625
1676
  description: Number of apps per page
1626
1677
  required: false
1627
1678
  description: Number of apps per page
1628
- name: pageSize
1679
+ name: page_size
1629
1680
  in: query
1630
1681
  - schema:
1631
1682
  type: string
@@ -1674,19 +1725,33 @@ paths:
1674
1725
  security:
1675
1726
  - userJwt: []
1676
1727
  parameters:
1728
+ - schema:
1729
+ type: string
1730
+ description: "Deprecated: Use app_key instead. Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')"
1731
+ required: false
1732
+ description: "Deprecated: Use app_key instead. Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')"
1733
+ name: appKey
1734
+ in: query
1677
1735
  - schema:
1678
1736
  type: string
1679
1737
  description: Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')
1680
1738
  required: false
1681
1739
  description: Filter authentications by app key (e.g., 'SlackCLIAPI' or slug like 'github')
1682
- name: appKey
1740
+ name: app_key
1741
+ in: query
1742
+ - schema:
1743
+ type: string
1744
+ description: "Deprecated: Use authentication_ids instead. Comma-separated list of authentication IDs to filter by"
1745
+ required: false
1746
+ description: "Deprecated: Use authentication_ids instead. Comma-separated list of authentication IDs to filter by"
1747
+ name: authenticationIds
1683
1748
  in: query
1684
1749
  - schema:
1685
1750
  type: string
1686
1751
  description: Comma-separated list of authentication IDs to filter by
1687
1752
  required: false
1688
1753
  description: Comma-separated list of authentication IDs to filter by
1689
- name: authenticationIds
1754
+ name: authentication_ids
1690
1755
  in: query
1691
1756
  - schema:
1692
1757
  type: string
@@ -1702,12 +1767,19 @@ paths:
1702
1767
  description: Filter authentications by exact title match (searches first, then filters locally)
1703
1768
  name: title
1704
1769
  in: query
1770
+ - schema:
1771
+ type: string
1772
+ description: "Deprecated: Use account_id instead. Filter authentications by account ID"
1773
+ required: false
1774
+ description: "Deprecated: Use account_id instead. Filter authentications by account ID"
1775
+ name: accountId
1776
+ in: query
1705
1777
  - schema:
1706
1778
  type: string
1707
1779
  description: Filter authentications by account ID
1708
1780
  required: false
1709
1781
  description: Filter authentications by account ID
1710
- name: accountId
1782
+ name: account_id
1711
1783
  in: query
1712
1784
  - schema:
1713
1785
  type: string
@@ -1716,12 +1788,27 @@ paths:
1716
1788
  description: Filter by owner, 'me' for your own authentications or a specific user ID
1717
1789
  name: owner
1718
1790
  in: query
1791
+ - schema:
1792
+ type: boolean
1793
+ description: "Deprecated: Use is_expired instead. Filter by expired status (true = expired only, false = non-expired only)"
1794
+ required: false
1795
+ description: "Deprecated: Use is_expired instead. Filter by expired status (true = expired only, false = non-expired only)"
1796
+ name: isExpired
1797
+ in: query
1719
1798
  - schema:
1720
1799
  type: boolean
1721
1800
  description: Filter by expired status (true = expired only, false = non-expired only)
1722
1801
  required: false
1723
1802
  description: Filter by expired status (true = expired only, false = non-expired only)
1724
- name: isExpired
1803
+ name: is_expired
1804
+ in: query
1805
+ - schema:
1806
+ type: number
1807
+ minimum: 1
1808
+ description: "Deprecated: Use page_size instead. Number of authentications per page"
1809
+ required: false
1810
+ description: "Deprecated: Use page_size instead. Number of authentications per page"
1811
+ name: pageSize
1725
1812
  in: query
1726
1813
  - schema:
1727
1814
  type: number
@@ -1729,7 +1816,7 @@ paths:
1729
1816
  description: Number of authentications per page
1730
1817
  required: false
1731
1818
  description: Number of authentications per page
1732
- name: pageSize
1819
+ name: page_size
1733
1820
  in: query
1734
1821
  - schema:
1735
1822
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zapier/zapier-sdk-core",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "Core schemas and TypeScript types for the Zapier SDK API",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Zapier, Inc.",