mailmeteor 0.0.51 → 0.0.53
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 +23 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +195 -22
- package/dist/index.mjs +23 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/index.d.ts +1 -1
- package/dist/types/generated-sdk/index.d.ts.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +34 -6
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +147 -16
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
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({
|
|
@@ -1756,6 +1770,15 @@ class Integrations extends HeyApiClient {
|
|
|
1756
1770
|
...params
|
|
1757
1771
|
});
|
|
1758
1772
|
}
|
|
1773
|
+
retrieveAccount(integration_id, account_id, options) {
|
|
1774
|
+
const params = buildClientParams([integration_id, account_id], [{ in: 'path', key: 'integration_id' }, { in: 'path', key: 'account_id' }]);
|
|
1775
|
+
return (options?.client ?? this.client).get({
|
|
1776
|
+
responseStyle: 'data',
|
|
1777
|
+
url: '/integrations/{integration_id}/accounts/{account_id}',
|
|
1778
|
+
...options,
|
|
1779
|
+
...params
|
|
1780
|
+
});
|
|
1781
|
+
}
|
|
1759
1782
|
checkAccount(integration_id, account_id, options) {
|
|
1760
1783
|
const params = buildClientParams([integration_id, account_id], [{ in: 'path', key: 'integration_id' }, { in: 'path', key: 'account_id' }]);
|
|
1761
1784
|
return (options?.client ?? this.client).post({
|