@zyphr-dev/node-sdk 0.1.30 → 0.1.32
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 +28 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +42 -2
- package/dist/index.d.ts +42 -2
- package/dist/index.js +26 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/src/apis/DomainsApi.ts +6 -6
- package/src/src/models/DomainResponse.ts +47 -1
package/dist/index.cjs
CHANGED
|
@@ -387,6 +387,8 @@ __export(index_exports, {
|
|
|
387
387
|
DomainListResponseToJSONTyped: () => DomainListResponseToJSONTyped,
|
|
388
388
|
DomainResponseFromJSON: () => DomainResponseFromJSON,
|
|
389
389
|
DomainResponseFromJSONTyped: () => DomainResponseFromJSONTyped,
|
|
390
|
+
DomainResponseSesDkimStatusEnum: () => DomainResponseSesDkimStatusEnum,
|
|
391
|
+
DomainResponseSesIdentityStatusEnum: () => DomainResponseSesIdentityStatusEnum,
|
|
390
392
|
DomainResponseStatusEnum: () => DomainResponseStatusEnum,
|
|
391
393
|
DomainResponseToJSON: () => DomainResponseToJSON,
|
|
392
394
|
DomainResponseToJSONTyped: () => DomainResponseToJSONTyped,
|
|
@@ -2478,6 +2480,20 @@ var DomainResponseStatusEnum = {
|
|
|
2478
2480
|
VERIFIED: "verified",
|
|
2479
2481
|
FAILED: "failed"
|
|
2480
2482
|
};
|
|
2483
|
+
var DomainResponseSesIdentityStatusEnum = {
|
|
2484
|
+
PENDING: "pending",
|
|
2485
|
+
SUCCESS: "success",
|
|
2486
|
+
FAILED: "failed",
|
|
2487
|
+
TEMPORARY_FAILURE: "temporary_failure",
|
|
2488
|
+
NOT_STARTED: "not_started"
|
|
2489
|
+
};
|
|
2490
|
+
var DomainResponseSesDkimStatusEnum = {
|
|
2491
|
+
PENDING: "pending",
|
|
2492
|
+
SUCCESS: "success",
|
|
2493
|
+
FAILED: "failed",
|
|
2494
|
+
TEMPORARY_FAILURE: "temporary_failure",
|
|
2495
|
+
NOT_STARTED: "not_started"
|
|
2496
|
+
};
|
|
2481
2497
|
function instanceOfDomainResponse(value) {
|
|
2482
2498
|
if (!("id" in value) || value["id"] === void 0) return false;
|
|
2483
2499
|
if (!("domain" in value) || value["domain"] === void 0) return false;
|
|
@@ -2503,6 +2519,8 @@ function DomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2503
2519
|
"recordsVerified": json["records_verified"],
|
|
2504
2520
|
"recordsTotal": json["records_total"],
|
|
2505
2521
|
"verificationToken": json["verification_token"] == null ? void 0 : json["verification_token"],
|
|
2522
|
+
"sesIdentityStatus": json["ses_identity_status"] == null ? void 0 : json["ses_identity_status"],
|
|
2523
|
+
"sesDkimStatus": json["ses_dkim_status"] == null ? void 0 : json["ses_dkim_status"],
|
|
2506
2524
|
"verifiedAt": json["verified_at"] == null ? void 0 : new Date(json["verified_at"]),
|
|
2507
2525
|
"lastCheckedAt": json["last_checked_at"] == null ? void 0 : new Date(json["last_checked_at"]),
|
|
2508
2526
|
"createdAt": new Date(json["created_at"]),
|
|
@@ -2524,6 +2542,8 @@ function DomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2524
2542
|
"records_verified": value["recordsVerified"],
|
|
2525
2543
|
"records_total": value["recordsTotal"],
|
|
2526
2544
|
"verification_token": value["verificationToken"],
|
|
2545
|
+
"ses_identity_status": value["sesIdentityStatus"],
|
|
2546
|
+
"ses_dkim_status": value["sesDkimStatus"],
|
|
2527
2547
|
"verified_at": value["verifiedAt"] == null ? void 0 : value["verifiedAt"].toISOString(),
|
|
2528
2548
|
"last_checked_at": value["lastCheckedAt"] == null ? void 0 : value["lastCheckedAt"].toISOString(),
|
|
2529
2549
|
"created_at": value["createdAt"].toISOString(),
|
|
@@ -17941,7 +17961,7 @@ var DomainsApi = class extends BaseAPI {
|
|
|
17941
17961
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
17942
17962
|
}
|
|
17943
17963
|
const response = await this.request({
|
|
17944
|
-
path: `/
|
|
17964
|
+
path: `/domains`,
|
|
17945
17965
|
method: "POST",
|
|
17946
17966
|
headers: headerParameters,
|
|
17947
17967
|
query: queryParameters,
|
|
@@ -17974,7 +17994,7 @@ var DomainsApi = class extends BaseAPI {
|
|
|
17974
17994
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
17975
17995
|
}
|
|
17976
17996
|
const response = await this.request({
|
|
17977
|
-
path: `/
|
|
17997
|
+
path: `/domains/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
17978
17998
|
method: "DELETE",
|
|
17979
17999
|
headers: headerParameters,
|
|
17980
18000
|
query: queryParameters
|
|
@@ -18006,7 +18026,7 @@ var DomainsApi = class extends BaseAPI {
|
|
|
18006
18026
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18007
18027
|
}
|
|
18008
18028
|
const response = await this.request({
|
|
18009
|
-
path: `/
|
|
18029
|
+
path: `/domains/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
18010
18030
|
method: "GET",
|
|
18011
18031
|
headers: headerParameters,
|
|
18012
18032
|
query: queryParameters
|
|
@@ -18038,7 +18058,7 @@ var DomainsApi = class extends BaseAPI {
|
|
|
18038
18058
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18039
18059
|
}
|
|
18040
18060
|
const response = await this.request({
|
|
18041
|
-
path: `/
|
|
18061
|
+
path: `/domains/{id}/verification-status`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
18042
18062
|
method: "GET",
|
|
18043
18063
|
headers: headerParameters,
|
|
18044
18064
|
query: queryParameters
|
|
@@ -18064,7 +18084,7 @@ var DomainsApi = class extends BaseAPI {
|
|
|
18064
18084
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18065
18085
|
}
|
|
18066
18086
|
const response = await this.request({
|
|
18067
|
-
path: `/
|
|
18087
|
+
path: `/domains`,
|
|
18068
18088
|
method: "GET",
|
|
18069
18089
|
headers: headerParameters,
|
|
18070
18090
|
query: queryParameters
|
|
@@ -18096,7 +18116,7 @@ var DomainsApi = class extends BaseAPI {
|
|
|
18096
18116
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18097
18117
|
}
|
|
18098
18118
|
const response = await this.request({
|
|
18099
|
-
path: `/
|
|
18119
|
+
path: `/domains/{id}/verify`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
18100
18120
|
method: "POST",
|
|
18101
18121
|
headers: headerParameters,
|
|
18102
18122
|
query: queryParameters
|
|
@@ -23590,6 +23610,8 @@ var SDK_VERSION = "0.1.0";
|
|
|
23590
23610
|
DomainListResponseToJSONTyped,
|
|
23591
23611
|
DomainResponseFromJSON,
|
|
23592
23612
|
DomainResponseFromJSONTyped,
|
|
23613
|
+
DomainResponseSesDkimStatusEnum,
|
|
23614
|
+
DomainResponseSesIdentityStatusEnum,
|
|
23593
23615
|
DomainResponseStatusEnum,
|
|
23594
23616
|
DomainResponseToJSON,
|
|
23595
23617
|
DomainResponseToJSONTyped,
|