mailmeteor 0.0.53 → 0.0.55
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 +19 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +28 -25
- package/dist/index.mjs +19 -8
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +6 -5
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +22 -20
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/query-serializer.d.ts +7 -0
- package/dist/types/query-serializer.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -398,11 +398,11 @@ type UserIdResponse200 = {
|
|
|
398
398
|
api_key: string;
|
|
399
399
|
service?: string;
|
|
400
400
|
} | {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
401
|
+
smtp_host: string;
|
|
402
|
+
smtp_port: number;
|
|
403
|
+
smtp_security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
404
|
+
smtp_username: string;
|
|
405
|
+
smtp_password: string;
|
|
406
406
|
email: string;
|
|
407
407
|
service: 'smtp';
|
|
408
408
|
creation_date?: number;
|
|
@@ -937,6 +937,7 @@ type PipelineConversationsQuery = {
|
|
|
937
937
|
followups?: {
|
|
938
938
|
exists: boolean;
|
|
939
939
|
};
|
|
940
|
+
is_read?: boolean;
|
|
940
941
|
limit?: number;
|
|
941
942
|
starting_after?: string;
|
|
942
943
|
ending_before?: string;
|
|
@@ -1268,11 +1269,11 @@ type AccountsBody = {
|
|
|
1268
1269
|
api_key: string;
|
|
1269
1270
|
service?: string;
|
|
1270
1271
|
} | {
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1272
|
+
smtp_host: string;
|
|
1273
|
+
smtp_port: number;
|
|
1274
|
+
smtp_security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
1275
|
+
smtp_username: string;
|
|
1276
|
+
smtp_password: string;
|
|
1276
1277
|
email: string;
|
|
1277
1278
|
service: 'smtp';
|
|
1278
1279
|
creation_date?: number;
|
|
@@ -1410,11 +1411,11 @@ type UsersRetrieveResponses = {
|
|
|
1410
1411
|
api_key: string;
|
|
1411
1412
|
service?: string;
|
|
1412
1413
|
} | {
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1414
|
+
smtp_host: string;
|
|
1415
|
+
smtp_port: number;
|
|
1416
|
+
smtp_security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
1417
|
+
smtp_username: string;
|
|
1418
|
+
smtp_password: string;
|
|
1418
1419
|
email: string;
|
|
1419
1420
|
service: 'smtp';
|
|
1420
1421
|
creation_date?: number;
|
|
@@ -2792,6 +2793,7 @@ type PipelineConversationsListData = {
|
|
|
2792
2793
|
followups?: {
|
|
2793
2794
|
exists: boolean;
|
|
2794
2795
|
};
|
|
2796
|
+
is_read?: boolean;
|
|
2795
2797
|
limit?: number;
|
|
2796
2798
|
starting_after?: string;
|
|
2797
2799
|
ending_before?: string;
|
|
@@ -3329,11 +3331,11 @@ type IntegrationsCreateAccountData = {
|
|
|
3329
3331
|
api_key: string;
|
|
3330
3332
|
service?: string;
|
|
3331
3333
|
} | {
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3334
|
+
smtp_host: string;
|
|
3335
|
+
smtp_port: number;
|
|
3336
|
+
smtp_security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
3337
|
+
smtp_username: string;
|
|
3338
|
+
smtp_password: string;
|
|
3337
3339
|
email: string;
|
|
3338
3340
|
service: 'smtp';
|
|
3339
3341
|
creation_date?: number;
|
|
@@ -4042,6 +4044,7 @@ declare class PipelineConversations extends HeyApiClient {
|
|
|
4042
4044
|
followups?: {
|
|
4043
4045
|
exists: boolean;
|
|
4044
4046
|
};
|
|
4047
|
+
is_read?: boolean;
|
|
4045
4048
|
limit?: number;
|
|
4046
4049
|
starting_after?: string;
|
|
4047
4050
|
ending_before?: string;
|
|
@@ -4108,11 +4111,11 @@ declare class Integrations extends HeyApiClient {
|
|
|
4108
4111
|
api_key: string;
|
|
4109
4112
|
service?: string;
|
|
4110
4113
|
} | {
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4114
|
+
smtp_host: string;
|
|
4115
|
+
smtp_port: number;
|
|
4116
|
+
smtp_security: 'auto' | 'none' | 'ssl' | 'tls';
|
|
4117
|
+
smtp_username: string;
|
|
4118
|
+
smtp_password: string;
|
|
4116
4119
|
email: string;
|
|
4117
4120
|
service: 'smtp';
|
|
4118
4121
|
creation_date?: number;
|
package/dist/index.mjs
CHANGED
|
@@ -1597,6 +1597,7 @@ class PipelineConversations extends HeyApiClient {
|
|
|
1597
1597
|
{ in: 'query', key: 'last_activity_after' },
|
|
1598
1598
|
{ in: 'query', key: 'last_activity_before' },
|
|
1599
1599
|
{ in: 'query', key: 'followups' },
|
|
1600
|
+
{ in: 'query', key: 'is_read' },
|
|
1600
1601
|
{ in: 'query', key: 'limit' },
|
|
1601
1602
|
{ in: 'query', key: 'starting_after' },
|
|
1602
1603
|
{ in: 'query', key: 'ending_before' },
|
|
@@ -1830,26 +1831,36 @@ class Default extends HeyApiClient {
|
|
|
1830
1831
|
}
|
|
1831
1832
|
Default.__registry = new HeyApiRegistry11();
|
|
1832
1833
|
|
|
1833
|
-
var types_gen = /*#__PURE__*/Object.freeze({
|
|
1834
|
-
__proto__: null
|
|
1835
|
-
});
|
|
1836
|
-
|
|
1837
1834
|
function querySerializer(query) {
|
|
1838
1835
|
const parts = [];
|
|
1839
|
-
|
|
1840
|
-
if (value === undefined || value === null)
|
|
1841
|
-
|
|
1836
|
+
function serialize(key, value) {
|
|
1837
|
+
if (value === undefined || value === null) {
|
|
1838
|
+
return;
|
|
1839
|
+
}
|
|
1842
1840
|
if (Array.isArray(value)) {
|
|
1843
1841
|
for (const item of value) {
|
|
1844
|
-
|
|
1842
|
+
serialize(`${key}[]`, item);
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
else if (typeof value === 'object' && !(value instanceof Date)) {
|
|
1846
|
+
for (const [nestedKey, nestedValue] of Object.entries(value)) {
|
|
1847
|
+
serialize(`${key}[${nestedKey}]`, nestedValue);
|
|
1845
1848
|
}
|
|
1846
1849
|
}
|
|
1847
1850
|
else {
|
|
1848
1851
|
parts.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
|
|
1849
1852
|
}
|
|
1850
1853
|
}
|
|
1854
|
+
for (const [key, value] of Object.entries(query)) {
|
|
1855
|
+
serialize(key, value);
|
|
1856
|
+
}
|
|
1851
1857
|
return parts.join('&');
|
|
1852
1858
|
}
|
|
1859
|
+
|
|
1860
|
+
var types_gen = /*#__PURE__*/Object.freeze({
|
|
1861
|
+
__proto__: null
|
|
1862
|
+
});
|
|
1863
|
+
|
|
1853
1864
|
function getAuthorizationHeader(apiKey) {
|
|
1854
1865
|
if (apiKey.startsWith('sk_')) {
|
|
1855
1866
|
return `Basic ${Buffer.from(String(apiKey) + ':').toString('base64')}`;
|