mailmeteor 0.0.50 → 0.0.52

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/dist/index.mjs CHANGED
@@ -1474,6 +1474,7 @@ class Contacts extends HeyApiClient {
1474
1474
  const params = buildClientParams([contact_id, parameters], [{ in: 'path', key: 'contact_id' }, { args: [
1475
1475
  { in: 'body', key: 'blocked' },
1476
1476
  { in: 'body', key: 'unsubscribed' },
1477
+ { in: 'body', key: 'consent' },
1477
1478
  { in: 'body', key: 'contact_lists' },
1478
1479
  { in: 'body', key: 'properties' },
1479
1480
  { in: 'body', key: 'notes' },
@@ -1595,12 +1596,14 @@ class PipelineConversations extends HeyApiClient {
1595
1596
  { in: 'query', key: 'thread_id' },
1596
1597
  { in: 'query', key: 'last_activity_after' },
1597
1598
  { in: 'query', key: 'last_activity_before' },
1599
+ { in: 'query', key: 'followups' },
1598
1600
  { in: 'query', key: 'limit' },
1599
1601
  { in: 'query', key: 'starting_after' },
1600
1602
  { in: 'query', key: 'ending_before' },
1601
1603
  { in: 'query', key: 'include_metrics' }
1602
1604
  ] }]);
1603
1605
  return (options?.client ?? this.client).get({
1606
+ querySerializer: { parameters: { followups: { object: { style: 'form' } } } },
1604
1607
  responseStyle: 'data',
1605
1608
  url: '/pipeline_conversations',
1606
1609
  ...options,
@@ -1614,9 +1617,12 @@ class PipelineConversations extends HeyApiClient {
1614
1617
  { in: 'query', key: 'campaign' },
1615
1618
  { in: 'query', key: 'last_activity_after' },
1616
1619
  { in: 'query', key: 'last_activity_before' },
1620
+ { in: 'query', key: 'followups' },
1621
+ { in: 'query', key: 'is_read' },
1617
1622
  { in: 'query', key: 'group_by' }
1618
1623
  ] }]);
1619
1624
  return (options?.client ?? this.client).get({
1625
+ querySerializer: { parameters: { followups: { object: { style: 'form' } } } },
1620
1626
  responseStyle: 'data',
1621
1627
  url: '/pipeline_conversations/count',
1622
1628
  ...options,
@@ -1739,6 +1745,20 @@ class Integrations extends HeyApiClient {
1739
1745
  ...params
1740
1746
  });
1741
1747
  }
1748
+ createAccount(integration_id, parameters, options) {
1749
+ const params = buildClientParams([integration_id, parameters], [{ in: 'path', key: 'integration_id' }, { args: [{ in: 'body', key: 'email' }, { in: 'body', key: 'credentials' }] }]);
1750
+ return (options?.client ?? this.client).post({
1751
+ responseStyle: 'data',
1752
+ url: '/integrations/{integration_id}/accounts',
1753
+ ...options,
1754
+ ...params,
1755
+ headers: {
1756
+ 'Content-Type': 'application/json',
1757
+ ...options?.headers,
1758
+ ...params.headers
1759
+ }
1760
+ });
1761
+ }
1742
1762
  deleteAccount(integration_id, account_id, options) {
1743
1763
  const params = buildClientParams([integration_id, account_id], [{ in: 'path', key: 'integration_id' }, { in: 'path', key: 'account_id' }]);
1744
1764
  return (options?.client ?? this.client).delete({