@verdocs/js-sdk 4.2.54 → 4.2.55

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.mts CHANGED
@@ -915,12 +915,12 @@ type TEventDetail = "in_app" | "mail" | "signer" | "sms" | "reminder" | "prepare
915
915
  // Modification events have a string description
916
916
  type TEnvelopeUpdateResult = Omit<IEnvelope, "histories" | "recipients" | "certificate" | "document" | "fields" | "profile">;
917
917
  type TFieldType = "signature" | "initial" | "checkbox" | "radio" | "textbox" | "timestamp" | "date" | "dropdown" | "textarea" | "attachment" | "payment";
918
- type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "template_created" | "template_updated" | "template_deleted" | "template_used";
918
+ type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "envelope_updated" | "template_created" | "template_updated" | "template_deleted" | "template_used";
919
919
  declare const FIELD_TYPES: TFieldType[];
920
920
  declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
921
921
  declare const DEFAULT_FIELD_HEIGHTS: Record<TFieldType, number>;
922
922
  declare const WEBHOOK_EVENTS: string[];
923
- type TEnvironment = "verdocs" | "verdocs-stage";
923
+ type TEnvironment = "" | "beta";
924
924
  type TSessionChangedListener = (endpoint: VerdocsEndpoint, session: TSession, profile: IProfile | null) => void;
925
925
  interface VerdocsEndpointOptions {
926
926
  baseURL?: string;
package/dist/index.d.ts CHANGED
@@ -915,12 +915,12 @@ type TEventDetail = "in_app" | "mail" | "signer" | "sms" | "reminder" | "prepare
915
915
  // Modification events have a string description
916
916
  type TEnvelopeUpdateResult = Omit<IEnvelope, "histories" | "recipients" | "certificate" | "document" | "fields" | "profile">;
917
917
  type TFieldType = "signature" | "initial" | "checkbox" | "radio" | "textbox" | "timestamp" | "date" | "dropdown" | "textarea" | "attachment" | "payment";
918
- type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "template_created" | "template_updated" | "template_deleted" | "template_used";
918
+ type TWebhookEvent = "envelope_created" | "envelope_completed" | "envelope_canceled" | "envelope_updated" | "template_created" | "template_updated" | "template_deleted" | "template_used";
919
919
  declare const FIELD_TYPES: TFieldType[];
920
920
  declare const DEFAULT_FIELD_WIDTHS: Record<TFieldType, number>;
921
921
  declare const DEFAULT_FIELD_HEIGHTS: Record<TFieldType, number>;
922
922
  declare const WEBHOOK_EVENTS: string[];
923
- type TEnvironment = "verdocs" | "verdocs-stage";
923
+ type TEnvironment = "" | "beta";
924
924
  type TSessionChangedListener = (endpoint: VerdocsEndpoint, session: TSession, profile: IProfile | null) => void;
925
925
  interface VerdocsEndpointOptions {
926
926
  baseURL?: string;