@subnoto/api-client 2.5.0 → 2.5.2

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.
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@subnoto/api-client",
3
3
  "private": false,
4
- "version": "2.5.0",
4
+ "version": "2.5.2",
5
5
  "description": "TypeScript SDK for Subnoto Public API",
6
6
  "author": "Subnoto",
7
7
  "homepage": "https://subnoto.com",
@@ -31,10 +31,10 @@
31
31
  "url": "https://gitlab.com/subnoto/subnoto-monorepo-public.git"
32
32
  },
33
33
  "dependencies": {
34
- "openapi-fetch": "0.15.0",
34
+ "openapi-fetch": "0.17.0",
35
35
  "tough-cookie": "6.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "openapi-typescript": "7.10.1"
38
+ "openapi-typescript": "7.13.0"
39
39
  }
40
40
  }
@@ -1606,6 +1606,8 @@ export interface paths {
1606
1606
  * @enum {string}
1607
1607
  */
1608
1608
  status: "pending" | "approved" | "signed" | "declined" | "canceled";
1609
+ /** @description The color variant assigned to the recipient. */
1610
+ colorVariant: string;
1609
1611
  }[];
1610
1612
  };
1611
1613
  };
@@ -2859,9 +2861,15 @@ export interface paths {
2859
2861
  workspaceUuid: string;
2860
2862
  /** @description The UUID of the envelope to send. */
2861
2863
  envelopeUuid: string;
2862
- /** @description Whether to use the user's name or by default the company name as the sender name. */
2864
+ /**
2865
+ * @deprecated
2866
+ * @description Deprecated. Use the update envelope endpoint to set this; value is ignored when sending. Whether to use the user's name or by default the company name as the sender name.
2867
+ */
2863
2868
  useUserAsSenderName?: boolean;
2864
- /** @description Custom message to include in the invitation email */
2869
+ /**
2870
+ * @deprecated
2871
+ * @description Deprecated. Use the update envelope endpoint to set this; value is ignored when sending. Custom message to include in the invitation email.
2872
+ */
2865
2873
  customInvitationMessage?: string;
2866
2874
  };
2867
2875
  };
@@ -3460,7 +3468,7 @@ export interface paths {
3460
3468
  recipientEmail?: string;
3461
3469
  exported?: boolean;
3462
3470
  /** @enum {string} */
3463
- color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger";
3471
+ color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger" | "teal" | "pink" | "grape" | "lime";
3464
3472
  recipientLabel?: string;
3465
3473
  /** @enum {string} */
3466
3474
  type: "text";
@@ -3481,7 +3489,7 @@ export interface paths {
3481
3489
  recipientEmail?: string;
3482
3490
  exported?: boolean;
3483
3491
  /** @enum {string} */
3484
- color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger";
3492
+ color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger" | "teal" | "pink" | "grape" | "lime";
3485
3493
  recipientLabel?: string;
3486
3494
  /** @enum {string} */
3487
3495
  type: "image";
@@ -3500,7 +3508,7 @@ export interface paths {
3500
3508
  recipientEmail?: string;
3501
3509
  exported?: boolean;
3502
3510
  /** @enum {string} */
3503
- color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger";
3511
+ color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger" | "teal" | "pink" | "grape" | "lime";
3504
3512
  recipientLabel?: string;
3505
3513
  /** @enum {string} */
3506
3514
  type: "signature";
@@ -3517,7 +3525,7 @@ export interface paths {
3517
3525
  recipientEmail?: string;
3518
3526
  exported?: boolean;
3519
3527
  /** @enum {string} */
3520
- color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger";
3528
+ color?: "primary" | "info" | "auxiliary" | "success" | "warning" | "danger" | "teal" | "pink" | "grape" | "lime";
3521
3529
  recipientLabel?: string;
3522
3530
  /** @enum {string} */
3523
3531
  type: "date";
@@ -3557,6 +3565,8 @@ export interface paths {
3557
3565
  signatureOrder: boolean;
3558
3566
  /** @description Custom message to include in invitation emails. */
3559
3567
  customMessage: string | null;
3568
+ /** @description Whether to use the user's name (true) or team name (false) as sender in invitation emails. */
3569
+ useUserAsSenderName: boolean;
3560
3570
  /** @description Number of days until expiration of the recipient link invitation (min: 1, max: 90). */
3561
3571
  expirationPeriod: number;
3562
3572
  /** @description Number of days between reminders (null to disable reminders). */
@@ -4106,6 +4116,10 @@ export interface paths {
4106
4116
  expirationPeriod?: number;
4107
4117
  /** @description Number of days between reminders (null to disable reminders). */
4108
4118
  reminderFrequencyPeriod?: number | null;
4119
+ /** @description Custom message to include in invitation emails (null to clear). */
4120
+ customInvitationMessage?: string | null;
4121
+ /** @description Whether to use the user's name (true) or team name (false) as sender in invitation emails. */
4122
+ useUserAsSenderName?: boolean;
4109
4123
  };
4110
4124
  };
4111
4125
  };