mailmeteor 0.1.1 → 0.2.0
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 +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +69 -0
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/generated-sdk/sdk.gen.d.ts +2 -0
- package/dist/types/generated-sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated-sdk/types.gen.d.ts +67 -0
- package/dist/types/generated-sdk/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1428,6 +1428,14 @@ type AutomationsResponse201 = {
|
|
|
1428
1428
|
published_version: number | null;
|
|
1429
1429
|
created_at: number;
|
|
1430
1430
|
updated_at: number;
|
|
1431
|
+
runs?: {
|
|
1432
|
+
total: number;
|
|
1433
|
+
processing: number;
|
|
1434
|
+
completed: number;
|
|
1435
|
+
failed: number;
|
|
1436
|
+
canceled: number;
|
|
1437
|
+
last_activity_at: number | null;
|
|
1438
|
+
};
|
|
1431
1439
|
};
|
|
1432
1440
|
type AutomationsQuery = {
|
|
1433
1441
|
owner?: string;
|
|
@@ -1435,6 +1443,7 @@ type AutomationsQuery = {
|
|
|
1435
1443
|
limit?: number;
|
|
1436
1444
|
starting_after?: string;
|
|
1437
1445
|
ending_before?: string;
|
|
1446
|
+
include?: Array<'runs'>;
|
|
1438
1447
|
};
|
|
1439
1448
|
type AutomationsResponse200 = {
|
|
1440
1449
|
object: 'list';
|
|
@@ -1447,6 +1456,14 @@ type AutomationsResponse200 = {
|
|
|
1447
1456
|
published_version: number | null;
|
|
1448
1457
|
created_at: number;
|
|
1449
1458
|
updated_at: number;
|
|
1459
|
+
runs?: {
|
|
1460
|
+
total: number;
|
|
1461
|
+
processing: number;
|
|
1462
|
+
completed: number;
|
|
1463
|
+
failed: number;
|
|
1464
|
+
canceled: number;
|
|
1465
|
+
last_activity_at: number | null;
|
|
1466
|
+
};
|
|
1450
1467
|
}>;
|
|
1451
1468
|
};
|
|
1452
1469
|
type AutomationIdQuery = {
|
|
@@ -1467,6 +1484,14 @@ type AutomationIdResponse200 = {
|
|
|
1467
1484
|
published_version: number | null;
|
|
1468
1485
|
created_at: number;
|
|
1469
1486
|
updated_at: number;
|
|
1487
|
+
runs?: {
|
|
1488
|
+
total: number;
|
|
1489
|
+
processing: number;
|
|
1490
|
+
completed: number;
|
|
1491
|
+
failed: number;
|
|
1492
|
+
canceled: number;
|
|
1493
|
+
last_activity_at: number | null;
|
|
1494
|
+
};
|
|
1470
1495
|
};
|
|
1471
1496
|
type AutomationIdBody = {
|
|
1472
1497
|
owner?: string;
|
|
@@ -3841,6 +3866,7 @@ type AutomationsListData = {
|
|
|
3841
3866
|
limit?: number;
|
|
3842
3867
|
starting_after?: string;
|
|
3843
3868
|
ending_before?: string;
|
|
3869
|
+
include?: Array<'runs'>;
|
|
3844
3870
|
};
|
|
3845
3871
|
url: '/automations';
|
|
3846
3872
|
};
|
|
@@ -3866,6 +3892,14 @@ type AutomationsListResponses = {
|
|
|
3866
3892
|
published_version: number | null;
|
|
3867
3893
|
created_at: number;
|
|
3868
3894
|
updated_at: number;
|
|
3895
|
+
runs?: {
|
|
3896
|
+
total: number;
|
|
3897
|
+
processing: number;
|
|
3898
|
+
completed: number;
|
|
3899
|
+
failed: number;
|
|
3900
|
+
canceled: number;
|
|
3901
|
+
last_activity_at: number | null;
|
|
3902
|
+
};
|
|
3869
3903
|
}>;
|
|
3870
3904
|
};
|
|
3871
3905
|
};
|
|
@@ -3905,6 +3939,14 @@ type AutomationsCreateResponses = {
|
|
|
3905
3939
|
published_version: number | null;
|
|
3906
3940
|
created_at: number;
|
|
3907
3941
|
updated_at: number;
|
|
3942
|
+
runs?: {
|
|
3943
|
+
total: number;
|
|
3944
|
+
processing: number;
|
|
3945
|
+
completed: number;
|
|
3946
|
+
failed: number;
|
|
3947
|
+
canceled: number;
|
|
3948
|
+
last_activity_at: number | null;
|
|
3949
|
+
};
|
|
3908
3950
|
};
|
|
3909
3951
|
};
|
|
3910
3952
|
type AutomationsCreateResponse = AutomationsCreateResponses[keyof AutomationsCreateResponses];
|
|
@@ -3966,6 +4008,14 @@ type AutomationsDelResponses = {
|
|
|
3966
4008
|
published_version: number | null;
|
|
3967
4009
|
created_at: number;
|
|
3968
4010
|
updated_at: number;
|
|
4011
|
+
runs?: {
|
|
4012
|
+
total: number;
|
|
4013
|
+
processing: number;
|
|
4014
|
+
completed: number;
|
|
4015
|
+
failed: number;
|
|
4016
|
+
canceled: number;
|
|
4017
|
+
last_activity_at: number | null;
|
|
4018
|
+
};
|
|
3969
4019
|
};
|
|
3970
4020
|
};
|
|
3971
4021
|
type AutomationsDelResponse = AutomationsDelResponses[keyof AutomationsDelResponses];
|
|
@@ -3976,6 +4026,7 @@ type AutomationsRetrieveData = {
|
|
|
3976
4026
|
};
|
|
3977
4027
|
query?: {
|
|
3978
4028
|
owner?: string;
|
|
4029
|
+
include?: Array<'runs'>;
|
|
3979
4030
|
};
|
|
3980
4031
|
url: '/automations/{automation_id}';
|
|
3981
4032
|
};
|
|
@@ -4002,6 +4053,14 @@ type AutomationsRetrieveResponses = {
|
|
|
4002
4053
|
published_version: number | null;
|
|
4003
4054
|
created_at: number;
|
|
4004
4055
|
updated_at: number;
|
|
4056
|
+
runs?: {
|
|
4057
|
+
total: number;
|
|
4058
|
+
processing: number;
|
|
4059
|
+
completed: number;
|
|
4060
|
+
failed: number;
|
|
4061
|
+
canceled: number;
|
|
4062
|
+
last_activity_at: number | null;
|
|
4063
|
+
};
|
|
4005
4064
|
};
|
|
4006
4065
|
};
|
|
4007
4066
|
type AutomationsRetrieveResponse = AutomationsRetrieveResponses[keyof AutomationsRetrieveResponses];
|
|
@@ -4042,6 +4101,14 @@ type AutomationsUpdateResponses = {
|
|
|
4042
4101
|
published_version: number | null;
|
|
4043
4102
|
created_at: number;
|
|
4044
4103
|
updated_at: number;
|
|
4104
|
+
runs?: {
|
|
4105
|
+
total: number;
|
|
4106
|
+
processing: number;
|
|
4107
|
+
completed: number;
|
|
4108
|
+
failed: number;
|
|
4109
|
+
canceled: number;
|
|
4110
|
+
last_activity_at: number | null;
|
|
4111
|
+
};
|
|
4045
4112
|
};
|
|
4046
4113
|
};
|
|
4047
4114
|
type AutomationsUpdateResponse = AutomationsUpdateResponses[keyof AutomationsUpdateResponses];
|
|
@@ -4789,6 +4856,7 @@ declare class Automations extends HeyApiClient {
|
|
|
4789
4856
|
limit?: number;
|
|
4790
4857
|
starting_after?: string;
|
|
4791
4858
|
ending_before?: string;
|
|
4859
|
+
include?: Array<'runs'>;
|
|
4792
4860
|
}, options?: Options<never, ThrowOnError>): RequestResult<AutomationsListResponses, AutomationsListErrors, ThrowOnError, "data">;
|
|
4793
4861
|
create<ThrowOnError extends boolean = true>(parameters: {
|
|
4794
4862
|
owner?: string;
|
|
@@ -4806,6 +4874,7 @@ declare class Automations extends HeyApiClient {
|
|
|
4806
4874
|
}, options?: Options<never, ThrowOnError>): RequestResult<AutomationsDelResponses, AutomationsDelErrors, ThrowOnError, "data">;
|
|
4807
4875
|
retrieve<ThrowOnError extends boolean = true>(automation_id: string, parameters?: {
|
|
4808
4876
|
owner?: string;
|
|
4877
|
+
include?: Array<'runs'>;
|
|
4809
4878
|
}, options?: Options<never, ThrowOnError>): RequestResult<AutomationsRetrieveResponses, AutomationsRetrieveErrors, ThrowOnError, "data">;
|
|
4810
4879
|
update<ThrowOnError extends boolean = true>(automation_id: string, parameters?: {
|
|
4811
4880
|
owner?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -1937,7 +1937,8 @@ class Automations extends HeyApiClient {
|
|
|
1937
1937
|
{ in: 'query', key: 'status' },
|
|
1938
1938
|
{ in: 'query', key: 'limit' },
|
|
1939
1939
|
{ in: 'query', key: 'starting_after' },
|
|
1940
|
-
{ in: 'query', key: 'ending_before' }
|
|
1940
|
+
{ in: 'query', key: 'ending_before' },
|
|
1941
|
+
{ in: 'query', key: 'include' }
|
|
1941
1942
|
] }]);
|
|
1942
1943
|
return (options?.client ?? this.client).get({
|
|
1943
1944
|
responseStyle: 'data',
|
|
@@ -1983,7 +1984,7 @@ class Automations extends HeyApiClient {
|
|
|
1983
1984
|
});
|
|
1984
1985
|
}
|
|
1985
1986
|
retrieve(automation_id, parameters, options) {
|
|
1986
|
-
const params = buildClientParams([automation_id, parameters], [{ in: 'path', key: 'automation_id' }, { args: [{ in: 'query', key: 'owner' }] }]);
|
|
1987
|
+
const params = buildClientParams([automation_id, parameters], [{ in: 'path', key: 'automation_id' }, { args: [{ in: 'query', key: 'owner' }, { in: 'query', key: 'include' }] }]);
|
|
1987
1988
|
return (options?.client ?? this.client).get({
|
|
1988
1989
|
responseStyle: 'data',
|
|
1989
1990
|
url: '/automations/{automation_id}',
|