@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 CHANGED
@@ -61,6 +61,7 @@ __export(index_exports, {
61
61
  ApiErrorMetaToJSONTyped: () => ApiErrorMetaToJSONTyped,
62
62
  ApiErrorToJSON: () => ApiErrorToJSON,
63
63
  ApiErrorToJSONTyped: () => ApiErrorToJSONTyped,
64
+ ApplicationSelfAuthEmailModeEnum: () => ApplicationSelfAuthEmailModeEnum,
64
65
  ApplicationSelfEnvironmentEnum: () => ApplicationSelfEnvironmentEnum,
65
66
  ApplicationSelfFromJSON: () => ApplicationSelfFromJSON,
66
67
  ApplicationSelfFromJSONTyped: () => ApplicationSelfFromJSONTyped,
@@ -1437,6 +1438,7 @@ __export(index_exports, {
1437
1438
  SetPreferencesRequestPreferencesInnerToJSONTyped: () => SetPreferencesRequestPreferencesInnerToJSONTyped,
1438
1439
  SetPreferencesRequestToJSON: () => SetPreferencesRequestToJSON,
1439
1440
  SetPreferencesRequestToJSONTyped: () => SetPreferencesRequestToJSONTyped,
1441
+ SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum: () => SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum,
1440
1442
  SetSelfApplicationTestRecipientsRequestFromJSON: () => SetSelfApplicationTestRecipientsRequestFromJSON,
1441
1443
  SetSelfApplicationTestRecipientsRequestFromJSONTyped: () => SetSelfApplicationTestRecipientsRequestFromJSONTyped,
1442
1444
  SetSelfApplicationTestRecipientsRequestToJSON: () => SetSelfApplicationTestRecipientsRequestToJSON,
@@ -3541,12 +3543,17 @@ var ApplicationSelfSigningAlgorithmEnum = {
3541
3543
  RS256: "RS256",
3542
3544
  ES256: "ES256"
3543
3545
  };
3546
+ var ApplicationSelfAuthEmailModeEnum = {
3547
+ ALLOWLIST: "allowlist",
3548
+ UNRESTRICTED: "unrestricted"
3549
+ };
3544
3550
  function instanceOfApplicationSelf(value) {
3545
3551
  if (!("id" in value) || value["id"] === void 0) return false;
3546
3552
  if (!("name" in value) || value["name"] === void 0) return false;
3547
3553
  if (!("environment" in value) || value["environment"] === void 0) return false;
3548
3554
  if (!("signingAlgorithm" in value) || value["signingAlgorithm"] === void 0) return false;
3549
3555
  if (!("testRecipients" in value) || value["testRecipients"] === void 0) return false;
3556
+ if (!("authEmailMode" in value) || value["authEmailMode"] === void 0) return false;
3550
3557
  return true;
3551
3558
  }
3552
3559
  function ApplicationSelfFromJSON(json) {
@@ -3561,7 +3568,8 @@ function ApplicationSelfFromJSONTyped(json, ignoreDiscriminator) {
3561
3568
  "name": json["name"],
3562
3569
  "environment": json["environment"],
3563
3570
  "signingAlgorithm": json["signing_algorithm"],
3564
- "testRecipients": json["test_recipients"]
3571
+ "testRecipients": json["test_recipients"],
3572
+ "authEmailMode": json["auth_email_mode"]
3565
3573
  };
3566
3574
  }
3567
3575
  function ApplicationSelfToJSON(json) {
@@ -3576,7 +3584,8 @@ function ApplicationSelfToJSONTyped(value, ignoreDiscriminator = false) {
3576
3584
  "name": value["name"],
3577
3585
  "environment": value["environment"],
3578
3586
  "signing_algorithm": value["signingAlgorithm"],
3579
- "test_recipients": value["testRecipients"]
3587
+ "test_recipients": value["testRecipients"],
3588
+ "auth_email_mode": value["authEmailMode"]
3580
3589
  };
3581
3590
  }
3582
3591
 
@@ -14793,8 +14802,11 @@ function SetPreferencesRequestToJSONTyped(value, ignoreDiscriminator = false) {
14793
14802
  }
14794
14803
 
14795
14804
  // src/src/models/SetSelfApplicationTestRecipientsRequest.ts
14805
+ var SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum = {
14806
+ ALLOWLIST: "allowlist",
14807
+ UNRESTRICTED: "unrestricted"
14808
+ };
14796
14809
  function instanceOfSetSelfApplicationTestRecipientsRequest(value) {
14797
- if (!("testRecipients" in value) || value["testRecipients"] === void 0) return false;
14798
14810
  return true;
14799
14811
  }
14800
14812
  function SetSelfApplicationTestRecipientsRequestFromJSON(json) {
@@ -14805,7 +14817,8 @@ function SetSelfApplicationTestRecipientsRequestFromJSONTyped(json, ignoreDiscri
14805
14817
  return json;
14806
14818
  }
14807
14819
  return {
14808
- "testRecipients": json["test_recipients"]
14820
+ "testRecipients": json["test_recipients"] == null ? void 0 : json["test_recipients"],
14821
+ "authEmailMode": json["auth_email_mode"] == null ? void 0 : json["auth_email_mode"]
14809
14822
  };
14810
14823
  }
14811
14824
  function SetSelfApplicationTestRecipientsRequestToJSON(json) {
@@ -14816,7 +14829,8 @@ function SetSelfApplicationTestRecipientsRequestToJSONTyped(value, ignoreDiscrim
14816
14829
  return value;
14817
14830
  }
14818
14831
  return {
14819
- "test_recipients": value["testRecipients"]
14832
+ "test_recipients": value["testRecipients"],
14833
+ "auth_email_mode": value["authEmailMode"]
14820
14834
  };
14821
14835
  }
14822
14836
 
@@ -29292,6 +29306,7 @@ var SDK_VERSION = "0.1.0";
29292
29306
  ApiErrorMetaToJSONTyped,
29293
29307
  ApiErrorToJSON,
29294
29308
  ApiErrorToJSONTyped,
29309
+ ApplicationSelfAuthEmailModeEnum,
29295
29310
  ApplicationSelfEnvironmentEnum,
29296
29311
  ApplicationSelfFromJSON,
29297
29312
  ApplicationSelfFromJSONTyped,
@@ -30668,6 +30683,7 @@ var SDK_VERSION = "0.1.0";
30668
30683
  SetPreferencesRequestPreferencesInnerToJSONTyped,
30669
30684
  SetPreferencesRequestToJSON,
30670
30685
  SetPreferencesRequestToJSONTyped,
30686
+ SetSelfApplicationTestRecipientsRequestAuthEmailModeEnum,
30671
30687
  SetSelfApplicationTestRecipientsRequestFromJSON,
30672
30688
  SetSelfApplicationTestRecipientsRequestFromJSONTyped,
30673
30689
  SetSelfApplicationTestRecipientsRequestToJSON,