@zyphr-dev/node-sdk 0.1.49 → 0.1.50
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 +21 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +33 -5
- package/dist/index.d.ts +33 -5
- package/dist/index.js +19 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/src/models/ApplicationSelf.ts +19 -1
- package/src/src/models/SetSelfApplicationTestRecipientsRequest.ts +23 -5
package/dist/index.js
CHANGED
|
@@ -860,12 +860,17 @@ var ApplicationSelfSigningAlgorithmEnum = {
|
|
|
860
860
|
RS256: "RS256",
|
|
861
861
|
ES256: "ES256"
|
|
862
862
|
};
|
|
863
|
+
var ApplicationSelfAuthEmailModeEnum = {
|
|
864
|
+
ALLOWLIST: "allowlist",
|
|
865
|
+
UNRESTRICTED: "unrestricted"
|
|
866
|
+
};
|
|
863
867
|
function instanceOfApplicationSelf(value) {
|
|
864
868
|
if (!("id" in value) || value["id"] === void 0) return false;
|
|
865
869
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
866
870
|
if (!("environment" in value) || value["environment"] === void 0) return false;
|
|
867
871
|
if (!("signingAlgorithm" in value) || value["signingAlgorithm"] === void 0) return false;
|
|
868
872
|
if (!("testRecipients" in value) || value["testRecipients"] === void 0) return false;
|
|
873
|
+
if (!("authEmailMode" in value) || value["authEmailMode"] === void 0) return false;
|
|
869
874
|
return true;
|
|
870
875
|
}
|
|
871
876
|
function ApplicationSelfFromJSON(json) {
|
|
@@ -880,7 +885,8 @@ function ApplicationSelfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
880
885
|
"name": json["name"],
|
|
881
886
|
"environment": json["environment"],
|
|
882
887
|
"signingAlgorithm": json["signing_algorithm"],
|
|
883
|
-
"testRecipients": json["test_recipients"]
|
|
888
|
+
"testRecipients": json["test_recipients"],
|
|
889
|
+
"authEmailMode": json["auth_email_mode"]
|
|
884
890
|
};
|
|
885
891
|
}
|
|
886
892
|
function ApplicationSelfToJSON(json) {
|
|
@@ -895,7 +901,8 @@ function ApplicationSelfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
895
901
|
"name": value["name"],
|
|
896
902
|
"environment": value["environment"],
|
|
897
903
|
"signing_algorithm": value["signingAlgorithm"],
|
|
898
|
-
"test_recipients": value["testRecipients"]
|
|
904
|
+
"test_recipients": value["testRecipients"],
|
|
905
|
+
"auth_email_mode": value["authEmailMode"]
|
|
899
906
|
};
|
|
900
907
|
}
|
|
901
908
|
|
|
@@ -12112,8 +12119,11 @@ function SetPreferencesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
12112
12119
|
}
|
|
12113
12120
|
|
|
12114
12121
|
// src/src/models/SetSelfApplicationTestRecipientsRequest.ts
|
|
12122
|
+
var SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum = {
|
|
12123
|
+
ALLOWLIST: "allowlist",
|
|
12124
|
+
UNRESTRICTED: "unrestricted"
|
|
12125
|
+
};
|
|
12115
12126
|
function instanceOfSetSelfApplicationTestRecipientsRequest(value) {
|
|
12116
|
-
if (!("testRecipients" in value) || value["testRecipients"] === void 0) return false;
|
|
12117
12127
|
return true;
|
|
12118
12128
|
}
|
|
12119
12129
|
function SetSelfApplicationTestRecipientsRequestFromJSON(json) {
|
|
@@ -12124,7 +12134,8 @@ function SetSelfApplicationTestRecipientsRequestFromJSONTyped(json, ignoreDiscri
|
|
|
12124
12134
|
return json;
|
|
12125
12135
|
}
|
|
12126
12136
|
return {
|
|
12127
|
-
"testRecipients": json["test_recipients"]
|
|
12137
|
+
"testRecipients": json["test_recipients"] == null ? void 0 : json["test_recipients"],
|
|
12138
|
+
"authEmailMode": json["auth_email_mode"] == null ? void 0 : json["auth_email_mode"]
|
|
12128
12139
|
};
|
|
12129
12140
|
}
|
|
12130
12141
|
function SetSelfApplicationTestRecipientsRequestToJSON(json) {
|
|
@@ -12135,7 +12146,8 @@ function SetSelfApplicationTestRecipientsRequestToJSONTyped(value, ignoreDiscrim
|
|
|
12135
12146
|
return value;
|
|
12136
12147
|
}
|
|
12137
12148
|
return {
|
|
12138
|
-
"test_recipients": value["testRecipients"]
|
|
12149
|
+
"test_recipients": value["testRecipients"],
|
|
12150
|
+
"auth_email_mode": value["authEmailMode"]
|
|
12139
12151
|
};
|
|
12140
12152
|
}
|
|
12141
12153
|
|
|
@@ -26610,6 +26622,7 @@ export {
|
|
|
26610
26622
|
ApiErrorMetaToJSONTyped,
|
|
26611
26623
|
ApiErrorToJSON,
|
|
26612
26624
|
ApiErrorToJSONTyped,
|
|
26625
|
+
ApplicationSelfAuthEmailModeEnum,
|
|
26613
26626
|
ApplicationSelfEnvironmentEnum,
|
|
26614
26627
|
ApplicationSelfFromJSON,
|
|
26615
26628
|
ApplicationSelfFromJSONTyped,
|
|
@@ -27986,6 +27999,7 @@ export {
|
|
|
27986
27999
|
SetPreferencesRequestPreferencesInnerToJSONTyped,
|
|
27987
28000
|
SetPreferencesRequestToJSON,
|
|
27988
28001
|
SetPreferencesRequestToJSONTyped,
|
|
28002
|
+
SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum,
|
|
27989
28003
|
SetSelfApplicationTestRecipientsRequestFromJSON,
|
|
27990
28004
|
SetSelfApplicationTestRecipientsRequestFromJSONTyped,
|
|
27991
28005
|
SetSelfApplicationTestRecipientsRequestToJSON,
|