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