mailmeteor 0.0.51 → 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
@@ -1747,6 +1747,20 @@ class Integrations extends HeyApiClient {
1747
1747
  ...params
1748
1748
  });
1749
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
+ }
1750
1764
  deleteAccount(integration_id, account_id, options) {
1751
1765
  const params = buildClientParams([integration_id, account_id], [{ in: 'path', key: 'integration_id' }, { in: 'path', key: 'account_id' }]);
1752
1766
  return (options?.client ?? this.client).delete({