pingram 1.0.42-alpha.1735 → 1.0.42-alpha.1737
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/generated/src/apis/DomainsApi.d.ts +8 -8
- package/dist/generated/src/apis/DomainsApi.js +4 -4
- package/dist/generated/src/models/CheckDomainDnsRequest.d.ts +32 -0
- package/dist/generated/src/models/CheckDomainDnsRequest.js +48 -0
- package/dist/generated/src/models/DomainDnsCheckRecordsInner.d.ts +1 -0
- package/dist/generated/src/models/DomainDnsCheckRecordsInner.js +2 -1
- package/dist/generated/src/models/GetSendersResponseInner.d.ts +46 -0
- package/dist/generated/src/models/GetSendersResponseInner.js +33 -3
- package/dist/generated/src/models/GetSendersResponseInnerVerificationRecords.d.ts +6 -0
- package/dist/generated/src/models/GetSendersResponseInnerVerificationRecords.js +6 -2
- package/dist/generated/src/models/GetSendersResponseInnerVerificationRecordsDkim.d.ts +1 -0
- package/dist/generated/src/models/GetSendersResponseInnerVerificationRecordsDkim.js +2 -1
- package/dist/generated/src/models/index.d.ts +1 -0
- package/dist/generated/src/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ export interface DomainsApiInterface {
|
|
|
42
42
|
*/
|
|
43
43
|
addDomain(postSendersRequestBody: PostSendersRequestBody, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
44
44
|
/**
|
|
45
|
-
* Remove a
|
|
45
|
+
* Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
|
|
46
46
|
* @summary Remove a sender domain from the account
|
|
47
47
|
* @param {string} sender Sender domain (URL encoded)
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
@@ -51,7 +51,7 @@ export interface DomainsApiInterface {
|
|
|
51
51
|
*/
|
|
52
52
|
deleteDomainRaw(requestParameters: DeleteDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessResponse>>;
|
|
53
53
|
/**
|
|
54
|
-
* Remove a
|
|
54
|
+
* Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
|
|
55
55
|
* Remove a sender domain from the account
|
|
56
56
|
*/
|
|
57
57
|
deleteDomain(sender: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
|
|
@@ -69,7 +69,7 @@ export interface DomainsApiInterface {
|
|
|
69
69
|
*/
|
|
70
70
|
listDomains(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
71
71
|
/**
|
|
72
|
-
* Start domain
|
|
72
|
+
* Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
|
|
73
73
|
* @summary Start domain verification
|
|
74
74
|
* @param {string} sender Sender domain (URL encoded)
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
@@ -78,7 +78,7 @@ export interface DomainsApiInterface {
|
|
|
78
78
|
*/
|
|
79
79
|
startDomainVerificationRaw(requestParameters: StartDomainVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetSendersResponseInner>>>;
|
|
80
80
|
/**
|
|
81
|
-
* Start domain
|
|
81
|
+
* Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
|
|
82
82
|
* Start domain verification
|
|
83
83
|
*/
|
|
84
84
|
startDomainVerification(sender: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
@@ -98,12 +98,12 @@ export declare class DomainsApi extends runtime.BaseAPI implements DomainsApiInt
|
|
|
98
98
|
*/
|
|
99
99
|
addDomain(postSendersRequestBody: PostSendersRequestBody, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
100
100
|
/**
|
|
101
|
-
* Remove a
|
|
101
|
+
* Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
|
|
102
102
|
* Remove a sender domain from the account
|
|
103
103
|
*/
|
|
104
104
|
deleteDomainRaw(requestParameters: DeleteDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessResponse>>;
|
|
105
105
|
/**
|
|
106
|
-
* Remove a
|
|
106
|
+
* Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
|
|
107
107
|
* Remove a sender domain from the account
|
|
108
108
|
*/
|
|
109
109
|
deleteDomain(sender: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
|
|
@@ -118,12 +118,12 @@ export declare class DomainsApi extends runtime.BaseAPI implements DomainsApiInt
|
|
|
118
118
|
*/
|
|
119
119
|
listDomains(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
120
120
|
/**
|
|
121
|
-
* Start domain
|
|
121
|
+
* Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
|
|
122
122
|
* Start domain verification
|
|
123
123
|
*/
|
|
124
124
|
startDomainVerificationRaw(requestParameters: StartDomainVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetSendersResponseInner>>>;
|
|
125
125
|
/**
|
|
126
|
-
* Start domain
|
|
126
|
+
* Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
|
|
127
127
|
* Start domain verification
|
|
128
128
|
*/
|
|
129
129
|
startDomainVerification(sender: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
@@ -111,7 +111,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
111
111
|
return await response.value();
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* Remove a
|
|
114
|
+
* Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
|
|
115
115
|
* Remove a sender domain from the account
|
|
116
116
|
*/
|
|
117
117
|
async deleteDomainRaw(requestParameters, initOverrides) {
|
|
@@ -159,7 +159,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
159
159
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SuccessResponseFromJSON)(jsonValue));
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* Remove a
|
|
162
|
+
* Remove a sending domain from this account. You can no longer send from it, and the tracking subdomain this account created for it stops serving opens, clicks, and unsubscribe for new mail.
|
|
163
163
|
* Remove a sender domain from the account
|
|
164
164
|
*/
|
|
165
165
|
async deleteDomain(sender, initOverrides) {
|
|
@@ -219,7 +219,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
219
219
|
return await response.value();
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
|
-
* Start domain
|
|
222
|
+
* Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
|
|
223
223
|
* Start domain verification
|
|
224
224
|
*/
|
|
225
225
|
async startDomainVerificationRaw(requestParameters, initOverrides) {
|
|
@@ -267,7 +267,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
267
267
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.GetSendersResponseInnerFromJSON));
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
|
-
* Start domain
|
|
270
|
+
* Start verification for a domain already on this account, so you can send from addresses on it. Publish the DNS records first. This also checks the tracking subdomain and keeps setting it up. Call it again any time. If verification has already started, this still checks the tracking subdomain and returns the domain as it is now.
|
|
271
271
|
* Start domain verification
|
|
272
272
|
*/
|
|
273
273
|
async startDomainVerification(sender, initOverrides) {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pingram
|
|
3
|
+
* Internal API for notification delivery and management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 CheckDomainDnsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CheckDomainDnsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Subdomain to check for click tracking, the open pixel, and the unsubscribe page, such as links. Defaults to links on this sending domain.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CheckDomainDnsRequest
|
|
22
|
+
*/
|
|
23
|
+
trackingSubdomain?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CheckDomainDnsRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCheckDomainDnsRequest(value: object): value is CheckDomainDnsRequest;
|
|
29
|
+
export declare function CheckDomainDnsRequestFromJSON(json: any): CheckDomainDnsRequest;
|
|
30
|
+
export declare function CheckDomainDnsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckDomainDnsRequest;
|
|
31
|
+
export declare function CheckDomainDnsRequestToJSON(json: any): CheckDomainDnsRequest;
|
|
32
|
+
export declare function CheckDomainDnsRequestToJSONTyped(value?: CheckDomainDnsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Pingram
|
|
6
|
+
* Internal API for notification delivery and management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.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.instanceOfCheckDomainDnsRequest = instanceOfCheckDomainDnsRequest;
|
|
17
|
+
exports.CheckDomainDnsRequestFromJSON = CheckDomainDnsRequestFromJSON;
|
|
18
|
+
exports.CheckDomainDnsRequestFromJSONTyped = CheckDomainDnsRequestFromJSONTyped;
|
|
19
|
+
exports.CheckDomainDnsRequestToJSON = CheckDomainDnsRequestToJSON;
|
|
20
|
+
exports.CheckDomainDnsRequestToJSONTyped = CheckDomainDnsRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CheckDomainDnsRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCheckDomainDnsRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function CheckDomainDnsRequestFromJSON(json) {
|
|
28
|
+
return CheckDomainDnsRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function CheckDomainDnsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
trackingSubdomain: json['trackingSubdomain'] == null ? undefined : json['trackingSubdomain']
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function CheckDomainDnsRequestToJSON(json) {
|
|
39
|
+
return CheckDomainDnsRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function CheckDomainDnsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
trackingSubdomain: value['trackingSubdomain']
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -73,6 +73,7 @@ export declare const DomainDnsCheckRecordsInnerIdEnum: {
|
|
|
73
73
|
readonly MAIL_FROM_MX: "mail_from_mx";
|
|
74
74
|
readonly DMARC: "dmarc";
|
|
75
75
|
readonly INBOUND_MX: "inbound_mx";
|
|
76
|
+
readonly TRACKING_CNAME: "trackingCname";
|
|
76
77
|
};
|
|
77
78
|
export type DomainDnsCheckRecordsInnerIdEnum = (typeof DomainDnsCheckRecordsInnerIdEnum)[keyof typeof DomainDnsCheckRecordsInnerIdEnum];
|
|
78
79
|
/**
|
|
@@ -16,6 +16,12 @@ import type { GetSendersResponseInnerVerificationRecords } from './GetSendersRes
|
|
|
16
16
|
* @interface GetSendersResponseInner
|
|
17
17
|
*/
|
|
18
18
|
export interface GetSendersResponseInner {
|
|
19
|
+
/**
|
|
20
|
+
* What is still missing before new mail can use the tracking subdomain.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetSendersResponseInner
|
|
23
|
+
*/
|
|
24
|
+
waitingFor?: string;
|
|
19
25
|
/**
|
|
20
26
|
*
|
|
21
27
|
* @type {string}
|
|
@@ -76,6 +82,24 @@ export interface GetSendersResponseInner {
|
|
|
76
82
|
* @memberof GetSendersResponseInner
|
|
77
83
|
*/
|
|
78
84
|
verificationRecords?: GetSendersResponseInnerVerificationRecords;
|
|
85
|
+
/**
|
|
86
|
+
* Subdomain recipients see on click tracking, the open pixel, and the unsubscribe page, such as links.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof GetSendersResponseInner
|
|
89
|
+
*/
|
|
90
|
+
trackingSubdomain?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Whether tracked links on this subdomain are not started, waiting, active, or failed.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof GetSendersResponseInner
|
|
95
|
+
*/
|
|
96
|
+
trackingStatus?: GetSendersResponseInnerTrackingStatusEnum;
|
|
97
|
+
/**
|
|
98
|
+
* Why tracked links on this subdomain are not active, when setup did not succeed.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof GetSendersResponseInner
|
|
101
|
+
*/
|
|
102
|
+
trackingFailureReason?: GetSendersResponseInnerTrackingFailureReasonEnum;
|
|
79
103
|
}
|
|
80
104
|
/**
|
|
81
105
|
* @export
|
|
@@ -98,6 +122,28 @@ export declare const GetSendersResponseInnerMailFromDomainStatusEnum: {
|
|
|
98
122
|
readonly TEMPORARY_FAILURE: "TEMPORARY_FAILURE";
|
|
99
123
|
};
|
|
100
124
|
export type GetSendersResponseInnerMailFromDomainStatusEnum = (typeof GetSendersResponseInnerMailFromDomainStatusEnum)[keyof typeof GetSendersResponseInnerMailFromDomainStatusEnum];
|
|
125
|
+
/**
|
|
126
|
+
* @export
|
|
127
|
+
*/
|
|
128
|
+
export declare const GetSendersResponseInnerTrackingStatusEnum: {
|
|
129
|
+
readonly NOT_STARTED: "NOT_STARTED";
|
|
130
|
+
readonly PENDING: "PENDING";
|
|
131
|
+
readonly ACTIVE: "ACTIVE";
|
|
132
|
+
readonly FAILED: "FAILED";
|
|
133
|
+
};
|
|
134
|
+
export type GetSendersResponseInnerTrackingStatusEnum = (typeof GetSendersResponseInnerTrackingStatusEnum)[keyof typeof GetSendersResponseInnerTrackingStatusEnum];
|
|
135
|
+
/**
|
|
136
|
+
* @export
|
|
137
|
+
*/
|
|
138
|
+
export declare const GetSendersResponseInnerTrackingFailureReasonEnum: {
|
|
139
|
+
readonly CNAME_MISSING: "cname_missing";
|
|
140
|
+
readonly CNAME_PROXIED: "cname_proxied";
|
|
141
|
+
readonly CNAME_CONFLICT: "cname_conflict";
|
|
142
|
+
readonly CERT_FAILED: "cert_failed";
|
|
143
|
+
readonly PROBE_FAILED: "probe_failed";
|
|
144
|
+
readonly DKIM_LOST: "dkim_lost";
|
|
145
|
+
};
|
|
146
|
+
export type GetSendersResponseInnerTrackingFailureReasonEnum = (typeof GetSendersResponseInnerTrackingFailureReasonEnum)[keyof typeof GetSendersResponseInnerTrackingFailureReasonEnum];
|
|
101
147
|
/**
|
|
102
148
|
* Check if a given object implements the GetSendersResponseInner interface.
|
|
103
149
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetSendersResponseInnerMailFromDomainStatusEnum = exports.GetSendersResponseInnerStatusEnum = void 0;
|
|
16
|
+
exports.GetSendersResponseInnerTrackingFailureReasonEnum = exports.GetSendersResponseInnerTrackingStatusEnum = exports.GetSendersResponseInnerMailFromDomainStatusEnum = exports.GetSendersResponseInnerStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfGetSendersResponseInner = instanceOfGetSendersResponseInner;
|
|
18
18
|
exports.GetSendersResponseInnerFromJSON = GetSendersResponseInnerFromJSON;
|
|
19
19
|
exports.GetSendersResponseInnerFromJSONTyped = GetSendersResponseInnerFromJSONTyped;
|
|
@@ -39,6 +39,26 @@ exports.GetSendersResponseInnerMailFromDomainStatusEnum = {
|
|
|
39
39
|
FAILED: 'FAILED',
|
|
40
40
|
TEMPORARY_FAILURE: 'TEMPORARY_FAILURE'
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
exports.GetSendersResponseInnerTrackingStatusEnum = {
|
|
46
|
+
NOT_STARTED: 'NOT_STARTED',
|
|
47
|
+
PENDING: 'PENDING',
|
|
48
|
+
ACTIVE: 'ACTIVE',
|
|
49
|
+
FAILED: 'FAILED'
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
exports.GetSendersResponseInnerTrackingFailureReasonEnum = {
|
|
55
|
+
CNAME_MISSING: 'cname_missing',
|
|
56
|
+
CNAME_PROXIED: 'cname_proxied',
|
|
57
|
+
CNAME_CONFLICT: 'cname_conflict',
|
|
58
|
+
CERT_FAILED: 'cert_failed',
|
|
59
|
+
PROBE_FAILED: 'probe_failed',
|
|
60
|
+
DKIM_LOST: 'dkim_lost'
|
|
61
|
+
};
|
|
42
62
|
/**
|
|
43
63
|
* Check if a given object implements the GetSendersResponseInner interface.
|
|
44
64
|
*/
|
|
@@ -63,6 +83,7 @@ function GetSendersResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
83
|
return json;
|
|
64
84
|
}
|
|
65
85
|
return {
|
|
86
|
+
waitingFor: json['waitingFor'] == null ? undefined : json['waitingFor'],
|
|
66
87
|
sender: json['sender'],
|
|
67
88
|
status: json['status'],
|
|
68
89
|
lastSync: new Date(json['lastSync']),
|
|
@@ -78,7 +99,12 @@ function GetSendersResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
99
|
selector: json['selector'],
|
|
79
100
|
verificationRecords: json['verificationRecords'] == null
|
|
80
101
|
? undefined
|
|
81
|
-
: (0, GetSendersResponseInnerVerificationRecords_1.GetSendersResponseInnerVerificationRecordsFromJSON)(json['verificationRecords'])
|
|
102
|
+
: (0, GetSendersResponseInnerVerificationRecords_1.GetSendersResponseInnerVerificationRecordsFromJSON)(json['verificationRecords']),
|
|
103
|
+
trackingSubdomain: json['trackingSubdomain'] == null ? undefined : json['trackingSubdomain'],
|
|
104
|
+
trackingStatus: json['trackingStatus'] == null ? undefined : json['trackingStatus'],
|
|
105
|
+
trackingFailureReason: json['trackingFailureReason'] == null
|
|
106
|
+
? undefined
|
|
107
|
+
: json['trackingFailureReason']
|
|
82
108
|
};
|
|
83
109
|
}
|
|
84
110
|
function GetSendersResponseInnerToJSON(json) {
|
|
@@ -89,6 +115,7 @@ function GetSendersResponseInnerToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
89
115
|
return value;
|
|
90
116
|
}
|
|
91
117
|
return {
|
|
118
|
+
waitingFor: value['waitingFor'],
|
|
92
119
|
sender: value['sender'],
|
|
93
120
|
status: value['status'],
|
|
94
121
|
lastSync: value['lastSync'].toISOString(),
|
|
@@ -98,6 +125,9 @@ function GetSendersResponseInnerToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
98
125
|
privateDKIMKey: value['privateDKIMKey'],
|
|
99
126
|
reminderSentAt: value['reminderSentAt'],
|
|
100
127
|
selector: value['selector'],
|
|
101
|
-
verificationRecords: (0, GetSendersResponseInnerVerificationRecords_1.GetSendersResponseInnerVerificationRecordsToJSON)(value['verificationRecords'])
|
|
128
|
+
verificationRecords: (0, GetSendersResponseInnerVerificationRecords_1.GetSendersResponseInnerVerificationRecordsToJSON)(value['verificationRecords']),
|
|
129
|
+
trackingSubdomain: value['trackingSubdomain'],
|
|
130
|
+
trackingStatus: value['trackingStatus'],
|
|
131
|
+
trackingFailureReason: value['trackingFailureReason']
|
|
102
132
|
};
|
|
103
133
|
}
|
|
@@ -46,6 +46,12 @@ export interface GetSendersResponseInnerVerificationRecords {
|
|
|
46
46
|
* @memberof GetSendersResponseInnerVerificationRecords
|
|
47
47
|
*/
|
|
48
48
|
inbound_mx?: GetSendersResponseInnerVerificationRecordsDkim;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {GetSendersResponseInnerVerificationRecordsDkim}
|
|
52
|
+
* @memberof GetSendersResponseInnerVerificationRecords
|
|
53
|
+
*/
|
|
54
|
+
trackingCname?: GetSendersResponseInnerVerificationRecordsDkim;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* Check if a given object implements the GetSendersResponseInnerVerificationRecords interface.
|
|
@@ -47,7 +47,10 @@ function GetSendersResponseInnerVerificationRecordsFromJSONTyped(json, ignoreDis
|
|
|
47
47
|
: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimFromJSON)(json['dmarc']),
|
|
48
48
|
inbound_mx: json['inbound_mx'] == null
|
|
49
49
|
? undefined
|
|
50
|
-
: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimFromJSON)(json['inbound_mx'])
|
|
50
|
+
: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimFromJSON)(json['inbound_mx']),
|
|
51
|
+
trackingCname: json['trackingCname'] == null
|
|
52
|
+
? undefined
|
|
53
|
+
: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimFromJSON)(json['trackingCname'])
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
function GetSendersResponseInnerVerificationRecordsToJSON(json) {
|
|
@@ -62,6 +65,7 @@ function GetSendersResponseInnerVerificationRecordsToJSONTyped(value, ignoreDisc
|
|
|
62
65
|
mail_from_spf: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimToJSON)(value['mail_from_spf']),
|
|
63
66
|
mail_from_mx: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimToJSON)(value['mail_from_mx']),
|
|
64
67
|
dmarc: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimToJSON)(value['dmarc']),
|
|
65
|
-
inbound_mx: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimToJSON)(value['inbound_mx'])
|
|
68
|
+
inbound_mx: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimToJSON)(value['inbound_mx']),
|
|
69
|
+
trackingCname: (0, GetSendersResponseInnerVerificationRecordsDkim_1.GetSendersResponseInnerVerificationRecordsDkimToJSON)(value['trackingCname'])
|
|
66
70
|
};
|
|
67
71
|
}
|
|
@@ -58,6 +58,7 @@ export interface GetSendersResponseInnerVerificationRecordsDkim {
|
|
|
58
58
|
export declare const GetSendersResponseInnerVerificationRecordsDkimRecordTypeEnum: {
|
|
59
59
|
readonly TXT: "TXT";
|
|
60
60
|
readonly MX: "MX";
|
|
61
|
+
readonly CNAME: "CNAME";
|
|
61
62
|
};
|
|
62
63
|
export type GetSendersResponseInnerVerificationRecordsDkimRecordTypeEnum = (typeof GetSendersResponseInnerVerificationRecordsDkimRecordTypeEnum)[keyof typeof GetSendersResponseInnerVerificationRecordsDkimRecordTypeEnum];
|
|
63
64
|
/**
|
|
@@ -24,7 +24,8 @@ exports.GetSendersResponseInnerVerificationRecordsDkimToJSONTyped = GetSendersRe
|
|
|
24
24
|
*/
|
|
25
25
|
exports.GetSendersResponseInnerVerificationRecordsDkimRecordTypeEnum = {
|
|
26
26
|
TXT: 'TXT',
|
|
27
|
-
MX: 'MX'
|
|
27
|
+
MX: 'MX',
|
|
28
|
+
CNAME: 'CNAME'
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Check if a given object implements the GetSendersResponseInnerVerificationRecordsDkim interface.
|
|
@@ -34,6 +34,7 @@ export * from './CampaignWebhookResponse';
|
|
|
34
34
|
export * from './CancelSubscriptionRequest';
|
|
35
35
|
export * from './ChangePhoneRequest';
|
|
36
36
|
export * from './ChannelsEnum';
|
|
37
|
+
export * from './CheckDomainDnsRequest';
|
|
37
38
|
export * from './ConfirmChangeEmailRequest';
|
|
38
39
|
export * from './ConfirmChangeEmailResponse';
|
|
39
40
|
export * from './ConfirmPasswordChangeRequest';
|
|
@@ -52,6 +52,7 @@ __exportStar(require("./CampaignWebhookResponse"), exports);
|
|
|
52
52
|
__exportStar(require("./CancelSubscriptionRequest"), exports);
|
|
53
53
|
__exportStar(require("./ChangePhoneRequest"), exports);
|
|
54
54
|
__exportStar(require("./ChannelsEnum"), exports);
|
|
55
|
+
__exportStar(require("./CheckDomainDnsRequest"), exports);
|
|
55
56
|
__exportStar(require("./ConfirmChangeEmailRequest"), exports);
|
|
56
57
|
__exportStar(require("./ConfirmChangeEmailResponse"), exports);
|
|
57
58
|
__exportStar(require("./ConfirmPasswordChangeRequest"), exports);
|
package/package.json
CHANGED