@zyphr-dev/node-sdk 0.1.33 → 0.1.35
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 +975 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1025 -42
- package/dist/index.d.ts +1025 -42
- package/dist/index.js +898 -39
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +16 -1
- package/src/client.ts +4 -0
- package/src/src/apis/AuthEmailOTPApi.ts +371 -0
- package/src/src/apis/DomainsApi.ts +73 -0
- package/src/src/apis/InboundEmailApi.ts +264 -0
- package/src/src/apis/index.ts +2 -0
- package/src/src/models/CheckEmailOtpAvailability200Response.ts +73 -0
- package/src/src/models/{PhoneAuthAvailabilityResponseData.ts → CheckEmailOtpAvailability200ResponseData.ts} +12 -12
- package/src/src/models/InboundAttachmentUrlResponse.ts +88 -0
- package/src/src/models/InboundAttachmentUrlResponseData.ts +81 -0
- package/src/src/models/InboundEmail.ts +247 -0
- package/src/src/models/InboundEmailAttachment.ts +89 -0
- package/src/src/models/InboundEmailFrom.ts +73 -0
- package/src/src/models/InboundEmailListResponse.ts +88 -0
- package/src/src/models/InboundEmailListResponseMeta.ts +89 -0
- package/src/src/models/InboundEmailResponse.ts +88 -0
- package/src/src/models/PhoneAuthAvailabilityResponse.ts +10 -10
- package/src/src/models/SendEmailOtpRegistrationRequest.ts +66 -0
- package/src/src/models/SetDomainInboundRequest.ts +65 -0
- package/src/src/models/VerifyEmailOtpLoginRequest.ts +83 -0
- package/src/src/models/VerifyEmailOtpRegistrationRequest.ts +91 -0
- package/src/src/models/index.ts +14 -1
package/dist/index.js
CHANGED
|
@@ -1916,6 +1916,62 @@ function CategoryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
1916
1916
|
};
|
|
1917
1917
|
}
|
|
1918
1918
|
|
|
1919
|
+
// src/src/models/CheckEmailOtpAvailability200ResponseData.ts
|
|
1920
|
+
function instanceOfCheckEmailOtpAvailability200ResponseData(value) {
|
|
1921
|
+
return true;
|
|
1922
|
+
}
|
|
1923
|
+
function CheckEmailOtpAvailability200ResponseDataFromJSON(json) {
|
|
1924
|
+
return CheckEmailOtpAvailability200ResponseDataFromJSONTyped(json, false);
|
|
1925
|
+
}
|
|
1926
|
+
function CheckEmailOtpAvailability200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
1927
|
+
if (json == null) {
|
|
1928
|
+
return json;
|
|
1929
|
+
}
|
|
1930
|
+
return {
|
|
1931
|
+
"available": json["available"] == null ? void 0 : json["available"],
|
|
1932
|
+
"message": json["message"] == null ? void 0 : json["message"]
|
|
1933
|
+
};
|
|
1934
|
+
}
|
|
1935
|
+
function CheckEmailOtpAvailability200ResponseDataToJSON(json) {
|
|
1936
|
+
return CheckEmailOtpAvailability200ResponseDataToJSONTyped(json, false);
|
|
1937
|
+
}
|
|
1938
|
+
function CheckEmailOtpAvailability200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1939
|
+
if (value == null) {
|
|
1940
|
+
return value;
|
|
1941
|
+
}
|
|
1942
|
+
return {
|
|
1943
|
+
"available": value["available"],
|
|
1944
|
+
"message": value["message"]
|
|
1945
|
+
};
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
// src/src/models/CheckEmailOtpAvailability200Response.ts
|
|
1949
|
+
function instanceOfCheckEmailOtpAvailability200Response(value) {
|
|
1950
|
+
return true;
|
|
1951
|
+
}
|
|
1952
|
+
function CheckEmailOtpAvailability200ResponseFromJSON(json) {
|
|
1953
|
+
return CheckEmailOtpAvailability200ResponseFromJSONTyped(json, false);
|
|
1954
|
+
}
|
|
1955
|
+
function CheckEmailOtpAvailability200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
1956
|
+
if (json == null) {
|
|
1957
|
+
return json;
|
|
1958
|
+
}
|
|
1959
|
+
return {
|
|
1960
|
+
"data": json["data"] == null ? void 0 : CheckEmailOtpAvailability200ResponseDataFromJSON(json["data"])
|
|
1961
|
+
};
|
|
1962
|
+
}
|
|
1963
|
+
function CheckEmailOtpAvailability200ResponseToJSON(json) {
|
|
1964
|
+
return CheckEmailOtpAvailability200ResponseToJSONTyped(json, false);
|
|
1965
|
+
}
|
|
1966
|
+
function CheckEmailOtpAvailability200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1967
|
+
if (value == null) {
|
|
1968
|
+
return value;
|
|
1969
|
+
}
|
|
1970
|
+
return {
|
|
1971
|
+
"data": CheckEmailOtpAvailability200ResponseDataToJSON(value["data"])
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1919
1975
|
// src/src/models/ConfirmEmailVerificationRequest.ts
|
|
1920
1976
|
function instanceOfConfirmEmailVerificationRequest(value) {
|
|
1921
1977
|
if (!("token" in value) || value["token"] === void 0) return false;
|
|
@@ -4702,6 +4758,301 @@ function InAppNotificationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4702
4758
|
};
|
|
4703
4759
|
}
|
|
4704
4760
|
|
|
4761
|
+
// src/src/models/InboundAttachmentUrlResponseData.ts
|
|
4762
|
+
function instanceOfInboundAttachmentUrlResponseData(value) {
|
|
4763
|
+
return true;
|
|
4764
|
+
}
|
|
4765
|
+
function InboundAttachmentUrlResponseDataFromJSON(json) {
|
|
4766
|
+
return InboundAttachmentUrlResponseDataFromJSONTyped(json, false);
|
|
4767
|
+
}
|
|
4768
|
+
function InboundAttachmentUrlResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
4769
|
+
if (json == null) {
|
|
4770
|
+
return json;
|
|
4771
|
+
}
|
|
4772
|
+
return {
|
|
4773
|
+
"downloadUrl": json["download_url"] == null ? void 0 : json["download_url"],
|
|
4774
|
+
"filename": json["filename"] == null ? void 0 : json["filename"],
|
|
4775
|
+
"contentType": json["content_type"] == null ? void 0 : json["content_type"]
|
|
4776
|
+
};
|
|
4777
|
+
}
|
|
4778
|
+
function InboundAttachmentUrlResponseDataToJSON(json) {
|
|
4779
|
+
return InboundAttachmentUrlResponseDataToJSONTyped(json, false);
|
|
4780
|
+
}
|
|
4781
|
+
function InboundAttachmentUrlResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4782
|
+
if (value == null) {
|
|
4783
|
+
return value;
|
|
4784
|
+
}
|
|
4785
|
+
return {
|
|
4786
|
+
"download_url": value["downloadUrl"],
|
|
4787
|
+
"filename": value["filename"],
|
|
4788
|
+
"content_type": value["contentType"]
|
|
4789
|
+
};
|
|
4790
|
+
}
|
|
4791
|
+
|
|
4792
|
+
// src/src/models/InboundAttachmentUrlResponse.ts
|
|
4793
|
+
function instanceOfInboundAttachmentUrlResponse(value) {
|
|
4794
|
+
return true;
|
|
4795
|
+
}
|
|
4796
|
+
function InboundAttachmentUrlResponseFromJSON(json) {
|
|
4797
|
+
return InboundAttachmentUrlResponseFromJSONTyped(json, false);
|
|
4798
|
+
}
|
|
4799
|
+
function InboundAttachmentUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
4800
|
+
if (json == null) {
|
|
4801
|
+
return json;
|
|
4802
|
+
}
|
|
4803
|
+
return {
|
|
4804
|
+
"data": json["data"] == null ? void 0 : InboundAttachmentUrlResponseDataFromJSON(json["data"]),
|
|
4805
|
+
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
4806
|
+
};
|
|
4807
|
+
}
|
|
4808
|
+
function InboundAttachmentUrlResponseToJSON(json) {
|
|
4809
|
+
return InboundAttachmentUrlResponseToJSONTyped(json, false);
|
|
4810
|
+
}
|
|
4811
|
+
function InboundAttachmentUrlResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4812
|
+
if (value == null) {
|
|
4813
|
+
return value;
|
|
4814
|
+
}
|
|
4815
|
+
return {
|
|
4816
|
+
"data": InboundAttachmentUrlResponseDataToJSON(value["data"]),
|
|
4817
|
+
"meta": RequestMetaToJSON(value["meta"])
|
|
4818
|
+
};
|
|
4819
|
+
}
|
|
4820
|
+
|
|
4821
|
+
// src/src/models/InboundEmailFrom.ts
|
|
4822
|
+
function instanceOfInboundEmailFrom(value) {
|
|
4823
|
+
return true;
|
|
4824
|
+
}
|
|
4825
|
+
function InboundEmailFromFromJSON(json) {
|
|
4826
|
+
return InboundEmailFromFromJSONTyped(json, false);
|
|
4827
|
+
}
|
|
4828
|
+
function InboundEmailFromFromJSONTyped(json, ignoreDiscriminator) {
|
|
4829
|
+
if (json == null) {
|
|
4830
|
+
return json;
|
|
4831
|
+
}
|
|
4832
|
+
return {
|
|
4833
|
+
"email": json["email"] == null ? void 0 : json["email"],
|
|
4834
|
+
"name": json["name"] == null ? void 0 : json["name"]
|
|
4835
|
+
};
|
|
4836
|
+
}
|
|
4837
|
+
function InboundEmailFromToJSON(json) {
|
|
4838
|
+
return InboundEmailFromToJSONTyped(json, false);
|
|
4839
|
+
}
|
|
4840
|
+
function InboundEmailFromToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4841
|
+
if (value == null) {
|
|
4842
|
+
return value;
|
|
4843
|
+
}
|
|
4844
|
+
return {
|
|
4845
|
+
"email": value["email"],
|
|
4846
|
+
"name": value["name"]
|
|
4847
|
+
};
|
|
4848
|
+
}
|
|
4849
|
+
|
|
4850
|
+
// src/src/models/InboundEmailAttachment.ts
|
|
4851
|
+
function instanceOfInboundEmailAttachment(value) {
|
|
4852
|
+
return true;
|
|
4853
|
+
}
|
|
4854
|
+
function InboundEmailAttachmentFromJSON(json) {
|
|
4855
|
+
return InboundEmailAttachmentFromJSONTyped(json, false);
|
|
4856
|
+
}
|
|
4857
|
+
function InboundEmailAttachmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
4858
|
+
if (json == null) {
|
|
4859
|
+
return json;
|
|
4860
|
+
}
|
|
4861
|
+
return {
|
|
4862
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
4863
|
+
"filename": json["filename"] == null ? void 0 : json["filename"],
|
|
4864
|
+
"contentType": json["content_type"] == null ? void 0 : json["content_type"],
|
|
4865
|
+
"size": json["size"] == null ? void 0 : json["size"]
|
|
4866
|
+
};
|
|
4867
|
+
}
|
|
4868
|
+
function InboundEmailAttachmentToJSON(json) {
|
|
4869
|
+
return InboundEmailAttachmentToJSONTyped(json, false);
|
|
4870
|
+
}
|
|
4871
|
+
function InboundEmailAttachmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4872
|
+
if (value == null) {
|
|
4873
|
+
return value;
|
|
4874
|
+
}
|
|
4875
|
+
return {
|
|
4876
|
+
"id": value["id"],
|
|
4877
|
+
"filename": value["filename"],
|
|
4878
|
+
"content_type": value["contentType"],
|
|
4879
|
+
"size": value["size"]
|
|
4880
|
+
};
|
|
4881
|
+
}
|
|
4882
|
+
|
|
4883
|
+
// src/src/models/InboundEmail.ts
|
|
4884
|
+
var InboundEmailSpfVerdictEnum = {
|
|
4885
|
+
PASS: "PASS",
|
|
4886
|
+
FAIL: "FAIL",
|
|
4887
|
+
GRAY: "GRAY",
|
|
4888
|
+
PROCESSING_FAILED: "PROCESSING_FAILED"
|
|
4889
|
+
};
|
|
4890
|
+
var InboundEmailDkimVerdictEnum = {
|
|
4891
|
+
PASS: "PASS",
|
|
4892
|
+
FAIL: "FAIL",
|
|
4893
|
+
GRAY: "GRAY",
|
|
4894
|
+
PROCESSING_FAILED: "PROCESSING_FAILED"
|
|
4895
|
+
};
|
|
4896
|
+
var InboundEmailDmarcVerdictEnum = {
|
|
4897
|
+
PASS: "PASS",
|
|
4898
|
+
FAIL: "FAIL",
|
|
4899
|
+
GRAY: "GRAY",
|
|
4900
|
+
PROCESSING_FAILED: "PROCESSING_FAILED"
|
|
4901
|
+
};
|
|
4902
|
+
var InboundEmailStatusEnum = {
|
|
4903
|
+
RECEIVED: "received",
|
|
4904
|
+
PROCESSED: "processed",
|
|
4905
|
+
QUARANTINED: "quarantined",
|
|
4906
|
+
DROPPED: "dropped",
|
|
4907
|
+
FAILED: "failed"
|
|
4908
|
+
};
|
|
4909
|
+
function instanceOfInboundEmail(value) {
|
|
4910
|
+
return true;
|
|
4911
|
+
}
|
|
4912
|
+
function InboundEmailFromJSON(json) {
|
|
4913
|
+
return InboundEmailFromJSONTyped(json, false);
|
|
4914
|
+
}
|
|
4915
|
+
function InboundEmailFromJSONTyped(json, ignoreDiscriminator) {
|
|
4916
|
+
if (json == null) {
|
|
4917
|
+
return json;
|
|
4918
|
+
}
|
|
4919
|
+
return {
|
|
4920
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
4921
|
+
"toEmail": json["to_email"] == null ? void 0 : json["to_email"],
|
|
4922
|
+
"from": json["from"] == null ? void 0 : InboundEmailFromFromJSON(json["from"]),
|
|
4923
|
+
"cc": json["cc"] == null ? void 0 : json["cc"],
|
|
4924
|
+
"subject": json["subject"] == null ? void 0 : json["subject"],
|
|
4925
|
+
"textBody": json["text_body"] == null ? void 0 : json["text_body"],
|
|
4926
|
+
"htmlBody": json["html_body"] == null ? void 0 : json["html_body"],
|
|
4927
|
+
"inReplyTo": json["in_reply_to"] == null ? void 0 : json["in_reply_to"],
|
|
4928
|
+
"repliedToMessageId": json["replied_to_message_id"] == null ? void 0 : json["replied_to_message_id"],
|
|
4929
|
+
"verified": json["verified"] == null ? void 0 : json["verified"],
|
|
4930
|
+
"spfVerdict": json["spf_verdict"] == null ? void 0 : json["spf_verdict"],
|
|
4931
|
+
"dkimVerdict": json["dkim_verdict"] == null ? void 0 : json["dkim_verdict"],
|
|
4932
|
+
"dmarcVerdict": json["dmarc_verdict"] == null ? void 0 : json["dmarc_verdict"],
|
|
4933
|
+
"status": json["status"] == null ? void 0 : json["status"],
|
|
4934
|
+
"attachments": json["attachments"] == null ? void 0 : json["attachments"].map(InboundEmailAttachmentFromJSON),
|
|
4935
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
4936
|
+
};
|
|
4937
|
+
}
|
|
4938
|
+
function InboundEmailToJSON(json) {
|
|
4939
|
+
return InboundEmailToJSONTyped(json, false);
|
|
4940
|
+
}
|
|
4941
|
+
function InboundEmailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4942
|
+
if (value == null) {
|
|
4943
|
+
return value;
|
|
4944
|
+
}
|
|
4945
|
+
return {
|
|
4946
|
+
"id": value["id"],
|
|
4947
|
+
"to_email": value["toEmail"],
|
|
4948
|
+
"from": InboundEmailFromToJSON(value["from"]),
|
|
4949
|
+
"cc": value["cc"],
|
|
4950
|
+
"subject": value["subject"],
|
|
4951
|
+
"text_body": value["textBody"],
|
|
4952
|
+
"html_body": value["htmlBody"],
|
|
4953
|
+
"in_reply_to": value["inReplyTo"],
|
|
4954
|
+
"replied_to_message_id": value["repliedToMessageId"],
|
|
4955
|
+
"verified": value["verified"],
|
|
4956
|
+
"spf_verdict": value["spfVerdict"],
|
|
4957
|
+
"dkim_verdict": value["dkimVerdict"],
|
|
4958
|
+
"dmarc_verdict": value["dmarcVerdict"],
|
|
4959
|
+
"status": value["status"],
|
|
4960
|
+
"attachments": value["attachments"] == null ? void 0 : value["attachments"].map(InboundEmailAttachmentToJSON),
|
|
4961
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
4962
|
+
};
|
|
4963
|
+
}
|
|
4964
|
+
|
|
4965
|
+
// src/src/models/InboundEmailListResponseMeta.ts
|
|
4966
|
+
function instanceOfInboundEmailListResponseMeta(value) {
|
|
4967
|
+
return true;
|
|
4968
|
+
}
|
|
4969
|
+
function InboundEmailListResponseMetaFromJSON(json) {
|
|
4970
|
+
return InboundEmailListResponseMetaFromJSONTyped(json, false);
|
|
4971
|
+
}
|
|
4972
|
+
function InboundEmailListResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
4973
|
+
if (json == null) {
|
|
4974
|
+
return json;
|
|
4975
|
+
}
|
|
4976
|
+
return {
|
|
4977
|
+
"requestId": json["request_id"] == null ? void 0 : json["request_id"],
|
|
4978
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
4979
|
+
"limit": json["limit"] == null ? void 0 : json["limit"],
|
|
4980
|
+
"offset": json["offset"] == null ? void 0 : json["offset"]
|
|
4981
|
+
};
|
|
4982
|
+
}
|
|
4983
|
+
function InboundEmailListResponseMetaToJSON(json) {
|
|
4984
|
+
return InboundEmailListResponseMetaToJSONTyped(json, false);
|
|
4985
|
+
}
|
|
4986
|
+
function InboundEmailListResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4987
|
+
if (value == null) {
|
|
4988
|
+
return value;
|
|
4989
|
+
}
|
|
4990
|
+
return {
|
|
4991
|
+
"request_id": value["requestId"],
|
|
4992
|
+
"total": value["total"],
|
|
4993
|
+
"limit": value["limit"],
|
|
4994
|
+
"offset": value["offset"]
|
|
4995
|
+
};
|
|
4996
|
+
}
|
|
4997
|
+
|
|
4998
|
+
// src/src/models/InboundEmailListResponse.ts
|
|
4999
|
+
function instanceOfInboundEmailListResponse(value) {
|
|
5000
|
+
return true;
|
|
5001
|
+
}
|
|
5002
|
+
function InboundEmailListResponseFromJSON(json) {
|
|
5003
|
+
return InboundEmailListResponseFromJSONTyped(json, false);
|
|
5004
|
+
}
|
|
5005
|
+
function InboundEmailListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5006
|
+
if (json == null) {
|
|
5007
|
+
return json;
|
|
5008
|
+
}
|
|
5009
|
+
return {
|
|
5010
|
+
"data": json["data"] == null ? void 0 : json["data"].map(InboundEmailFromJSON),
|
|
5011
|
+
"meta": json["meta"] == null ? void 0 : InboundEmailListResponseMetaFromJSON(json["meta"])
|
|
5012
|
+
};
|
|
5013
|
+
}
|
|
5014
|
+
function InboundEmailListResponseToJSON(json) {
|
|
5015
|
+
return InboundEmailListResponseToJSONTyped(json, false);
|
|
5016
|
+
}
|
|
5017
|
+
function InboundEmailListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5018
|
+
if (value == null) {
|
|
5019
|
+
return value;
|
|
5020
|
+
}
|
|
5021
|
+
return {
|
|
5022
|
+
"data": value["data"] == null ? void 0 : value["data"].map(InboundEmailToJSON),
|
|
5023
|
+
"meta": InboundEmailListResponseMetaToJSON(value["meta"])
|
|
5024
|
+
};
|
|
5025
|
+
}
|
|
5026
|
+
|
|
5027
|
+
// src/src/models/InboundEmailResponse.ts
|
|
5028
|
+
function instanceOfInboundEmailResponse(value) {
|
|
5029
|
+
return true;
|
|
5030
|
+
}
|
|
5031
|
+
function InboundEmailResponseFromJSON(json) {
|
|
5032
|
+
return InboundEmailResponseFromJSONTyped(json, false);
|
|
5033
|
+
}
|
|
5034
|
+
function InboundEmailResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5035
|
+
if (json == null) {
|
|
5036
|
+
return json;
|
|
5037
|
+
}
|
|
5038
|
+
return {
|
|
5039
|
+
"data": json["data"] == null ? void 0 : InboundEmailFromJSON(json["data"]),
|
|
5040
|
+
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
5041
|
+
};
|
|
5042
|
+
}
|
|
5043
|
+
function InboundEmailResponseToJSON(json) {
|
|
5044
|
+
return InboundEmailResponseToJSONTyped(json, false);
|
|
5045
|
+
}
|
|
5046
|
+
function InboundEmailResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5047
|
+
if (value == null) {
|
|
5048
|
+
return value;
|
|
5049
|
+
}
|
|
5050
|
+
return {
|
|
5051
|
+
"data": InboundEmailToJSON(value["data"]),
|
|
5052
|
+
"meta": RequestMetaToJSON(value["meta"])
|
|
5053
|
+
};
|
|
5054
|
+
}
|
|
5055
|
+
|
|
4705
5056
|
// src/src/models/InboxListMeta.ts
|
|
4706
5057
|
function instanceOfInboxListMeta(value) {
|
|
4707
5058
|
return true;
|
|
@@ -6848,35 +7199,6 @@ function PayloadTooLargeErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
6848
7199
|
};
|
|
6849
7200
|
}
|
|
6850
7201
|
|
|
6851
|
-
// src/src/models/PhoneAuthAvailabilityResponseData.ts
|
|
6852
|
-
function instanceOfPhoneAuthAvailabilityResponseData(value) {
|
|
6853
|
-
return true;
|
|
6854
|
-
}
|
|
6855
|
-
function PhoneAuthAvailabilityResponseDataFromJSON(json) {
|
|
6856
|
-
return PhoneAuthAvailabilityResponseDataFromJSONTyped(json, false);
|
|
6857
|
-
}
|
|
6858
|
-
function PhoneAuthAvailabilityResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
6859
|
-
if (json == null) {
|
|
6860
|
-
return json;
|
|
6861
|
-
}
|
|
6862
|
-
return {
|
|
6863
|
-
"available": json["available"] == null ? void 0 : json["available"],
|
|
6864
|
-
"message": json["message"] == null ? void 0 : json["message"]
|
|
6865
|
-
};
|
|
6866
|
-
}
|
|
6867
|
-
function PhoneAuthAvailabilityResponseDataToJSON(json) {
|
|
6868
|
-
return PhoneAuthAvailabilityResponseDataToJSONTyped(json, false);
|
|
6869
|
-
}
|
|
6870
|
-
function PhoneAuthAvailabilityResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
6871
|
-
if (value == null) {
|
|
6872
|
-
return value;
|
|
6873
|
-
}
|
|
6874
|
-
return {
|
|
6875
|
-
"available": value["available"],
|
|
6876
|
-
"message": value["message"]
|
|
6877
|
-
};
|
|
6878
|
-
}
|
|
6879
|
-
|
|
6880
7202
|
// src/src/models/PhoneAuthAvailabilityResponse.ts
|
|
6881
7203
|
function instanceOfPhoneAuthAvailabilityResponse(value) {
|
|
6882
7204
|
return true;
|
|
@@ -6889,7 +7211,7 @@ function PhoneAuthAvailabilityResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
6889
7211
|
return json;
|
|
6890
7212
|
}
|
|
6891
7213
|
return {
|
|
6892
|
-
"data": json["data"] == null ? void 0 :
|
|
7214
|
+
"data": json["data"] == null ? void 0 : CheckEmailOtpAvailability200ResponseDataFromJSON(json["data"]),
|
|
6893
7215
|
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
6894
7216
|
};
|
|
6895
7217
|
}
|
|
@@ -6901,7 +7223,7 @@ function PhoneAuthAvailabilityResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
6901
7223
|
return value;
|
|
6902
7224
|
}
|
|
6903
7225
|
return {
|
|
6904
|
-
"data":
|
|
7226
|
+
"data": CheckEmailOtpAvailability200ResponseDataToJSON(value["data"]),
|
|
6905
7227
|
"meta": RequestMetaToJSON(value["meta"])
|
|
6906
7228
|
};
|
|
6907
7229
|
}
|
|
@@ -8704,6 +9026,34 @@ function SendBatchSmsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
8704
9026
|
};
|
|
8705
9027
|
}
|
|
8706
9028
|
|
|
9029
|
+
// src/src/models/SendEmailOtpRegistrationRequest.ts
|
|
9030
|
+
function instanceOfSendEmailOtpRegistrationRequest(value) {
|
|
9031
|
+
if (!("email" in value) || value["email"] === void 0) return false;
|
|
9032
|
+
return true;
|
|
9033
|
+
}
|
|
9034
|
+
function SendEmailOtpRegistrationRequestFromJSON(json) {
|
|
9035
|
+
return SendEmailOtpRegistrationRequestFromJSONTyped(json, false);
|
|
9036
|
+
}
|
|
9037
|
+
function SendEmailOtpRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9038
|
+
if (json == null) {
|
|
9039
|
+
return json;
|
|
9040
|
+
}
|
|
9041
|
+
return {
|
|
9042
|
+
"email": json["email"]
|
|
9043
|
+
};
|
|
9044
|
+
}
|
|
9045
|
+
function SendEmailOtpRegistrationRequestToJSON(json) {
|
|
9046
|
+
return SendEmailOtpRegistrationRequestToJSONTyped(json, false);
|
|
9047
|
+
}
|
|
9048
|
+
function SendEmailOtpRegistrationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
9049
|
+
if (value == null) {
|
|
9050
|
+
return value;
|
|
9051
|
+
}
|
|
9052
|
+
return {
|
|
9053
|
+
"email": value["email"]
|
|
9054
|
+
};
|
|
9055
|
+
}
|
|
9056
|
+
|
|
8707
9057
|
// src/src/models/SendEmailRequest.ts
|
|
8708
9058
|
function instanceOfSendEmailRequest(value) {
|
|
8709
9059
|
if (!("to" in value) || value["to"] === void 0) return false;
|
|
@@ -9674,11 +10024,38 @@ function SessionListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
9674
10024
|
};
|
|
9675
10025
|
}
|
|
9676
10026
|
|
|
9677
|
-
// src/src/models/
|
|
9678
|
-
function
|
|
10027
|
+
// src/src/models/SetDomainInboundRequest.ts
|
|
10028
|
+
function instanceOfSetDomainInboundRequest(value) {
|
|
9679
10029
|
return true;
|
|
9680
10030
|
}
|
|
9681
|
-
function
|
|
10031
|
+
function SetDomainInboundRequestFromJSON(json) {
|
|
10032
|
+
return SetDomainInboundRequestFromJSONTyped(json, false);
|
|
10033
|
+
}
|
|
10034
|
+
function SetDomainInboundRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
10035
|
+
if (json == null) {
|
|
10036
|
+
return json;
|
|
10037
|
+
}
|
|
10038
|
+
return {
|
|
10039
|
+
"enabled": json["enabled"] == null ? void 0 : json["enabled"]
|
|
10040
|
+
};
|
|
10041
|
+
}
|
|
10042
|
+
function SetDomainInboundRequestToJSON(json) {
|
|
10043
|
+
return SetDomainInboundRequestToJSONTyped(json, false);
|
|
10044
|
+
}
|
|
10045
|
+
function SetDomainInboundRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
10046
|
+
if (value == null) {
|
|
10047
|
+
return value;
|
|
10048
|
+
}
|
|
10049
|
+
return {
|
|
10050
|
+
"enabled": value["enabled"]
|
|
10051
|
+
};
|
|
10052
|
+
}
|
|
10053
|
+
|
|
10054
|
+
// src/src/models/SetPreferencesRequestPreferencesInner.ts
|
|
10055
|
+
function instanceOfSetPreferencesRequestPreferencesInner(value) {
|
|
10056
|
+
return true;
|
|
10057
|
+
}
|
|
10058
|
+
function SetPreferencesRequestPreferencesInnerFromJSON(json) {
|
|
9682
10059
|
return SetPreferencesRequestPreferencesInnerFromJSONTyped(json, false);
|
|
9683
10060
|
}
|
|
9684
10061
|
function SetPreferencesRequestPreferencesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
@@ -12210,6 +12587,74 @@ function VerifyDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
12210
12587
|
};
|
|
12211
12588
|
}
|
|
12212
12589
|
|
|
12590
|
+
// src/src/models/VerifyEmailOtpLoginRequest.ts
|
|
12591
|
+
function instanceOfVerifyEmailOtpLoginRequest(value) {
|
|
12592
|
+
if (!("email" in value) || value["email"] === void 0) return false;
|
|
12593
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
12594
|
+
return true;
|
|
12595
|
+
}
|
|
12596
|
+
function VerifyEmailOtpLoginRequestFromJSON(json) {
|
|
12597
|
+
return VerifyEmailOtpLoginRequestFromJSONTyped(json, false);
|
|
12598
|
+
}
|
|
12599
|
+
function VerifyEmailOtpLoginRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12600
|
+
if (json == null) {
|
|
12601
|
+
return json;
|
|
12602
|
+
}
|
|
12603
|
+
return {
|
|
12604
|
+
"email": json["email"],
|
|
12605
|
+
"code": json["code"],
|
|
12606
|
+
"customClaims": json["custom_claims"] == null ? void 0 : json["custom_claims"]
|
|
12607
|
+
};
|
|
12608
|
+
}
|
|
12609
|
+
function VerifyEmailOtpLoginRequestToJSON(json) {
|
|
12610
|
+
return VerifyEmailOtpLoginRequestToJSONTyped(json, false);
|
|
12611
|
+
}
|
|
12612
|
+
function VerifyEmailOtpLoginRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12613
|
+
if (value == null) {
|
|
12614
|
+
return value;
|
|
12615
|
+
}
|
|
12616
|
+
return {
|
|
12617
|
+
"email": value["email"],
|
|
12618
|
+
"code": value["code"],
|
|
12619
|
+
"custom_claims": value["customClaims"]
|
|
12620
|
+
};
|
|
12621
|
+
}
|
|
12622
|
+
|
|
12623
|
+
// src/src/models/VerifyEmailOtpRegistrationRequest.ts
|
|
12624
|
+
function instanceOfVerifyEmailOtpRegistrationRequest(value) {
|
|
12625
|
+
if (!("email" in value) || value["email"] === void 0) return false;
|
|
12626
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
12627
|
+
return true;
|
|
12628
|
+
}
|
|
12629
|
+
function VerifyEmailOtpRegistrationRequestFromJSON(json) {
|
|
12630
|
+
return VerifyEmailOtpRegistrationRequestFromJSONTyped(json, false);
|
|
12631
|
+
}
|
|
12632
|
+
function VerifyEmailOtpRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12633
|
+
if (json == null) {
|
|
12634
|
+
return json;
|
|
12635
|
+
}
|
|
12636
|
+
return {
|
|
12637
|
+
"email": json["email"],
|
|
12638
|
+
"code": json["code"],
|
|
12639
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
12640
|
+
"metadata": json["metadata"] == null ? void 0 : json["metadata"]
|
|
12641
|
+
};
|
|
12642
|
+
}
|
|
12643
|
+
function VerifyEmailOtpRegistrationRequestToJSON(json) {
|
|
12644
|
+
return VerifyEmailOtpRegistrationRequestToJSONTyped(json, false);
|
|
12645
|
+
}
|
|
12646
|
+
function VerifyEmailOtpRegistrationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12647
|
+
if (value == null) {
|
|
12648
|
+
return value;
|
|
12649
|
+
}
|
|
12650
|
+
return {
|
|
12651
|
+
"email": value["email"],
|
|
12652
|
+
"code": value["code"],
|
|
12653
|
+
"name": value["name"],
|
|
12654
|
+
"metadata": value["metadata"]
|
|
12655
|
+
};
|
|
12656
|
+
}
|
|
12657
|
+
|
|
12213
12658
|
// src/src/models/VerifySmsConfigData.ts
|
|
12214
12659
|
function instanceOfVerifySmsConfigData(value) {
|
|
12215
12660
|
return true;
|
|
@@ -14094,6 +14539,184 @@ function WithdrawSubscriberConsentRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
14094
14539
|
};
|
|
14095
14540
|
}
|
|
14096
14541
|
|
|
14542
|
+
// src/src/apis/AuthEmailOTPApi.ts
|
|
14543
|
+
var AuthEmailOTPApi = class extends BaseAPI {
|
|
14544
|
+
/**
|
|
14545
|
+
* Check if numeric email OTP authentication is available for this application. Requires a verified sending domain on the project.
|
|
14546
|
+
* Check email OTP availability
|
|
14547
|
+
*/
|
|
14548
|
+
async checkEmailOtpAvailabilityRaw(initOverrides) {
|
|
14549
|
+
const queryParameters = {};
|
|
14550
|
+
const headerParameters = {};
|
|
14551
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14552
|
+
headerParameters["X-Application-Key"] = await this.configuration.apiKey("X-Application-Key");
|
|
14553
|
+
}
|
|
14554
|
+
const response = await this.request({
|
|
14555
|
+
path: `/auth/email-otp/available`,
|
|
14556
|
+
method: "GET",
|
|
14557
|
+
headers: headerParameters,
|
|
14558
|
+
query: queryParameters
|
|
14559
|
+
}, initOverrides);
|
|
14560
|
+
return new JSONApiResponse(response, (jsonValue) => CheckEmailOtpAvailability200ResponseFromJSON(jsonValue));
|
|
14561
|
+
}
|
|
14562
|
+
/**
|
|
14563
|
+
* Check if numeric email OTP authentication is available for this application. Requires a verified sending domain on the project.
|
|
14564
|
+
* Check email OTP availability
|
|
14565
|
+
*/
|
|
14566
|
+
async checkEmailOtpAvailability(initOverrides) {
|
|
14567
|
+
const response = await this.checkEmailOtpAvailabilityRaw(initOverrides);
|
|
14568
|
+
return await response.value();
|
|
14569
|
+
}
|
|
14570
|
+
/**
|
|
14571
|
+
* Send a numeric verification code to an existing user\'s email address for login.
|
|
14572
|
+
* Send email OTP for login
|
|
14573
|
+
*/
|
|
14574
|
+
async sendEmailOtpLoginRaw(requestParameters, initOverrides) {
|
|
14575
|
+
if (requestParameters["sendEmailOtpRegistrationRequest"] == null) {
|
|
14576
|
+
throw new RequiredError(
|
|
14577
|
+
"sendEmailOtpRegistrationRequest",
|
|
14578
|
+
'Required parameter "sendEmailOtpRegistrationRequest" was null or undefined when calling sendEmailOtpLogin().'
|
|
14579
|
+
);
|
|
14580
|
+
}
|
|
14581
|
+
const queryParameters = {};
|
|
14582
|
+
const headerParameters = {};
|
|
14583
|
+
headerParameters["Content-Type"] = "application/json";
|
|
14584
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14585
|
+
headerParameters["X-Application-Secret"] = await this.configuration.apiKey("X-Application-Secret");
|
|
14586
|
+
}
|
|
14587
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14588
|
+
headerParameters["X-Application-Key"] = await this.configuration.apiKey("X-Application-Key");
|
|
14589
|
+
}
|
|
14590
|
+
const response = await this.request({
|
|
14591
|
+
path: `/auth/email-otp/login/send`,
|
|
14592
|
+
method: "POST",
|
|
14593
|
+
headers: headerParameters,
|
|
14594
|
+
query: queryParameters,
|
|
14595
|
+
body: SendEmailOtpRegistrationRequestToJSON(requestParameters["sendEmailOtpRegistrationRequest"])
|
|
14596
|
+
}, initOverrides);
|
|
14597
|
+
return new JSONApiResponse(response, (jsonValue) => PhoneOtpSentResponseFromJSON(jsonValue));
|
|
14598
|
+
}
|
|
14599
|
+
/**
|
|
14600
|
+
* Send a numeric verification code to an existing user\'s email address for login.
|
|
14601
|
+
* Send email OTP for login
|
|
14602
|
+
*/
|
|
14603
|
+
async sendEmailOtpLogin(sendEmailOtpRegistrationRequest, initOverrides) {
|
|
14604
|
+
const response = await this.sendEmailOtpLoginRaw({ sendEmailOtpRegistrationRequest }, initOverrides);
|
|
14605
|
+
return await response.value();
|
|
14606
|
+
}
|
|
14607
|
+
/**
|
|
14608
|
+
* Send a numeric verification code to an email address for new user registration.
|
|
14609
|
+
* Send email OTP for registration
|
|
14610
|
+
*/
|
|
14611
|
+
async sendEmailOtpRegistrationRaw(requestParameters, initOverrides) {
|
|
14612
|
+
if (requestParameters["sendEmailOtpRegistrationRequest"] == null) {
|
|
14613
|
+
throw new RequiredError(
|
|
14614
|
+
"sendEmailOtpRegistrationRequest",
|
|
14615
|
+
'Required parameter "sendEmailOtpRegistrationRequest" was null or undefined when calling sendEmailOtpRegistration().'
|
|
14616
|
+
);
|
|
14617
|
+
}
|
|
14618
|
+
const queryParameters = {};
|
|
14619
|
+
const headerParameters = {};
|
|
14620
|
+
headerParameters["Content-Type"] = "application/json";
|
|
14621
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14622
|
+
headerParameters["X-Application-Secret"] = await this.configuration.apiKey("X-Application-Secret");
|
|
14623
|
+
}
|
|
14624
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14625
|
+
headerParameters["X-Application-Key"] = await this.configuration.apiKey("X-Application-Key");
|
|
14626
|
+
}
|
|
14627
|
+
const response = await this.request({
|
|
14628
|
+
path: `/auth/email-otp/register/send`,
|
|
14629
|
+
method: "POST",
|
|
14630
|
+
headers: headerParameters,
|
|
14631
|
+
query: queryParameters,
|
|
14632
|
+
body: SendEmailOtpRegistrationRequestToJSON(requestParameters["sendEmailOtpRegistrationRequest"])
|
|
14633
|
+
}, initOverrides);
|
|
14634
|
+
return new JSONApiResponse(response, (jsonValue) => PhoneOtpSentResponseFromJSON(jsonValue));
|
|
14635
|
+
}
|
|
14636
|
+
/**
|
|
14637
|
+
* Send a numeric verification code to an email address for new user registration.
|
|
14638
|
+
* Send email OTP for registration
|
|
14639
|
+
*/
|
|
14640
|
+
async sendEmailOtpRegistration(sendEmailOtpRegistrationRequest, initOverrides) {
|
|
14641
|
+
const response = await this.sendEmailOtpRegistrationRaw({ sendEmailOtpRegistrationRequest }, initOverrides);
|
|
14642
|
+
return await response.value();
|
|
14643
|
+
}
|
|
14644
|
+
/**
|
|
14645
|
+
* Verify the numeric code and login an existing user. If MFA is enabled, returns mfa_required with a challenge token.
|
|
14646
|
+
* Verify email OTP login
|
|
14647
|
+
*/
|
|
14648
|
+
async verifyEmailOtpLoginRaw(requestParameters, initOverrides) {
|
|
14649
|
+
if (requestParameters["verifyEmailOtpLoginRequest"] == null) {
|
|
14650
|
+
throw new RequiredError(
|
|
14651
|
+
"verifyEmailOtpLoginRequest",
|
|
14652
|
+
'Required parameter "verifyEmailOtpLoginRequest" was null or undefined when calling verifyEmailOtpLogin().'
|
|
14653
|
+
);
|
|
14654
|
+
}
|
|
14655
|
+
const queryParameters = {};
|
|
14656
|
+
const headerParameters = {};
|
|
14657
|
+
headerParameters["Content-Type"] = "application/json";
|
|
14658
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14659
|
+
headerParameters["X-Application-Secret"] = await this.configuration.apiKey("X-Application-Secret");
|
|
14660
|
+
}
|
|
14661
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14662
|
+
headerParameters["X-Application-Key"] = await this.configuration.apiKey("X-Application-Key");
|
|
14663
|
+
}
|
|
14664
|
+
const response = await this.request({
|
|
14665
|
+
path: `/auth/email-otp/login/verify`,
|
|
14666
|
+
method: "POST",
|
|
14667
|
+
headers: headerParameters,
|
|
14668
|
+
query: queryParameters,
|
|
14669
|
+
body: VerifyEmailOtpLoginRequestToJSON(requestParameters["verifyEmailOtpLoginRequest"])
|
|
14670
|
+
}, initOverrides);
|
|
14671
|
+
return new JSONApiResponse(response, (jsonValue) => AuthLoginResponseFromJSON(jsonValue));
|
|
14672
|
+
}
|
|
14673
|
+
/**
|
|
14674
|
+
* Verify the numeric code and login an existing user. If MFA is enabled, returns mfa_required with a challenge token.
|
|
14675
|
+
* Verify email OTP login
|
|
14676
|
+
*/
|
|
14677
|
+
async verifyEmailOtpLogin(verifyEmailOtpLoginRequest, initOverrides) {
|
|
14678
|
+
const response = await this.verifyEmailOtpLoginRaw({ verifyEmailOtpLoginRequest }, initOverrides);
|
|
14679
|
+
return await response.value();
|
|
14680
|
+
}
|
|
14681
|
+
/**
|
|
14682
|
+
* Verify the numeric code and create a new user account with the email address.
|
|
14683
|
+
* Verify email OTP registration
|
|
14684
|
+
*/
|
|
14685
|
+
async verifyEmailOtpRegistrationRaw(requestParameters, initOverrides) {
|
|
14686
|
+
if (requestParameters["verifyEmailOtpRegistrationRequest"] == null) {
|
|
14687
|
+
throw new RequiredError(
|
|
14688
|
+
"verifyEmailOtpRegistrationRequest",
|
|
14689
|
+
'Required parameter "verifyEmailOtpRegistrationRequest" was null or undefined when calling verifyEmailOtpRegistration().'
|
|
14690
|
+
);
|
|
14691
|
+
}
|
|
14692
|
+
const queryParameters = {};
|
|
14693
|
+
const headerParameters = {};
|
|
14694
|
+
headerParameters["Content-Type"] = "application/json";
|
|
14695
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14696
|
+
headerParameters["X-Application-Secret"] = await this.configuration.apiKey("X-Application-Secret");
|
|
14697
|
+
}
|
|
14698
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
14699
|
+
headerParameters["X-Application-Key"] = await this.configuration.apiKey("X-Application-Key");
|
|
14700
|
+
}
|
|
14701
|
+
const response = await this.request({
|
|
14702
|
+
path: `/auth/email-otp/register/verify`,
|
|
14703
|
+
method: "POST",
|
|
14704
|
+
headers: headerParameters,
|
|
14705
|
+
query: queryParameters,
|
|
14706
|
+
body: VerifyEmailOtpRegistrationRequestToJSON(requestParameters["verifyEmailOtpRegistrationRequest"])
|
|
14707
|
+
}, initOverrides);
|
|
14708
|
+
return new JSONApiResponse(response, (jsonValue) => AuthResultResponseFromJSON(jsonValue));
|
|
14709
|
+
}
|
|
14710
|
+
/**
|
|
14711
|
+
* Verify the numeric code and create a new user account with the email address.
|
|
14712
|
+
* Verify email OTP registration
|
|
14713
|
+
*/
|
|
14714
|
+
async verifyEmailOtpRegistration(verifyEmailOtpRegistrationRequest, initOverrides) {
|
|
14715
|
+
const response = await this.verifyEmailOtpRegistrationRaw({ verifyEmailOtpRegistrationRequest }, initOverrides);
|
|
14716
|
+
return await response.value();
|
|
14717
|
+
}
|
|
14718
|
+
};
|
|
14719
|
+
|
|
14097
14720
|
// src/src/apis/AuthEmailTemplatesApi.ts
|
|
14098
14721
|
var AuthEmailTemplatesApi = class extends BaseAPI {
|
|
14099
14722
|
/**
|
|
@@ -17053,6 +17676,45 @@ var DomainsApi = class extends BaseAPI {
|
|
|
17053
17676
|
const response = await this.listDomainsRaw(initOverrides);
|
|
17054
17677
|
return await response.value();
|
|
17055
17678
|
}
|
|
17679
|
+
/**
|
|
17680
|
+
* Toggle email receiving for a domain. When enabled, the domain\'s DNS records gain an MX record on the `inbound.` subdomain that the tenant must publish. Requires a plan with inbound email (Starter+).
|
|
17681
|
+
* Enable or disable inbound email for a domain
|
|
17682
|
+
*/
|
|
17683
|
+
async setDomainInboundRaw(requestParameters, initOverrides) {
|
|
17684
|
+
if (requestParameters["id"] == null) {
|
|
17685
|
+
throw new RequiredError(
|
|
17686
|
+
"id",
|
|
17687
|
+
'Required parameter "id" was null or undefined when calling setDomainInbound().'
|
|
17688
|
+
);
|
|
17689
|
+
}
|
|
17690
|
+
if (requestParameters["setDomainInboundRequest"] == null) {
|
|
17691
|
+
throw new RequiredError(
|
|
17692
|
+
"setDomainInboundRequest",
|
|
17693
|
+
'Required parameter "setDomainInboundRequest" was null or undefined when calling setDomainInbound().'
|
|
17694
|
+
);
|
|
17695
|
+
}
|
|
17696
|
+
const queryParameters = {};
|
|
17697
|
+
const headerParameters = {};
|
|
17698
|
+
headerParameters["Content-Type"] = "application/json";
|
|
17699
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
17700
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
17701
|
+
}
|
|
17702
|
+
const response = await this.request({
|
|
17703
|
+
path: `/domains/{id}/inbound`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
17704
|
+
method: "PUT",
|
|
17705
|
+
headers: headerParameters,
|
|
17706
|
+
query: queryParameters,
|
|
17707
|
+
body: SetDomainInboundRequestToJSON(requestParameters["setDomainInboundRequest"])
|
|
17708
|
+
}, initOverrides);
|
|
17709
|
+
return new VoidApiResponse(response);
|
|
17710
|
+
}
|
|
17711
|
+
/**
|
|
17712
|
+
* Toggle email receiving for a domain. When enabled, the domain\'s DNS records gain an MX record on the `inbound.` subdomain that the tenant must publish. Requires a plan with inbound email (Starter+).
|
|
17713
|
+
* Enable or disable inbound email for a domain
|
|
17714
|
+
*/
|
|
17715
|
+
async setDomainInbound(id, setDomainInboundRequest, initOverrides) {
|
|
17716
|
+
await this.setDomainInboundRaw({ id, setDomainInboundRequest }, initOverrides);
|
|
17717
|
+
}
|
|
17056
17718
|
/**
|
|
17057
17719
|
* Queue an asynchronous DNS verification check. Returns immediately with a `job_id`. Poll `GET /v1/domains/{id}/verification-status` (or the higher-level `GET /v1/domains/{id}`) for the result, or subscribe to the `domain.verified` webhook event when sc-5444 ships. Returns 409 if a verification is already in progress for this domain (within the last 2 minutes).
|
|
17058
17720
|
* Trigger domain verification
|
|
@@ -17402,6 +18064,128 @@ var ExecutionsApi = class extends BaseAPI {
|
|
|
17402
18064
|
}
|
|
17403
18065
|
};
|
|
17404
18066
|
|
|
18067
|
+
// src/src/apis/InboundEmailApi.ts
|
|
18068
|
+
var InboundEmailApi = class extends BaseAPI {
|
|
18069
|
+
/**
|
|
18070
|
+
* Return a short-lived presigned S3 download URL for one attachment of a received email. `attachmentId` is the positional id from the email\'s `attachments` array.
|
|
18071
|
+
* Get an attachment download URL
|
|
18072
|
+
*/
|
|
18073
|
+
async getInboundAttachmentUrlRaw(requestParameters, initOverrides) {
|
|
18074
|
+
if (requestParameters["id"] == null) {
|
|
18075
|
+
throw new RequiredError(
|
|
18076
|
+
"id",
|
|
18077
|
+
'Required parameter "id" was null or undefined when calling getInboundAttachmentUrl().'
|
|
18078
|
+
);
|
|
18079
|
+
}
|
|
18080
|
+
if (requestParameters["attachmentId"] == null) {
|
|
18081
|
+
throw new RequiredError(
|
|
18082
|
+
"attachmentId",
|
|
18083
|
+
'Required parameter "attachmentId" was null or undefined when calling getInboundAttachmentUrl().'
|
|
18084
|
+
);
|
|
18085
|
+
}
|
|
18086
|
+
const queryParameters = {};
|
|
18087
|
+
const headerParameters = {};
|
|
18088
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
18089
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18090
|
+
}
|
|
18091
|
+
const response = await this.request({
|
|
18092
|
+
path: `/inbound-emails/{id}/attachments/{attachmentId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))).replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters["attachmentId"]))),
|
|
18093
|
+
method: "GET",
|
|
18094
|
+
headers: headerParameters,
|
|
18095
|
+
query: queryParameters
|
|
18096
|
+
}, initOverrides);
|
|
18097
|
+
return new JSONApiResponse(response, (jsonValue) => InboundAttachmentUrlResponseFromJSON(jsonValue));
|
|
18098
|
+
}
|
|
18099
|
+
/**
|
|
18100
|
+
* Return a short-lived presigned S3 download URL for one attachment of a received email. `attachmentId` is the positional id from the email\'s `attachments` array.
|
|
18101
|
+
* Get an attachment download URL
|
|
18102
|
+
*/
|
|
18103
|
+
async getInboundAttachmentUrl(id, attachmentId, initOverrides) {
|
|
18104
|
+
const response = await this.getInboundAttachmentUrlRaw({ id, attachmentId }, initOverrides);
|
|
18105
|
+
return await response.value();
|
|
18106
|
+
}
|
|
18107
|
+
/**
|
|
18108
|
+
* Retrieve a single inbound email by id (scoped to the project).
|
|
18109
|
+
* Get a received email
|
|
18110
|
+
*/
|
|
18111
|
+
async getInboundEmailRaw(requestParameters, initOverrides) {
|
|
18112
|
+
if (requestParameters["id"] == null) {
|
|
18113
|
+
throw new RequiredError(
|
|
18114
|
+
"id",
|
|
18115
|
+
'Required parameter "id" was null or undefined when calling getInboundEmail().'
|
|
18116
|
+
);
|
|
18117
|
+
}
|
|
18118
|
+
const queryParameters = {};
|
|
18119
|
+
const headerParameters = {};
|
|
18120
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
18121
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18122
|
+
}
|
|
18123
|
+
const response = await this.request({
|
|
18124
|
+
path: `/inbound-emails/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
18125
|
+
method: "GET",
|
|
18126
|
+
headers: headerParameters,
|
|
18127
|
+
query: queryParameters
|
|
18128
|
+
}, initOverrides);
|
|
18129
|
+
return new JSONApiResponse(response, (jsonValue) => InboundEmailResponseFromJSON(jsonValue));
|
|
18130
|
+
}
|
|
18131
|
+
/**
|
|
18132
|
+
* Retrieve a single inbound email by id (scoped to the project).
|
|
18133
|
+
* Get a received email
|
|
18134
|
+
*/
|
|
18135
|
+
async getInboundEmail(id, initOverrides) {
|
|
18136
|
+
const response = await this.getInboundEmailRaw({ id }, initOverrides);
|
|
18137
|
+
return await response.value();
|
|
18138
|
+
}
|
|
18139
|
+
/**
|
|
18140
|
+
* List inbound (received) emails for the project, newest first. By default only delivered mail (`received`/`processed`) is returned; pass `include_withheld=true` to also see quarantined/dropped.
|
|
18141
|
+
* List received emails
|
|
18142
|
+
*/
|
|
18143
|
+
async listInboundEmailsRaw(requestParameters, initOverrides) {
|
|
18144
|
+
const queryParameters = {};
|
|
18145
|
+
if (requestParameters["status"] != null) {
|
|
18146
|
+
queryParameters["status"] = requestParameters["status"];
|
|
18147
|
+
}
|
|
18148
|
+
if (requestParameters["to"] != null) {
|
|
18149
|
+
queryParameters["to"] = requestParameters["to"];
|
|
18150
|
+
}
|
|
18151
|
+
if (requestParameters["includeWithheld"] != null) {
|
|
18152
|
+
queryParameters["include_withheld"] = requestParameters["includeWithheld"];
|
|
18153
|
+
}
|
|
18154
|
+
if (requestParameters["limit"] != null) {
|
|
18155
|
+
queryParameters["limit"] = requestParameters["limit"];
|
|
18156
|
+
}
|
|
18157
|
+
if (requestParameters["offset"] != null) {
|
|
18158
|
+
queryParameters["offset"] = requestParameters["offset"];
|
|
18159
|
+
}
|
|
18160
|
+
const headerParameters = {};
|
|
18161
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
18162
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
18163
|
+
}
|
|
18164
|
+
const response = await this.request({
|
|
18165
|
+
path: `/inbound-emails`,
|
|
18166
|
+
method: "GET",
|
|
18167
|
+
headers: headerParameters,
|
|
18168
|
+
query: queryParameters
|
|
18169
|
+
}, initOverrides);
|
|
18170
|
+
return new JSONApiResponse(response, (jsonValue) => InboundEmailListResponseFromJSON(jsonValue));
|
|
18171
|
+
}
|
|
18172
|
+
/**
|
|
18173
|
+
* List inbound (received) emails for the project, newest first. By default only delivered mail (`received`/`processed`) is returned; pass `include_withheld=true` to also see quarantined/dropped.
|
|
18174
|
+
* List received emails
|
|
18175
|
+
*/
|
|
18176
|
+
async listInboundEmails(status, to, includeWithheld, limit, offset, initOverrides) {
|
|
18177
|
+
const response = await this.listInboundEmailsRaw({ status, to, includeWithheld, limit, offset }, initOverrides);
|
|
18178
|
+
return await response.value();
|
|
18179
|
+
}
|
|
18180
|
+
};
|
|
18181
|
+
var ListInboundEmailsStatusEnum = {
|
|
18182
|
+
RECEIVED: "received",
|
|
18183
|
+
PROCESSED: "processed",
|
|
18184
|
+
QUARANTINED: "quarantined",
|
|
18185
|
+
DROPPED: "dropped",
|
|
18186
|
+
FAILED: "failed"
|
|
18187
|
+
};
|
|
18188
|
+
|
|
17405
18189
|
// src/src/apis/InboxApi.ts
|
|
17406
18190
|
var InboxApi = class extends BaseAPI {
|
|
17407
18191
|
/**
|
|
@@ -22377,6 +23161,8 @@ var Zyphr = class {
|
|
|
22377
23161
|
topics;
|
|
22378
23162
|
devices;
|
|
22379
23163
|
domains;
|
|
23164
|
+
/** Inbound (received) email — read access. Requires the `email:read` scope. */
|
|
23165
|
+
inbound;
|
|
22380
23166
|
waas;
|
|
22381
23167
|
auth;
|
|
22382
23168
|
options;
|
|
@@ -22402,6 +23188,7 @@ var Zyphr = class {
|
|
|
22402
23188
|
this.topics = new TopicsApi(config);
|
|
22403
23189
|
this.devices = new DevicesApi(config);
|
|
22404
23190
|
this.domains = new DomainsApi(config);
|
|
23191
|
+
this.inbound = new InboundEmailApi(config);
|
|
22405
23192
|
this.waas = {
|
|
22406
23193
|
applications: new WaaSApplicationsApi(config),
|
|
22407
23194
|
eventTypes: new WaaSEventTypesApi(config),
|
|
@@ -22491,6 +23278,7 @@ export {
|
|
|
22491
23278
|
ApiErrorMetaToJSONTyped,
|
|
22492
23279
|
ApiErrorToJSON,
|
|
22493
23280
|
ApiErrorToJSONTyped,
|
|
23281
|
+
AuthEmailOTPApi,
|
|
22494
23282
|
AuthEmailTemplateDefaultFromJSON,
|
|
22495
23283
|
AuthEmailTemplateDefaultFromJSONTyped,
|
|
22496
23284
|
AuthEmailTemplateDefaultResponseFromJSON,
|
|
@@ -22653,6 +23441,14 @@ export {
|
|
|
22653
23441
|
CategoryResponseToJSONTyped,
|
|
22654
23442
|
CategoryToJSON,
|
|
22655
23443
|
CategoryToJSONTyped,
|
|
23444
|
+
CheckEmailOtpAvailability200ResponseDataFromJSON,
|
|
23445
|
+
CheckEmailOtpAvailability200ResponseDataFromJSONTyped,
|
|
23446
|
+
CheckEmailOtpAvailability200ResponseDataToJSON,
|
|
23447
|
+
CheckEmailOtpAvailability200ResponseDataToJSONTyped,
|
|
23448
|
+
CheckEmailOtpAvailability200ResponseFromJSON,
|
|
23449
|
+
CheckEmailOtpAvailability200ResponseFromJSONTyped,
|
|
23450
|
+
CheckEmailOtpAvailability200ResponseToJSON,
|
|
23451
|
+
CheckEmailOtpAvailability200ResponseToJSONTyped,
|
|
22656
23452
|
Configuration,
|
|
22657
23453
|
ConfirmEmailVerificationRequestFromJSON,
|
|
22658
23454
|
ConfirmEmailVerificationRequestFromJSONTyped,
|
|
@@ -22965,6 +23761,43 @@ export {
|
|
|
22965
23761
|
InAppNotificationPriorityEnum,
|
|
22966
23762
|
InAppNotificationToJSON,
|
|
22967
23763
|
InAppNotificationToJSONTyped,
|
|
23764
|
+
InboundAttachmentUrlResponseDataFromJSON,
|
|
23765
|
+
InboundAttachmentUrlResponseDataFromJSONTyped,
|
|
23766
|
+
InboundAttachmentUrlResponseDataToJSON,
|
|
23767
|
+
InboundAttachmentUrlResponseDataToJSONTyped,
|
|
23768
|
+
InboundAttachmentUrlResponseFromJSON,
|
|
23769
|
+
InboundAttachmentUrlResponseFromJSONTyped,
|
|
23770
|
+
InboundAttachmentUrlResponseToJSON,
|
|
23771
|
+
InboundAttachmentUrlResponseToJSONTyped,
|
|
23772
|
+
InboundEmailApi,
|
|
23773
|
+
InboundEmailAttachmentFromJSON,
|
|
23774
|
+
InboundEmailAttachmentFromJSONTyped,
|
|
23775
|
+
InboundEmailAttachmentToJSON,
|
|
23776
|
+
InboundEmailAttachmentToJSONTyped,
|
|
23777
|
+
InboundEmailDkimVerdictEnum,
|
|
23778
|
+
InboundEmailDmarcVerdictEnum,
|
|
23779
|
+
InboundEmailFromFromJSON,
|
|
23780
|
+
InboundEmailFromFromJSONTyped,
|
|
23781
|
+
InboundEmailFromJSON,
|
|
23782
|
+
InboundEmailFromJSONTyped,
|
|
23783
|
+
InboundEmailFromToJSON,
|
|
23784
|
+
InboundEmailFromToJSONTyped,
|
|
23785
|
+
InboundEmailListResponseFromJSON,
|
|
23786
|
+
InboundEmailListResponseFromJSONTyped,
|
|
23787
|
+
InboundEmailListResponseMetaFromJSON,
|
|
23788
|
+
InboundEmailListResponseMetaFromJSONTyped,
|
|
23789
|
+
InboundEmailListResponseMetaToJSON,
|
|
23790
|
+
InboundEmailListResponseMetaToJSONTyped,
|
|
23791
|
+
InboundEmailListResponseToJSON,
|
|
23792
|
+
InboundEmailListResponseToJSONTyped,
|
|
23793
|
+
InboundEmailResponseFromJSON,
|
|
23794
|
+
InboundEmailResponseFromJSONTyped,
|
|
23795
|
+
InboundEmailResponseToJSON,
|
|
23796
|
+
InboundEmailResponseToJSONTyped,
|
|
23797
|
+
InboundEmailSpfVerdictEnum,
|
|
23798
|
+
InboundEmailStatusEnum,
|
|
23799
|
+
InboundEmailToJSON,
|
|
23800
|
+
InboundEmailToJSONTyped,
|
|
22968
23801
|
InboxApi,
|
|
22969
23802
|
InboxListMetaFromJSON,
|
|
22970
23803
|
InboxListMetaFromJSONTyped,
|
|
@@ -22982,6 +23815,7 @@ export {
|
|
|
22982
23815
|
ListAllInboxStatusEnum,
|
|
22983
23816
|
ListDevicesPlatformEnum,
|
|
22984
23817
|
ListEmailsStatusEnum,
|
|
23818
|
+
ListInboundEmailsStatusEnum,
|
|
22985
23819
|
ListPushStatusEnum,
|
|
22986
23820
|
ListSlackMessagesStatusEnum,
|
|
22987
23821
|
ListSmsStatusEnum,
|
|
@@ -23254,10 +24088,6 @@ export {
|
|
|
23254
24088
|
PayloadTooLargeErrorFromJSONTyped,
|
|
23255
24089
|
PayloadTooLargeErrorToJSON,
|
|
23256
24090
|
PayloadTooLargeErrorToJSONTyped,
|
|
23257
|
-
PhoneAuthAvailabilityResponseDataFromJSON,
|
|
23258
|
-
PhoneAuthAvailabilityResponseDataFromJSONTyped,
|
|
23259
|
-
PhoneAuthAvailabilityResponseDataToJSON,
|
|
23260
|
-
PhoneAuthAvailabilityResponseDataToJSONTyped,
|
|
23261
24091
|
PhoneAuthAvailabilityResponseFromJSON,
|
|
23262
24092
|
PhoneAuthAvailabilityResponseFromJSONTyped,
|
|
23263
24093
|
PhoneAuthAvailabilityResponseToJSON,
|
|
@@ -23470,6 +24300,10 @@ export {
|
|
|
23470
24300
|
SendBatchSmsResponseFromJSONTyped,
|
|
23471
24301
|
SendBatchSmsResponseToJSON,
|
|
23472
24302
|
SendBatchSmsResponseToJSONTyped,
|
|
24303
|
+
SendEmailOtpRegistrationRequestFromJSON,
|
|
24304
|
+
SendEmailOtpRegistrationRequestFromJSONTyped,
|
|
24305
|
+
SendEmailOtpRegistrationRequestToJSON,
|
|
24306
|
+
SendEmailOtpRegistrationRequestToJSONTyped,
|
|
23473
24307
|
SendEmailRequestFromJSON,
|
|
23474
24308
|
SendEmailRequestFromJSONTyped,
|
|
23475
24309
|
SendEmailRequestToJSON,
|
|
@@ -23584,6 +24418,10 @@ export {
|
|
|
23584
24418
|
SessionListResponseFromJSONTyped,
|
|
23585
24419
|
SessionListResponseToJSON,
|
|
23586
24420
|
SessionListResponseToJSONTyped,
|
|
24421
|
+
SetDomainInboundRequestFromJSON,
|
|
24422
|
+
SetDomainInboundRequestFromJSONTyped,
|
|
24423
|
+
SetDomainInboundRequestToJSON,
|
|
24424
|
+
SetDomainInboundRequestToJSONTyped,
|
|
23587
24425
|
SetPreferencesRequestFromJSON,
|
|
23588
24426
|
SetPreferencesRequestFromJSONTyped,
|
|
23589
24427
|
SetPreferencesRequestPreferencesInnerFromJSON,
|
|
@@ -23934,6 +24772,14 @@ export {
|
|
|
23934
24772
|
VerifyDomainResponseFromJSONTyped,
|
|
23935
24773
|
VerifyDomainResponseToJSON,
|
|
23936
24774
|
VerifyDomainResponseToJSONTyped,
|
|
24775
|
+
VerifyEmailOtpLoginRequestFromJSON,
|
|
24776
|
+
VerifyEmailOtpLoginRequestFromJSONTyped,
|
|
24777
|
+
VerifyEmailOtpLoginRequestToJSON,
|
|
24778
|
+
VerifyEmailOtpLoginRequestToJSONTyped,
|
|
24779
|
+
VerifyEmailOtpRegistrationRequestFromJSON,
|
|
24780
|
+
VerifyEmailOtpRegistrationRequestFromJSONTyped,
|
|
24781
|
+
VerifyEmailOtpRegistrationRequestToJSON,
|
|
24782
|
+
VerifyEmailOtpRegistrationRequestToJSONTyped,
|
|
23937
24783
|
VerifySmsConfigDataFromJSON,
|
|
23938
24784
|
VerifySmsConfigDataFromJSONTyped,
|
|
23939
24785
|
VerifySmsConfigDataToJSON,
|
|
@@ -24289,6 +25135,8 @@ export {
|
|
|
24289
25135
|
instanceOfCategory,
|
|
24290
25136
|
instanceOfCategoryListResponse,
|
|
24291
25137
|
instanceOfCategoryResponse,
|
|
25138
|
+
instanceOfCheckEmailOtpAvailability200Response,
|
|
25139
|
+
instanceOfCheckEmailOtpAvailability200ResponseData,
|
|
24292
25140
|
instanceOfConfirmEmailVerificationRequest,
|
|
24293
25141
|
instanceOfConfirmEmailVerificationResponse,
|
|
24294
25142
|
instanceOfConfirmEmailVerificationResponseData,
|
|
@@ -24361,6 +25209,14 @@ export {
|
|
|
24361
25209
|
instanceOfGetWaaSEndpoint200Response,
|
|
24362
25210
|
instanceOfGetWaaSUsage200Response,
|
|
24363
25211
|
instanceOfInAppNotification,
|
|
25212
|
+
instanceOfInboundAttachmentUrlResponse,
|
|
25213
|
+
instanceOfInboundAttachmentUrlResponseData,
|
|
25214
|
+
instanceOfInboundEmail,
|
|
25215
|
+
instanceOfInboundEmailAttachment,
|
|
25216
|
+
instanceOfInboundEmailFrom,
|
|
25217
|
+
instanceOfInboundEmailListResponse,
|
|
25218
|
+
instanceOfInboundEmailListResponseMeta,
|
|
25219
|
+
instanceOfInboundEmailResponse,
|
|
24364
25220
|
instanceOfInboxListMeta,
|
|
24365
25221
|
instanceOfInboxListResponse,
|
|
24366
25222
|
instanceOfInboxNotificationResponse,
|
|
@@ -24430,7 +25286,6 @@ export {
|
|
|
24430
25286
|
instanceOfPayloadTooLargeErrorError,
|
|
24431
25287
|
instanceOfPayloadTooLargeErrorErrorDetails,
|
|
24432
25288
|
instanceOfPhoneAuthAvailabilityResponse,
|
|
24433
|
-
instanceOfPhoneAuthAvailabilityResponseData,
|
|
24434
25289
|
instanceOfPhoneLoginVerifyRequest,
|
|
24435
25290
|
instanceOfPhoneOtpSendRequest,
|
|
24436
25291
|
instanceOfPhoneOtpSentResponse,
|
|
@@ -24480,6 +25335,7 @@ export {
|
|
|
24480
25335
|
instanceOfSendBatchSmsData,
|
|
24481
25336
|
instanceOfSendBatchSmsRequest,
|
|
24482
25337
|
instanceOfSendBatchSmsResponse,
|
|
25338
|
+
instanceOfSendEmailOtpRegistrationRequest,
|
|
24483
25339
|
instanceOfSendEmailRequest,
|
|
24484
25340
|
instanceOfSendEmailResponse,
|
|
24485
25341
|
instanceOfSendEmailResponseData,
|
|
@@ -24508,6 +25364,7 @@ export {
|
|
|
24508
25364
|
instanceOfSessionListResponse,
|
|
24509
25365
|
instanceOfSessionListResponseData,
|
|
24510
25366
|
instanceOfSessionListResponseDataSessionInfo,
|
|
25367
|
+
instanceOfSetDomainInboundRequest,
|
|
24511
25368
|
instanceOfSetPreferencesRequest,
|
|
24512
25369
|
instanceOfSetPreferencesRequestPreferencesInner,
|
|
24513
25370
|
instanceOfSignInAnonymouslyRequest,
|
|
@@ -24590,6 +25447,8 @@ export {
|
|
|
24590
25447
|
instanceOfVerificationStatusResponseData,
|
|
24591
25448
|
instanceOfVerifyDomainResponse,
|
|
24592
25449
|
instanceOfVerifyDomainResponseData,
|
|
25450
|
+
instanceOfVerifyEmailOtpLoginRequest,
|
|
25451
|
+
instanceOfVerifyEmailOtpRegistrationRequest,
|
|
24593
25452
|
instanceOfVerifySmsConfigData,
|
|
24594
25453
|
instanceOfVerifySmsConfigResponse,
|
|
24595
25454
|
instanceOfWaaSApplication,
|