@reacon-io/sdk 0.1.0-beta.3 → 0.2.0-beta.1
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/README.md +4 -3
- package/dist/apis/DomainsApi.d.ts +4 -4
- package/dist/apis/DomainsApi.js +2 -2
- package/dist/esm/apis/DomainsApi.d.ts +4 -4
- package/dist/esm/apis/DomainsApi.js +2 -2
- package/dist/esm/models/MailExperimentReport.d.ts +1 -1
- package/dist/esm/models/MailGetPortfolioResponse200.d.ts +2 -2
- package/dist/esm/models/MailGetPortfolioResponse200.js +3 -3
- package/dist/esm/models/MailGetPortfolioResponse200Portfolio.d.ts +50 -0
- package/dist/esm/models/MailGetPortfolioResponse200Portfolio.js +63 -0
- package/dist/esm/models/MailGetTrackingDomainResponse200.d.ts +1 -1
- package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200.d.ts +2 -2
- package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200.js +3 -3
- package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.d.ts +2 -2
- package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js +3 -3
- package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.d.ts +2 -2
- package/dist/esm/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js +3 -3
- package/dist/esm/models/{MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign.d.ts → MailPostCampaignsByCampaignIdLaunchResponse200Campaign.d.ts} +8 -8
- package/dist/esm/models/{MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign.js → MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js} +8 -8
- package/dist/esm/models/MailPostInboxByMessageIdResponse200.d.ts +1 -1
- package/dist/esm/models/MailPostPortfolioSuppressionsRequest.d.ts +1 -0
- package/dist/esm/models/MailPostPortfolioSuppressionsRequest.js +1 -2
- package/dist/esm/models/MailPostSuppressionsRequest.d.ts +1 -0
- package/dist/esm/models/MailPostSuppressionsRequest.js +1 -2
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +2 -1
- package/dist/models/MailExperimentReport.d.ts +1 -1
- package/dist/models/MailGetPortfolioResponse200.d.ts +2 -2
- package/dist/models/MailGetPortfolioResponse200.js +3 -3
- package/dist/models/MailGetPortfolioResponse200Portfolio.d.ts +50 -0
- package/dist/models/MailGetPortfolioResponse200Portfolio.js +70 -0
- package/dist/models/MailGetTrackingDomainResponse200.d.ts +1 -1
- package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200.d.ts +2 -2
- package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200.js +3 -3
- package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.d.ts +2 -2
- package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js +3 -3
- package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.d.ts +2 -2
- package/dist/models/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js +3 -3
- package/dist/models/{MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign.d.ts → MailPostCampaignsByCampaignIdLaunchResponse200Campaign.d.ts} +8 -8
- package/dist/models/{MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign.js → MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js} +13 -13
- package/dist/models/MailPostInboxByMessageIdResponse200.d.ts +1 -1
- package/dist/models/MailPostPortfolioSuppressionsRequest.d.ts +1 -0
- package/dist/models/MailPostPortfolioSuppressionsRequest.js +1 -2
- package/dist/models/MailPostSuppressionsRequest.d.ts +1 -0
- package/dist/models/MailPostSuppressionsRequest.js +1 -2
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @reacon-io/sdk@0.
|
|
1
|
+
# @reacon-io/sdk@0.2.0-beta.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.reacon.io API.
|
|
4
4
|
|
|
@@ -527,6 +527,7 @@ All URIs are relative to *https://api.reacon.io*
|
|
|
527
527
|
- [MailGetPortfolioResponse200](docs/MailGetPortfolioResponse200.md)
|
|
528
528
|
- [MailGetPortfolioResponse200AnyOf](docs/MailGetPortfolioResponse200AnyOf.md)
|
|
529
529
|
- [MailGetPortfolioResponse200AnyOf1](docs/MailGetPortfolioResponse200AnyOf1.md)
|
|
530
|
+
- [MailGetPortfolioResponse200Portfolio](docs/MailGetPortfolioResponse200Portfolio.md)
|
|
530
531
|
- [MailGetQueueResponse200](docs/MailGetQueueResponse200.md)
|
|
531
532
|
- [MailGetReplyAutomationsResponse200](docs/MailGetReplyAutomationsResponse200.md)
|
|
532
533
|
- [MailGetSignaturesResponse200](docs/MailGetSignaturesResponse200.md)
|
|
@@ -609,7 +610,7 @@ All URIs are relative to *https://api.reacon.io*
|
|
|
609
610
|
- [MailPostCampaignsByCampaignIdLaunchResponse200](docs/MailPostCampaignsByCampaignIdLaunchResponse200.md)
|
|
610
611
|
- [MailPostCampaignsByCampaignIdLaunchResponse200AnyOf](docs/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.md)
|
|
611
612
|
- [MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1](docs/MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.md)
|
|
612
|
-
- [
|
|
613
|
+
- [MailPostCampaignsByCampaignIdLaunchResponse200Campaign](docs/MailPostCampaignsByCampaignIdLaunchResponse200Campaign.md)
|
|
613
614
|
- [MailPostCampaignsByCampaignIdStateRequest](docs/MailPostCampaignsByCampaignIdStateRequest.md)
|
|
614
615
|
- [MailPostCampaignsByCampaignIdStateResponse200](docs/MailPostCampaignsByCampaignIdStateResponse200.md)
|
|
615
616
|
- [MailPostCampaignsRequest](docs/MailPostCampaignsRequest.md)
|
|
@@ -930,7 +931,7 @@ and is automatically generated by the
|
|
|
930
931
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
931
932
|
|
|
932
933
|
- API version: `0.1.0`
|
|
933
|
-
- Package version: `0.
|
|
934
|
+
- Package version: `0.2.0-beta.1`
|
|
934
935
|
- Generator version: `7.25.0`
|
|
935
936
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
936
937
|
|
|
@@ -88,7 +88,7 @@ export interface DomainsApiInterface {
|
|
|
88
88
|
*/
|
|
89
89
|
getDomainCountsRequestOpts(requestParameters: GetDomainCountsRequest): Promise<runtime.RequestOpts>;
|
|
90
90
|
/**
|
|
91
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
91
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
92
92
|
* @summary Count known emails for a domain
|
|
93
93
|
* @param {string} domain
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ export interface DomainsApiInterface {
|
|
|
97
97
|
*/
|
|
98
98
|
getDomainCountsRaw(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainCounts>>;
|
|
99
99
|
/**
|
|
100
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
100
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
101
101
|
* Count known emails for a domain
|
|
102
102
|
*/
|
|
103
103
|
getDomainCounts(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<DomainCounts>;
|
|
@@ -139,12 +139,12 @@ export declare class DomainsApi extends runtime.BaseAPI implements DomainsApiInt
|
|
|
139
139
|
*/
|
|
140
140
|
getDomainCountsRequestOpts(requestParameters: GetDomainCountsRequest): Promise<runtime.RequestOpts>;
|
|
141
141
|
/**
|
|
142
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
142
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
143
143
|
* Count known emails for a domain
|
|
144
144
|
*/
|
|
145
145
|
getDomainCountsRaw(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainCounts>>;
|
|
146
146
|
/**
|
|
147
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
147
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
148
148
|
* Count known emails for a domain
|
|
149
149
|
*/
|
|
150
150
|
getDomainCounts(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<DomainCounts>;
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -120,7 +120,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
123
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
124
124
|
* Count known emails for a domain
|
|
125
125
|
*/
|
|
126
126
|
async getDomainCountsRaw(requestParameters, initOverrides) {
|
|
@@ -129,7 +129,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
129
129
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DomainCounts_js_1.DomainCountsFromJSON)(jsonValue));
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
132
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
133
133
|
* Count known emails for a domain
|
|
134
134
|
*/
|
|
135
135
|
async getDomainCounts(requestParameters, initOverrides) {
|
|
@@ -88,7 +88,7 @@ export interface DomainsApiInterface {
|
|
|
88
88
|
*/
|
|
89
89
|
getDomainCountsRequestOpts(requestParameters: GetDomainCountsRequest): Promise<runtime.RequestOpts>;
|
|
90
90
|
/**
|
|
91
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
91
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
92
92
|
* @summary Count known emails for a domain
|
|
93
93
|
* @param {string} domain
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ export interface DomainsApiInterface {
|
|
|
97
97
|
*/
|
|
98
98
|
getDomainCountsRaw(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainCounts>>;
|
|
99
99
|
/**
|
|
100
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
100
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
101
101
|
* Count known emails for a domain
|
|
102
102
|
*/
|
|
103
103
|
getDomainCounts(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<DomainCounts>;
|
|
@@ -139,12 +139,12 @@ export declare class DomainsApi extends runtime.BaseAPI implements DomainsApiInt
|
|
|
139
139
|
*/
|
|
140
140
|
getDomainCountsRequestOpts(requestParameters: GetDomainCountsRequest): Promise<runtime.RequestOpts>;
|
|
141
141
|
/**
|
|
142
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
142
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
143
143
|
* Count known emails for a domain
|
|
144
144
|
*/
|
|
145
145
|
getDomainCountsRaw(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainCounts>>;
|
|
146
146
|
/**
|
|
147
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
147
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
148
148
|
* Count known emails for a domain
|
|
149
149
|
*/
|
|
150
150
|
getDomainCounts(requestParameters: GetDomainCountsRequest, initOverrides?: runtime.RequestOptions | runtime.InitOverrideFunction): Promise<DomainCounts>;
|
|
@@ -117,7 +117,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
120
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
121
121
|
* Count known emails for a domain
|
|
122
122
|
*/
|
|
123
123
|
async getDomainCountsRaw(requestParameters, initOverrides) {
|
|
@@ -126,7 +126,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
126
126
|
return new runtime.JSONApiResponse(response, (jsonValue) => DomainCountsFromJSON(jsonValue));
|
|
127
127
|
}
|
|
128
128
|
/**
|
|
129
|
-
* Returns personal, generic and total email counts for the domain. Authenticate with X-API-Key.
|
|
129
|
+
* Returns personal, generic and total known email counts for the domain. Authenticate with X-API-Key. This endpoint reports counts only; it does not reveal email addresses. The recorded example uses a reserved example.invalid domain with zero known emails.
|
|
130
130
|
* Count known emails for a domain
|
|
131
131
|
*/
|
|
132
132
|
async getDomainCounts(requestParameters, initOverrides) {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { MailGetPortfolioResponse200Portfolio } from './MailGetPortfolioResponse200Portfolio.js';
|
|
12
13
|
import type { MailMailPortfolioSuppression } from './MailMailPortfolioSuppression.js';
|
|
13
|
-
import type { MailMailPortfolio } from './MailMailPortfolio.js';
|
|
14
14
|
import type { MailMailPortfolioTeam } from './MailMailPortfolioTeam.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -21,7 +21,7 @@ export interface MailGetPortfolioResponse200 {
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
portfolio:
|
|
24
|
+
portfolio: MailGetPortfolioResponse200Portfolio | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { MailGetPortfolioResponse200PortfolioFromJSON, MailGetPortfolioResponse200PortfolioToJSON, } from './MailGetPortfolioResponse200Portfolio.js';
|
|
14
15
|
import { MailMailPortfolioSuppressionFromJSON, MailMailPortfolioSuppressionToJSON, } from './MailMailPortfolioSuppression.js';
|
|
15
|
-
import { MailMailPortfolioFromJSON, MailMailPortfolioToJSON, } from './MailMailPortfolio.js';
|
|
16
16
|
import { MailMailPortfolioTeamFromJSON, MailMailPortfolioTeamToJSON, } from './MailMailPortfolioTeam.js';
|
|
17
17
|
/**
|
|
18
18
|
* Check if a given object implements the MailGetPortfolioResponse200 interface.
|
|
@@ -34,7 +34,7 @@ export function MailGetPortfolioResponse200FromJSONTyped(json, ignoreDiscriminat
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'portfolio':
|
|
37
|
+
'portfolio': MailGetPortfolioResponse200PortfolioFromJSON(json['portfolio']),
|
|
38
38
|
'suppressions': (json['suppressions'].map(MailMailPortfolioSuppressionFromJSON)),
|
|
39
39
|
'teams': (json['teams'].map(MailMailPortfolioTeamFromJSON)),
|
|
40
40
|
};
|
|
@@ -47,7 +47,7 @@ export function MailGetPortfolioResponse200ToJSONTyped(value, ignoreDiscriminato
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'portfolio':
|
|
50
|
+
'portfolio': MailGetPortfolioResponse200PortfolioToJSON(value['portfolio']),
|
|
51
51
|
'suppressions': (value['suppressions'].map(MailMailPortfolioSuppressionToJSON)),
|
|
52
52
|
'teams': (value['teams'].map(MailMailPortfolioTeamToJSON)),
|
|
53
53
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reacon API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MailGetPortfolioResponse200Portfolio
|
|
16
|
+
*/
|
|
17
|
+
export interface MailGetPortfolioResponse200Portfolio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
createdAt: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
createdByActorId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
ownerTeamId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MailGetPortfolioResponse200Portfolio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMailGetPortfolioResponse200Portfolio(value: object): value is MailGetPortfolioResponse200Portfolio;
|
|
47
|
+
export declare function MailGetPortfolioResponse200PortfolioFromJSON(json: any): MailGetPortfolioResponse200Portfolio;
|
|
48
|
+
export declare function MailGetPortfolioResponse200PortfolioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailGetPortfolioResponse200Portfolio;
|
|
49
|
+
export declare function MailGetPortfolioResponse200PortfolioToJSON(json: any): MailGetPortfolioResponse200Portfolio;
|
|
50
|
+
export declare function MailGetPortfolioResponse200PortfolioToJSONTyped(value?: MailGetPortfolioResponse200Portfolio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Reacon API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the MailGetPortfolioResponse200Portfolio interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMailGetPortfolioResponse200Portfolio(value) {
|
|
18
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('createdByActorId' in value) || value['createdByActorId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('ownerTeamId' in value) || value['ownerTeamId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function MailGetPortfolioResponse200PortfolioFromJSON(json) {
|
|
33
|
+
return MailGetPortfolioResponse200PortfolioFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function MailGetPortfolioResponse200PortfolioFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'createdAt': json['createdAt'],
|
|
41
|
+
'createdByActorId': json['createdByActorId'],
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'ownerTeamId': json['ownerTeamId'],
|
|
45
|
+
'updatedAt': json['updatedAt'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function MailGetPortfolioResponse200PortfolioToJSON(json) {
|
|
49
|
+
return MailGetPortfolioResponse200PortfolioToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function MailGetPortfolioResponse200PortfolioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'createdAt': value['createdAt'],
|
|
57
|
+
'createdByActorId': value['createdByActorId'],
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'ownerTeamId': value['ownerTeamId'],
|
|
61
|
+
'updatedAt': value['updatedAt'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -19,7 +19,7 @@ export interface MailGetTrackingDomainResponse200 {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
domain: MailGetTrackingDomainResponse200Domain;
|
|
22
|
+
domain: MailGetTrackingDomainResponse200Domain | null;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the MailGetTrackingDomainResponse200 interface.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MailPostCampaignsByCampaignIdLaunchResponse200Campaign } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
13
13
|
import type { MailSequenceRunRecord } from './MailSequenceRunRecord.js';
|
|
14
14
|
import type { MailCampaignDraftRecord } from './MailCampaignDraftRecord.js';
|
|
15
15
|
/**
|
|
@@ -21,7 +21,7 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200 {
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
campaign:
|
|
24
|
+
campaign: MailPostCampaignsByCampaignIdLaunchResponse200Campaign | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON, MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON, } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
15
15
|
import { MailSequenceRunRecordFromJSON, MailSequenceRunRecordToJSON, } from './MailSequenceRunRecord.js';
|
|
16
16
|
import { MailCampaignDraftRecordFromJSON, MailCampaignDraftRecordToJSON, } from './MailCampaignDraftRecord.js';
|
|
17
17
|
/**
|
|
@@ -34,7 +34,7 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200FromJSONTyped(json
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'campaign':
|
|
37
|
+
'campaign': MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json['campaign']),
|
|
38
38
|
'draft': MailCampaignDraftRecordFromJSON(json['draft']),
|
|
39
39
|
'sequences': (json['sequences'].map(MailSequenceRunRecordFromJSON)),
|
|
40
40
|
};
|
|
@@ -47,7 +47,7 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200ToJSONTyped(value,
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'campaign':
|
|
50
|
+
'campaign': MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(value['campaign']),
|
|
51
51
|
'draft': MailCampaignDraftRecordToJSON(value['draft']),
|
|
52
52
|
'sequences': (value['sequences'].map(MailSequenceRunRecordToJSON)),
|
|
53
53
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MailPostCampaignsByCampaignIdLaunchResponse200Campaign } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
13
13
|
import type { MailCampaignDraftRecord } from './MailCampaignDraftRecord.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -20,7 +20,7 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200AnyOf {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
campaign:
|
|
23
|
+
campaign: MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON, MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON, } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
15
15
|
import { MailCampaignDraftRecordFromJSON, MailCampaignDraftRecordToJSON, } from './MailCampaignDraftRecord.js';
|
|
16
16
|
/**
|
|
17
17
|
* Check if a given object implements the MailPostCampaignsByCampaignIdLaunchResponse200AnyOf interface.
|
|
@@ -33,7 +33,7 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200AnyOfFromJSONTyped
|
|
|
33
33
|
return json;
|
|
34
34
|
}
|
|
35
35
|
return {
|
|
36
|
-
'campaign':
|
|
36
|
+
'campaign': MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json['campaign']),
|
|
37
37
|
'draft': MailCampaignDraftRecordFromJSON(json['draft']),
|
|
38
38
|
'sequences': json['sequences'],
|
|
39
39
|
};
|
|
@@ -46,7 +46,7 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200AnyOfToJSONTyped(v
|
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'campaign':
|
|
49
|
+
'campaign': MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(value['campaign']),
|
|
50
50
|
'draft': MailCampaignDraftRecordToJSON(value['draft']),
|
|
51
51
|
'sequences': value['sequences'],
|
|
52
52
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MailPostCampaignsByCampaignIdLaunchResponse200Campaign } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
13
13
|
import type { MailSequenceRunRecord } from './MailSequenceRunRecord.js';
|
|
14
14
|
import type { MailCampaignDraftRecord } from './MailCampaignDraftRecord.js';
|
|
15
15
|
/**
|
|
@@ -21,7 +21,7 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1 {
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
campaign:
|
|
24
|
+
campaign: MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON, MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON, } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
15
15
|
import { MailSequenceRunRecordFromJSON, MailSequenceRunRecordToJSON, } from './MailSequenceRunRecord.js';
|
|
16
16
|
import { MailCampaignDraftRecordFromJSON, MailCampaignDraftRecordToJSON, } from './MailCampaignDraftRecord.js';
|
|
17
17
|
/**
|
|
@@ -34,7 +34,7 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1FromJSONType
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'campaign':
|
|
37
|
+
'campaign': MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json['campaign']),
|
|
38
38
|
'draft': MailCampaignDraftRecordFromJSON(json['draft']),
|
|
39
39
|
'sequences': (json['sequences'].map(MailSequenceRunRecordFromJSON)),
|
|
40
40
|
};
|
|
@@ -47,7 +47,7 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1ToJSONTyped(
|
|
|
47
47
|
return value;
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
|
-
'campaign':
|
|
50
|
+
'campaign': MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(value['campaign']),
|
|
51
51
|
'draft': MailCampaignDraftRecordToJSON(value['draft']),
|
|
52
52
|
'sequences': (value['sequences'].map(MailSequenceRunRecordToJSON)),
|
|
53
53
|
};
|
|
@@ -13,9 +13,9 @@ import type { MailCampaignProgressMessageCounts } from './MailCampaignProgressMe
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface MailPostCampaignsByCampaignIdLaunchResponse200Campaign
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface MailPostCampaignsByCampaignIdLaunchResponse200Campaign {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
@@ -58,10 +58,10 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign {
|
|
|
58
58
|
updatedAt: string;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* Check if a given object implements the
|
|
61
|
+
* Check if a given object implements the MailPostCampaignsByCampaignIdLaunchResponse200Campaign interface.
|
|
62
62
|
*/
|
|
63
|
-
export declare function
|
|
64
|
-
export declare function
|
|
65
|
-
export declare function
|
|
66
|
-
export declare function
|
|
67
|
-
export declare function
|
|
63
|
+
export declare function instanceOfMailPostCampaignsByCampaignIdLaunchResponse200Campaign(value: object): value is MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
64
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json: any): MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
65
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
66
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(json: any): MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
67
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped(value?: MailPostCampaignsByCampaignIdLaunchResponse200Campaign | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { MailCampaignProgressMessageCountsFromJSON, MailCampaignProgressMessageCountsToJSON, } from './MailCampaignProgressMessageCounts.js';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the MailPostCampaignsByCampaignIdLaunchResponse200Campaign interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfMailPostCampaignsByCampaignIdLaunchResponse200Campaign(value) {
|
|
19
19
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
if (!('id' in value) || value['id'] === undefined)
|
|
@@ -38,10 +38,10 @@ export function instanceOfMailPostCampaignsByCampaignIdLaunchResponse200AnyOfCam
|
|
|
38
38
|
return false;
|
|
39
39
|
return true;
|
|
40
40
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
41
|
+
export function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json) {
|
|
42
|
+
return MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
export function
|
|
44
|
+
export function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
45
|
if (json == null) {
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
@@ -58,10 +58,10 @@ export function MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaignFromJ
|
|
|
58
58
|
'updatedAt': json['updatedAt'],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
export function
|
|
62
|
-
return
|
|
61
|
+
export function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(json) {
|
|
62
|
+
return MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped(json, false);
|
|
63
63
|
}
|
|
64
|
-
export function
|
|
64
|
+
export function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
65
|
if (value == null) {
|
|
66
66
|
return value;
|
|
67
67
|
}
|
|
@@ -19,7 +19,7 @@ export interface MailPostInboxByMessageIdResponse200 {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
message: MailPostInboxByMessageIdResponse200Message;
|
|
22
|
+
message: MailPostInboxByMessageIdResponse200Message | null;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the MailPostInboxByMessageIdResponse200 interface.
|
|
@@ -32,6 +32,7 @@ export interface MailPostPortfolioSuppressionsRequest {
|
|
|
32
32
|
* @export
|
|
33
33
|
*/
|
|
34
34
|
export declare const MailPostPortfolioSuppressionsRequestScopeEnum: {
|
|
35
|
+
readonly Email: "email";
|
|
35
36
|
readonly Domain: "domain";
|
|
36
37
|
};
|
|
37
38
|
export type MailPostPortfolioSuppressionsRequestScopeEnum = typeof MailPostPortfolioSuppressionsRequestScopeEnum[keyof typeof MailPostPortfolioSuppressionsRequestScopeEnum];
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
17
|
export const MailPostPortfolioSuppressionsRequestScopeEnum = {
|
|
18
|
+
Email: 'email',
|
|
18
19
|
Domain: 'domain',
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
@@ -23,8 +24,6 @@ export const MailPostPortfolioSuppressionsRequestScopeEnum = {
|
|
|
23
24
|
export function instanceOfMailPostPortfolioSuppressionsRequest(value) {
|
|
24
25
|
if (!('scope' in value) || value['scope'] === undefined)
|
|
25
26
|
return false;
|
|
26
|
-
if (value['scope'] !== 'domain')
|
|
27
|
-
return false;
|
|
28
27
|
if (!('value' in value) || value['value'] === undefined)
|
|
29
28
|
return false;
|
|
30
29
|
return true;
|
|
@@ -28,6 +28,7 @@ export interface MailPostSuppressionsRequest {
|
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
30
|
export declare const MailPostSuppressionsRequestScopeEnum: {
|
|
31
|
+
readonly Email: "email";
|
|
31
32
|
readonly Domain: "domain";
|
|
32
33
|
};
|
|
33
34
|
export type MailPostSuppressionsRequestScopeEnum = typeof MailPostSuppressionsRequestScopeEnum[keyof typeof MailPostSuppressionsRequestScopeEnum];
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
17
|
export const MailPostSuppressionsRequestScopeEnum = {
|
|
18
|
+
Email: 'email',
|
|
18
19
|
Domain: 'domain',
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
@@ -23,8 +24,6 @@ export const MailPostSuppressionsRequestScopeEnum = {
|
|
|
23
24
|
export function instanceOfMailPostSuppressionsRequest(value) {
|
|
24
25
|
if (!('scope' in value) || value['scope'] === undefined)
|
|
25
26
|
return false;
|
|
26
|
-
if (value['scope'] !== 'domain')
|
|
27
|
-
return false;
|
|
28
27
|
if (!('value' in value) || value['value'] === undefined)
|
|
29
28
|
return false;
|
|
30
29
|
return true;
|
|
@@ -236,6 +236,7 @@ export * from './MailGetPortfolioOverviewResponse200.js';
|
|
|
236
236
|
export * from './MailGetPortfolioResponse200.js';
|
|
237
237
|
export * from './MailGetPortfolioResponse200AnyOf.js';
|
|
238
238
|
export * from './MailGetPortfolioResponse200AnyOf1.js';
|
|
239
|
+
export * from './MailGetPortfolioResponse200Portfolio.js';
|
|
239
240
|
export * from './MailGetQueueResponse200.js';
|
|
240
241
|
export * from './MailGetReplyAutomationsResponse200.js';
|
|
241
242
|
export * from './MailGetSignaturesResponse200.js';
|
|
@@ -318,7 +319,7 @@ export * from './MailPostCampaignsByCampaignIdLaunchRequest.js';
|
|
|
318
319
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200.js';
|
|
319
320
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js';
|
|
320
321
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js';
|
|
321
|
-
export * from './
|
|
322
|
+
export * from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
322
323
|
export * from './MailPostCampaignsByCampaignIdStateRequest.js';
|
|
323
324
|
export * from './MailPostCampaignsByCampaignIdStateResponse200.js';
|
|
324
325
|
export * from './MailPostCampaignsRequest.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -238,6 +238,7 @@ export * from './MailGetPortfolioOverviewResponse200.js';
|
|
|
238
238
|
export * from './MailGetPortfolioResponse200.js';
|
|
239
239
|
export * from './MailGetPortfolioResponse200AnyOf.js';
|
|
240
240
|
export * from './MailGetPortfolioResponse200AnyOf1.js';
|
|
241
|
+
export * from './MailGetPortfolioResponse200Portfolio.js';
|
|
241
242
|
export * from './MailGetQueueResponse200.js';
|
|
242
243
|
export * from './MailGetReplyAutomationsResponse200.js';
|
|
243
244
|
export * from './MailGetSignaturesResponse200.js';
|
|
@@ -320,7 +321,7 @@ export * from './MailPostCampaignsByCampaignIdLaunchRequest.js';
|
|
|
320
321
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200.js';
|
|
321
322
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js';
|
|
322
323
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js';
|
|
323
|
-
export * from './
|
|
324
|
+
export * from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
324
325
|
export * from './MailPostCampaignsByCampaignIdStateRequest.js';
|
|
325
326
|
export * from './MailPostCampaignsByCampaignIdStateResponse200.js';
|
|
326
327
|
export * from './MailPostCampaignsRequest.js';
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { MailGetPortfolioResponse200Portfolio } from './MailGetPortfolioResponse200Portfolio.js';
|
|
12
13
|
import type { MailMailPortfolioSuppression } from './MailMailPortfolioSuppression.js';
|
|
13
|
-
import type { MailMailPortfolio } from './MailMailPortfolio.js';
|
|
14
14
|
import type { MailMailPortfolioTeam } from './MailMailPortfolioTeam.js';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -21,7 +21,7 @@ export interface MailGetPortfolioResponse200 {
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
portfolio:
|
|
24
|
+
portfolio: MailGetPortfolioResponse200Portfolio | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -18,8 +18,8 @@ exports.MailGetPortfolioResponse200FromJSON = MailGetPortfolioResponse200FromJSO
|
|
|
18
18
|
exports.MailGetPortfolioResponse200FromJSONTyped = MailGetPortfolioResponse200FromJSONTyped;
|
|
19
19
|
exports.MailGetPortfolioResponse200ToJSON = MailGetPortfolioResponse200ToJSON;
|
|
20
20
|
exports.MailGetPortfolioResponse200ToJSONTyped = MailGetPortfolioResponse200ToJSONTyped;
|
|
21
|
+
const MailGetPortfolioResponse200Portfolio_js_1 = require("./MailGetPortfolioResponse200Portfolio.js");
|
|
21
22
|
const MailMailPortfolioSuppression_js_1 = require("./MailMailPortfolioSuppression.js");
|
|
22
|
-
const MailMailPortfolio_js_1 = require("./MailMailPortfolio.js");
|
|
23
23
|
const MailMailPortfolioTeam_js_1 = require("./MailMailPortfolioTeam.js");
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the MailGetPortfolioResponse200 interface.
|
|
@@ -41,7 +41,7 @@ function MailGetPortfolioResponse200FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'portfolio': (0,
|
|
44
|
+
'portfolio': (0, MailGetPortfolioResponse200Portfolio_js_1.MailGetPortfolioResponse200PortfolioFromJSON)(json['portfolio']),
|
|
45
45
|
'suppressions': (json['suppressions'].map(MailMailPortfolioSuppression_js_1.MailMailPortfolioSuppressionFromJSON)),
|
|
46
46
|
'teams': (json['teams'].map(MailMailPortfolioTeam_js_1.MailMailPortfolioTeamFromJSON)),
|
|
47
47
|
};
|
|
@@ -54,7 +54,7 @@ function MailGetPortfolioResponse200ToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
|
-
'portfolio': (0,
|
|
57
|
+
'portfolio': (0, MailGetPortfolioResponse200Portfolio_js_1.MailGetPortfolioResponse200PortfolioToJSON)(value['portfolio']),
|
|
58
58
|
'suppressions': (value['suppressions'].map(MailMailPortfolioSuppression_js_1.MailMailPortfolioSuppressionToJSON)),
|
|
59
59
|
'teams': (value['teams'].map(MailMailPortfolioTeam_js_1.MailMailPortfolioTeamToJSON)),
|
|
60
60
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reacon API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MailGetPortfolioResponse200Portfolio
|
|
16
|
+
*/
|
|
17
|
+
export interface MailGetPortfolioResponse200Portfolio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
createdAt: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
createdByActorId: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
ownerTeamId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MailGetPortfolioResponse200Portfolio interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMailGetPortfolioResponse200Portfolio(value: object): value is MailGetPortfolioResponse200Portfolio;
|
|
47
|
+
export declare function MailGetPortfolioResponse200PortfolioFromJSON(json: any): MailGetPortfolioResponse200Portfolio;
|
|
48
|
+
export declare function MailGetPortfolioResponse200PortfolioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailGetPortfolioResponse200Portfolio;
|
|
49
|
+
export declare function MailGetPortfolioResponse200PortfolioToJSON(json: any): MailGetPortfolioResponse200Portfolio;
|
|
50
|
+
export declare function MailGetPortfolioResponse200PortfolioToJSONTyped(value?: MailGetPortfolioResponse200Portfolio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Reacon API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfMailGetPortfolioResponse200Portfolio = instanceOfMailGetPortfolioResponse200Portfolio;
|
|
17
|
+
exports.MailGetPortfolioResponse200PortfolioFromJSON = MailGetPortfolioResponse200PortfolioFromJSON;
|
|
18
|
+
exports.MailGetPortfolioResponse200PortfolioFromJSONTyped = MailGetPortfolioResponse200PortfolioFromJSONTyped;
|
|
19
|
+
exports.MailGetPortfolioResponse200PortfolioToJSON = MailGetPortfolioResponse200PortfolioToJSON;
|
|
20
|
+
exports.MailGetPortfolioResponse200PortfolioToJSONTyped = MailGetPortfolioResponse200PortfolioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the MailGetPortfolioResponse200Portfolio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfMailGetPortfolioResponse200Portfolio(value) {
|
|
25
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('createdByActorId' in value) || value['createdByActorId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('ownerTeamId' in value) || value['ownerTeamId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function MailGetPortfolioResponse200PortfolioFromJSON(json) {
|
|
40
|
+
return MailGetPortfolioResponse200PortfolioFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function MailGetPortfolioResponse200PortfolioFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'createdAt': json['createdAt'],
|
|
48
|
+
'createdByActorId': json['createdByActorId'],
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
'ownerTeamId': json['ownerTeamId'],
|
|
52
|
+
'updatedAt': json['updatedAt'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function MailGetPortfolioResponse200PortfolioToJSON(json) {
|
|
56
|
+
return MailGetPortfolioResponse200PortfolioToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function MailGetPortfolioResponse200PortfolioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'createdAt': value['createdAt'],
|
|
64
|
+
'createdByActorId': value['createdByActorId'],
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'name': value['name'],
|
|
67
|
+
'ownerTeamId': value['ownerTeamId'],
|
|
68
|
+
'updatedAt': value['updatedAt'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -19,7 +19,7 @@ export interface MailGetTrackingDomainResponse200 {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
domain: MailGetTrackingDomainResponse200Domain;
|
|
22
|
+
domain: MailGetTrackingDomainResponse200Domain | null;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the MailGetTrackingDomainResponse200 interface.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MailPostCampaignsByCampaignIdLaunchResponse200Campaign } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
13
13
|
import type { MailSequenceRunRecord } from './MailSequenceRunRecord.js';
|
|
14
14
|
import type { MailCampaignDraftRecord } from './MailCampaignDraftRecord.js';
|
|
15
15
|
/**
|
|
@@ -21,7 +21,7 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200 {
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
campaign:
|
|
24
|
+
campaign: MailPostCampaignsByCampaignIdLaunchResponse200Campaign | null;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -18,7 +18,7 @@ exports.MailPostCampaignsByCampaignIdLaunchResponse200FromJSON = MailPostCampaig
|
|
|
18
18
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200FromJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200FromJSONTyped;
|
|
19
19
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200ToJSON = MailPostCampaignsByCampaignIdLaunchResponse200ToJSON;
|
|
20
20
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200ToJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200ToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1 = require("./MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js");
|
|
22
22
|
const MailSequenceRunRecord_js_1 = require("./MailSequenceRunRecord.js");
|
|
23
23
|
const MailCampaignDraftRecord_js_1 = require("./MailCampaignDraftRecord.js");
|
|
24
24
|
/**
|
|
@@ -41,7 +41,7 @@ function MailPostCampaignsByCampaignIdLaunchResponse200FromJSONTyped(json, ignor
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'campaign': (0,
|
|
44
|
+
'campaign': (0, MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1.MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON)(json['campaign']),
|
|
45
45
|
'draft': (0, MailCampaignDraftRecord_js_1.MailCampaignDraftRecordFromJSON)(json['draft']),
|
|
46
46
|
'sequences': (json['sequences'].map(MailSequenceRunRecord_js_1.MailSequenceRunRecordFromJSON)),
|
|
47
47
|
};
|
|
@@ -54,7 +54,7 @@ function MailPostCampaignsByCampaignIdLaunchResponse200ToJSONTyped(value, ignore
|
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
|
-
'campaign': (0,
|
|
57
|
+
'campaign': (0, MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1.MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON)(value['campaign']),
|
|
58
58
|
'draft': (0, MailCampaignDraftRecord_js_1.MailCampaignDraftRecordToJSON)(value['draft']),
|
|
59
59
|
'sequences': (value['sequences'].map(MailSequenceRunRecord_js_1.MailSequenceRunRecordToJSON)),
|
|
60
60
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MailPostCampaignsByCampaignIdLaunchResponse200Campaign } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
13
13
|
import type { MailCampaignDraftRecord } from './MailCampaignDraftRecord.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -20,7 +20,7 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200AnyOf {
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
campaign:
|
|
23
|
+
campaign: MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
@@ -18,7 +18,7 @@ exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOfFromJSON = MailPostCa
|
|
|
18
18
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOfFromJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200AnyOfFromJSONTyped;
|
|
19
19
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOfToJSON = MailPostCampaignsByCampaignIdLaunchResponse200AnyOfToJSON;
|
|
20
20
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOfToJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200AnyOfToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1 = require("./MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js");
|
|
22
22
|
const MailCampaignDraftRecord_js_1 = require("./MailCampaignDraftRecord.js");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the MailPostCampaignsByCampaignIdLaunchResponse200AnyOf interface.
|
|
@@ -40,7 +40,7 @@ function MailPostCampaignsByCampaignIdLaunchResponse200AnyOfFromJSONTyped(json,
|
|
|
40
40
|
return json;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'campaign': (0,
|
|
43
|
+
'campaign': (0, MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1.MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON)(json['campaign']),
|
|
44
44
|
'draft': (0, MailCampaignDraftRecord_js_1.MailCampaignDraftRecordFromJSON)(json['draft']),
|
|
45
45
|
'sequences': json['sequences'],
|
|
46
46
|
};
|
|
@@ -53,7 +53,7 @@ function MailPostCampaignsByCampaignIdLaunchResponse200AnyOfToJSONTyped(value, i
|
|
|
53
53
|
return value;
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
|
-
'campaign': (0,
|
|
56
|
+
'campaign': (0, MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1.MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON)(value['campaign']),
|
|
57
57
|
'draft': (0, MailCampaignDraftRecord_js_1.MailCampaignDraftRecordToJSON)(value['draft']),
|
|
58
58
|
'sequences': value['sequences'],
|
|
59
59
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { MailPostCampaignsByCampaignIdLaunchResponse200Campaign } from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
13
13
|
import type { MailSequenceRunRecord } from './MailSequenceRunRecord.js';
|
|
14
14
|
import type { MailCampaignDraftRecord } from './MailCampaignDraftRecord.js';
|
|
15
15
|
/**
|
|
@@ -21,7 +21,7 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1 {
|
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
campaign:
|
|
24
|
+
campaign: MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -18,7 +18,7 @@ exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1FromJSON = MailPostC
|
|
|
18
18
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1FromJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1FromJSONTyped;
|
|
19
19
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1ToJSON = MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1ToJSON;
|
|
20
20
|
exports.MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1ToJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1ToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1 = require("./MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js");
|
|
22
22
|
const MailSequenceRunRecord_js_1 = require("./MailSequenceRunRecord.js");
|
|
23
23
|
const MailCampaignDraftRecord_js_1 = require("./MailCampaignDraftRecord.js");
|
|
24
24
|
/**
|
|
@@ -41,7 +41,7 @@ function MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1FromJSONTyped(json,
|
|
|
41
41
|
return json;
|
|
42
42
|
}
|
|
43
43
|
return {
|
|
44
|
-
'campaign': (0,
|
|
44
|
+
'campaign': (0, MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1.MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON)(json['campaign']),
|
|
45
45
|
'draft': (0, MailCampaignDraftRecord_js_1.MailCampaignDraftRecordFromJSON)(json['draft']),
|
|
46
46
|
'sequences': (json['sequences'].map(MailSequenceRunRecord_js_1.MailSequenceRunRecordFromJSON)),
|
|
47
47
|
};
|
|
@@ -54,7 +54,7 @@ function MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1ToJSONTyped(value,
|
|
|
54
54
|
return value;
|
|
55
55
|
}
|
|
56
56
|
return {
|
|
57
|
-
'campaign': (0,
|
|
57
|
+
'campaign': (0, MailPostCampaignsByCampaignIdLaunchResponse200Campaign_js_1.MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON)(value['campaign']),
|
|
58
58
|
'draft': (0, MailCampaignDraftRecord_js_1.MailCampaignDraftRecordToJSON)(value['draft']),
|
|
59
59
|
'sequences': (value['sequences'].map(MailSequenceRunRecord_js_1.MailSequenceRunRecordToJSON)),
|
|
60
60
|
};
|
|
@@ -13,9 +13,9 @@ import type { MailCampaignProgressMessageCounts } from './MailCampaignProgressMe
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface MailPostCampaignsByCampaignIdLaunchResponse200Campaign
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface MailPostCampaignsByCampaignIdLaunchResponse200Campaign {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
@@ -58,10 +58,10 @@ export interface MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign {
|
|
|
58
58
|
updatedAt: string;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
* Check if a given object implements the
|
|
61
|
+
* Check if a given object implements the MailPostCampaignsByCampaignIdLaunchResponse200Campaign interface.
|
|
62
62
|
*/
|
|
63
|
-
export declare function
|
|
64
|
-
export declare function
|
|
65
|
-
export declare function
|
|
66
|
-
export declare function
|
|
67
|
-
export declare function
|
|
63
|
+
export declare function instanceOfMailPostCampaignsByCampaignIdLaunchResponse200Campaign(value: object): value is MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
64
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json: any): MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
65
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped(json: any, ignoreDiscriminator: boolean): MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
66
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(json: any): MailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
67
|
+
export declare function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped(value?: MailPostCampaignsByCampaignIdLaunchResponse200Campaign | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfMailPostCampaignsByCampaignIdLaunchResponse200Campaign = instanceOfMailPostCampaignsByCampaignIdLaunchResponse200Campaign;
|
|
17
|
+
exports.MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON = MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON;
|
|
18
|
+
exports.MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped;
|
|
19
|
+
exports.MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON = MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON;
|
|
20
|
+
exports.MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped = MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped;
|
|
21
21
|
const MailCampaignProgressMessageCounts_js_1 = require("./MailCampaignProgressMessageCounts.js");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the MailPostCampaignsByCampaignIdLaunchResponse200Campaign interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfMailPostCampaignsByCampaignIdLaunchResponse200Campaign(value) {
|
|
26
26
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('id' in value) || value['id'] === undefined)
|
|
@@ -45,10 +45,10 @@ function instanceOfMailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaign(v
|
|
|
45
45
|
return false;
|
|
46
46
|
return true;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return
|
|
48
|
+
function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSON(json) {
|
|
49
|
+
return MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped(json, false);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function MailPostCampaignsByCampaignIdLaunchResponse200CampaignFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
52
|
if (json == null) {
|
|
53
53
|
return json;
|
|
54
54
|
}
|
|
@@ -65,10 +65,10 @@ function MailPostCampaignsByCampaignIdLaunchResponse200AnyOfCampaignFromJSONType
|
|
|
65
65
|
'updatedAt': json['updatedAt'],
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
68
|
+
function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSON(json) {
|
|
69
|
+
return MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped(json, false);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function MailPostCampaignsByCampaignIdLaunchResponse200CampaignToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
72
|
if (value == null) {
|
|
73
73
|
return value;
|
|
74
74
|
}
|
|
@@ -19,7 +19,7 @@ export interface MailPostInboxByMessageIdResponse200 {
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
message: MailPostInboxByMessageIdResponse200Message;
|
|
22
|
+
message: MailPostInboxByMessageIdResponse200Message | null;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Check if a given object implements the MailPostInboxByMessageIdResponse200 interface.
|
|
@@ -32,6 +32,7 @@ export interface MailPostPortfolioSuppressionsRequest {
|
|
|
32
32
|
* @export
|
|
33
33
|
*/
|
|
34
34
|
export declare const MailPostPortfolioSuppressionsRequestScopeEnum: {
|
|
35
|
+
readonly Email: "email";
|
|
35
36
|
readonly Domain: "domain";
|
|
36
37
|
};
|
|
37
38
|
export type MailPostPortfolioSuppressionsRequestScopeEnum = typeof MailPostPortfolioSuppressionsRequestScopeEnum[keyof typeof MailPostPortfolioSuppressionsRequestScopeEnum];
|
|
@@ -23,6 +23,7 @@ exports.MailPostPortfolioSuppressionsRequestToJSONTyped = MailPostPortfolioSuppr
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.MailPostPortfolioSuppressionsRequestScopeEnum = {
|
|
26
|
+
Email: 'email',
|
|
26
27
|
Domain: 'domain',
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
@@ -31,8 +32,6 @@ exports.MailPostPortfolioSuppressionsRequestScopeEnum = {
|
|
|
31
32
|
function instanceOfMailPostPortfolioSuppressionsRequest(value) {
|
|
32
33
|
if (!('scope' in value) || value['scope'] === undefined)
|
|
33
34
|
return false;
|
|
34
|
-
if (value['scope'] !== 'domain')
|
|
35
|
-
return false;
|
|
36
35
|
if (!('value' in value) || value['value'] === undefined)
|
|
37
36
|
return false;
|
|
38
37
|
return true;
|
|
@@ -28,6 +28,7 @@ export interface MailPostSuppressionsRequest {
|
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
30
|
export declare const MailPostSuppressionsRequestScopeEnum: {
|
|
31
|
+
readonly Email: "email";
|
|
31
32
|
readonly Domain: "domain";
|
|
32
33
|
};
|
|
33
34
|
export type MailPostSuppressionsRequestScopeEnum = typeof MailPostSuppressionsRequestScopeEnum[keyof typeof MailPostSuppressionsRequestScopeEnum];
|
|
@@ -23,6 +23,7 @@ exports.MailPostSuppressionsRequestToJSONTyped = MailPostSuppressionsRequestToJS
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.MailPostSuppressionsRequestScopeEnum = {
|
|
26
|
+
Email: 'email',
|
|
26
27
|
Domain: 'domain',
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
@@ -31,8 +32,6 @@ exports.MailPostSuppressionsRequestScopeEnum = {
|
|
|
31
32
|
function instanceOfMailPostSuppressionsRequest(value) {
|
|
32
33
|
if (!('scope' in value) || value['scope'] === undefined)
|
|
33
34
|
return false;
|
|
34
|
-
if (value['scope'] !== 'domain')
|
|
35
|
-
return false;
|
|
36
35
|
if (!('value' in value) || value['value'] === undefined)
|
|
37
36
|
return false;
|
|
38
37
|
return true;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ export * from './MailGetPortfolioOverviewResponse200.js';
|
|
|
236
236
|
export * from './MailGetPortfolioResponse200.js';
|
|
237
237
|
export * from './MailGetPortfolioResponse200AnyOf.js';
|
|
238
238
|
export * from './MailGetPortfolioResponse200AnyOf1.js';
|
|
239
|
+
export * from './MailGetPortfolioResponse200Portfolio.js';
|
|
239
240
|
export * from './MailGetQueueResponse200.js';
|
|
240
241
|
export * from './MailGetReplyAutomationsResponse200.js';
|
|
241
242
|
export * from './MailGetSignaturesResponse200.js';
|
|
@@ -318,7 +319,7 @@ export * from './MailPostCampaignsByCampaignIdLaunchRequest.js';
|
|
|
318
319
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200.js';
|
|
319
320
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js';
|
|
320
321
|
export * from './MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js';
|
|
321
|
-
export * from './
|
|
322
|
+
export * from './MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js';
|
|
322
323
|
export * from './MailPostCampaignsByCampaignIdStateRequest.js';
|
|
323
324
|
export * from './MailPostCampaignsByCampaignIdStateResponse200.js';
|
|
324
325
|
export * from './MailPostCampaignsRequest.js';
|
package/dist/models/index.js
CHANGED
|
@@ -254,6 +254,7 @@ __exportStar(require("./MailGetPortfolioOverviewResponse200.js"), exports);
|
|
|
254
254
|
__exportStar(require("./MailGetPortfolioResponse200.js"), exports);
|
|
255
255
|
__exportStar(require("./MailGetPortfolioResponse200AnyOf.js"), exports);
|
|
256
256
|
__exportStar(require("./MailGetPortfolioResponse200AnyOf1.js"), exports);
|
|
257
|
+
__exportStar(require("./MailGetPortfolioResponse200Portfolio.js"), exports);
|
|
257
258
|
__exportStar(require("./MailGetQueueResponse200.js"), exports);
|
|
258
259
|
__exportStar(require("./MailGetReplyAutomationsResponse200.js"), exports);
|
|
259
260
|
__exportStar(require("./MailGetSignaturesResponse200.js"), exports);
|
|
@@ -336,7 +337,7 @@ __exportStar(require("./MailPostCampaignsByCampaignIdLaunchRequest.js"), exports
|
|
|
336
337
|
__exportStar(require("./MailPostCampaignsByCampaignIdLaunchResponse200.js"), exports);
|
|
337
338
|
__exportStar(require("./MailPostCampaignsByCampaignIdLaunchResponse200AnyOf.js"), exports);
|
|
338
339
|
__exportStar(require("./MailPostCampaignsByCampaignIdLaunchResponse200AnyOf1.js"), exports);
|
|
339
|
-
__exportStar(require("./
|
|
340
|
+
__exportStar(require("./MailPostCampaignsByCampaignIdLaunchResponse200Campaign.js"), exports);
|
|
340
341
|
__exportStar(require("./MailPostCampaignsByCampaignIdStateRequest.js"), exports);
|
|
341
342
|
__exportStar(require("./MailPostCampaignsByCampaignIdStateResponse200.js"), exports);
|
|
342
343
|
__exportStar(require("./MailPostCampaignsRequest.js"), exports);
|