@verdocs/js-sdk 6.4.10 → 6.6.1

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
@@ -433,10 +433,11 @@ interface IWebhook {
433
433
  id: string;
434
434
  organization_id: string;
435
435
  url: string;
436
- secret_key?: string;
437
- client_id?: string;
438
- client_secret?: string;
439
- token_endpoint?: string;
436
+ secret_key?: string | null;
437
+ client_id?: string | null;
438
+ client_secret?: string | null;
439
+ scope?: string | null;
440
+ token_endpoint?: string | null;
440
441
  auth_method: TWebhookAuthMethod;
441
442
  active: boolean;
442
443
  events: IWebhookEvents;
@@ -541,8 +542,6 @@ interface IEnvelope {
541
542
  visibility: "private" | "shared";
542
543
  /** If true, the attachments have been signed with the Verdocs AATL signing certificate. */
543
544
  signed: boolean;
544
- /** If true, the envelope certificate has been generated and signed. */
545
- certified: boolean;
546
545
  /**
547
546
  * Storage for arbitrary data that may be used e.g. to track source database/record IDs to relate Envelopes back to
548
547
  * internal systems/applications.
@@ -2310,6 +2309,11 @@ interface IAcceptOrganizationInvitationRequest {
2310
2309
  interface ISetWebhookRequest {
2311
2310
  url: string;
2312
2311
  active: boolean;
2312
+ client_id?: string | null;
2313
+ client_secret?: string | null;
2314
+ scope?: string | null;
2315
+ token_endpoint?: string | null;
2316
+ auth_method: TWebhookAuthMethod;
2313
2317
  events: Record<TWebhookEvent, boolean>;
2314
2318
  }
2315
2319
  /**
package/dist/index.d.ts CHANGED
@@ -433,10 +433,11 @@ interface IWebhook {
433
433
  id: string;
434
434
  organization_id: string;
435
435
  url: string;
436
- secret_key?: string;
437
- client_id?: string;
438
- client_secret?: string;
439
- token_endpoint?: string;
436
+ secret_key?: string | null;
437
+ client_id?: string | null;
438
+ client_secret?: string | null;
439
+ scope?: string | null;
440
+ token_endpoint?: string | null;
440
441
  auth_method: TWebhookAuthMethod;
441
442
  active: boolean;
442
443
  events: IWebhookEvents;
@@ -541,8 +542,6 @@ interface IEnvelope {
541
542
  visibility: "private" | "shared";
542
543
  /** If true, the attachments have been signed with the Verdocs AATL signing certificate. */
543
544
  signed: boolean;
544
- /** If true, the envelope certificate has been generated and signed. */
545
- certified: boolean;
546
545
  /**
547
546
  * Storage for arbitrary data that may be used e.g. to track source database/record IDs to relate Envelopes back to
548
547
  * internal systems/applications.
@@ -2310,6 +2309,11 @@ interface IAcceptOrganizationInvitationRequest {
2310
2309
  interface ISetWebhookRequest {
2311
2310
  url: string;
2312
2311
  active: boolean;
2312
+ client_id?: string | null;
2313
+ client_secret?: string | null;
2314
+ scope?: string | null;
2315
+ token_endpoint?: string | null;
2316
+ auth_method: TWebhookAuthMethod;
2313
2317
  events: Record<TWebhookEvent, boolean>;
2314
2318
  }
2315
2319
  /**
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "6.4.10",
3
+ "version": "6.6.1",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "6.4.10",
3
+ "version": "6.6.1",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Isomorphic JS/TS SDK providing types and API wrappers for the Verdocs platform for Node and browser clients",