@zyphr-dev/node-sdk 0.1.66 → 0.1.67

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.d.cts CHANGED
@@ -33650,6 +33650,13 @@ declare class Zyphr {
33650
33650
  * facade, which made the documented `zyphr.workflows.*` calls throw.
33651
33651
  */
33652
33652
  readonly workflows: WorkflowsApi;
33653
+ /**
33654
+ * A single workflow execution by id: get its status and step results, cancel
33655
+ * it while running, or retry it after a failure (#1866). List a workflow's
33656
+ * executions with `workflows.listWorkflowExecutions`. Requires the
33657
+ * `workflows:read` scope for reads and `workflows:execute` for cancel/retry.
33658
+ */
33659
+ readonly executions: ExecutionsApi;
33653
33660
  /** Inbound (received) email — read access. Requires the `email:read` scope. */
33654
33661
  readonly inbound: InboundEmailApi;
33655
33662
  readonly waas: {
@@ -33678,6 +33685,13 @@ declare class Zyphr {
33678
33685
  readonly webauthn: AuthWebAuthnApi;
33679
33686
  /** Read the authenticating application's own non-sensitive metadata (id, name, environment, signing algorithm) via GET /auth/application. */
33680
33687
  readonly application: AuthApplicationApi;
33688
+ /**
33689
+ * Per-application auth email templates (magic link, password reset, email
33690
+ * verification, email OTP, invitation): list, get, set, reset to the
33691
+ * default, preview and test-send (#1866). Secret-key scoped. Not to be
33692
+ * confused with `zyphr.templates`, which manages notification templates.
33693
+ */
33694
+ readonly emailTemplates: AuthEmailTemplatesApi;
33681
33695
  };
33682
33696
  private readonly options;
33683
33697
  constructor(options: ZyphrOptions);
package/dist/index.d.ts CHANGED
@@ -33650,6 +33650,13 @@ declare class Zyphr {
33650
33650
  * facade, which made the documented `zyphr.workflows.*` calls throw.
33651
33651
  */
33652
33652
  readonly workflows: WorkflowsApi;
33653
+ /**
33654
+ * A single workflow execution by id: get its status and step results, cancel
33655
+ * it while running, or retry it after a failure (#1866). List a workflow's
33656
+ * executions with `workflows.listWorkflowExecutions`. Requires the
33657
+ * `workflows:read` scope for reads and `workflows:execute` for cancel/retry.
33658
+ */
33659
+ readonly executions: ExecutionsApi;
33653
33660
  /** Inbound (received) email — read access. Requires the `email:read` scope. */
33654
33661
  readonly inbound: InboundEmailApi;
33655
33662
  readonly waas: {
@@ -33678,6 +33685,13 @@ declare class Zyphr {
33678
33685
  readonly webauthn: AuthWebAuthnApi;
33679
33686
  /** Read the authenticating application's own non-sensitive metadata (id, name, environment, signing algorithm) via GET /auth/application. */
33680
33687
  readonly application: AuthApplicationApi;
33688
+ /**
33689
+ * Per-application auth email templates (magic link, password reset, email
33690
+ * verification, email OTP, invitation): list, get, set, reset to the
33691
+ * default, preview and test-send (#1866). Secret-key scoped. Not to be
33692
+ * confused with `zyphr.templates`, which manages notification templates.
33693
+ */
33694
+ readonly emailTemplates: AuthEmailTemplatesApi;
33681
33695
  };
33682
33696
  private readonly options;
33683
33697
  constructor(options: ZyphrOptions);
package/dist/index.js CHANGED
@@ -28201,6 +28201,13 @@ var Zyphr = class {
28201
28201
  * facade, which made the documented `zyphr.workflows.*` calls throw.
28202
28202
  */
28203
28203
  workflows;
28204
+ /**
28205
+ * A single workflow execution by id: get its status and step results, cancel
28206
+ * it while running, or retry it after a failure (#1866). List a workflow's
28207
+ * executions with `workflows.listWorkflowExecutions`. Requires the
28208
+ * `workflows:read` scope for reads and `workflows:execute` for cancel/retry.
28209
+ */
28210
+ executions;
28204
28211
  /** Inbound (received) email — read access. Requires the `email:read` scope. */
28205
28212
  inbound;
28206
28213
  waas;
@@ -28230,6 +28237,7 @@ var Zyphr = class {
28230
28237
  this.utility = new UtilityApi(config);
28231
28238
  this.domains = new DomainsApi(config);
28232
28239
  this.workflows = new WorkflowsApi(config);
28240
+ this.executions = new ExecutionsApi(config);
28233
28241
  this.inbound = new InboundEmailApi(config);
28234
28242
  this.waas = {
28235
28243
  applications: new WaaSApplicationsApi(config),
@@ -28256,7 +28264,8 @@ var Zyphr = class {
28256
28264
  profile: new AuthUserProfileApi(config),
28257
28265
  userDirectory: new AuthUserDirectoryApi(config),
28258
28266
  webauthn: new AuthWebAuthnApi(config),
28259
- application: new AuthApplicationApi(config)
28267
+ application: new AuthApplicationApi(config),
28268
+ emailTemplates: new AuthEmailTemplatesApi(config)
28260
28269
  };
28261
28270
  }
28262
28271
  /**