@zyphr-dev/node-sdk 0.1.66 → 0.1.68

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
@@ -20647,7 +20647,7 @@ var AuthEmailVerificationApi = class extends BaseAPI {
20647
20647
  return await response.value();
20648
20648
  }
20649
20649
  /**
20650
- * Resend the verification email to the authenticated user. Rate limited to once per 60 seconds.
20650
+ * Resend the verification email to the authenticated user. Rate limited to once per 60 seconds. Requires all three credentials simultaneously: the application key (`X-Application-Key`), the application secret (`X-Application-Secret`), and the end user\'s `Authorization: Bearer` token. Failures behave as on `POST /auth/verify-email/send`, including the 200 accepted-and-suppressed response for a recipient outside the application allowlist.
20651
20651
  * Resend email verification
20652
20652
  */
20653
20653
  async resendEmailVerificationRaw(requestParameters, initOverrides) {
@@ -20687,7 +20687,7 @@ var AuthEmailVerificationApi = class extends BaseAPI {
20687
20687
  return new JSONApiResponse(response, (jsonValue) => SuccessResultFromJSON(jsonValue));
20688
20688
  }
20689
20689
  /**
20690
- * Resend the verification email to the authenticated user. Rate limited to once per 60 seconds.
20690
+ * Resend the verification email to the authenticated user. Rate limited to once per 60 seconds. Requires all three credentials simultaneously: the application key (`X-Application-Key`), the application secret (`X-Application-Secret`), and the end user\'s `Authorization: Bearer` token. Failures behave as on `POST /auth/verify-email/send`, including the 200 accepted-and-suppressed response for a recipient outside the application allowlist.
20691
20691
  * Resend email verification
20692
20692
  */
20693
20693
  async resendEmailVerification(resendEmailVerificationRequest, initOverrides) {
@@ -30899,6 +30899,13 @@ var Zyphr = class {
30899
30899
  * facade, which made the documented `zyphr.workflows.*` calls throw.
30900
30900
  */
30901
30901
  workflows;
30902
+ /**
30903
+ * A single workflow execution by id: get its status and step results, cancel
30904
+ * it while running, or retry it after a failure (#1866). List a workflow's
30905
+ * executions with `workflows.listWorkflowExecutions`. Requires the
30906
+ * `workflows:read` scope for reads and `workflows:execute` for cancel/retry.
30907
+ */
30908
+ executions;
30902
30909
  /** Inbound (received) email — read access. Requires the `email:read` scope. */
30903
30910
  inbound;
30904
30911
  waas;
@@ -30928,6 +30935,7 @@ var Zyphr = class {
30928
30935
  this.utility = new UtilityApi(config);
30929
30936
  this.domains = new DomainsApi(config);
30930
30937
  this.workflows = new WorkflowsApi(config);
30938
+ this.executions = new ExecutionsApi(config);
30931
30939
  this.inbound = new InboundEmailApi(config);
30932
30940
  this.waas = {
30933
30941
  applications: new WaaSApplicationsApi(config),
@@ -30954,7 +30962,8 @@ var Zyphr = class {
30954
30962
  profile: new AuthUserProfileApi(config),
30955
30963
  userDirectory: new AuthUserDirectoryApi(config),
30956
30964
  webauthn: new AuthWebAuthnApi(config),
30957
- application: new AuthApplicationApi(config)
30965
+ application: new AuthApplicationApi(config),
30966
+ emailTemplates: new AuthEmailTemplatesApi(config)
30958
30967
  };
30959
30968
  }
30960
30969
  /**