conductor-node 11.1.0 → 11.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.1.0",
3
+ "version": "11.2.0",
4
4
  "description": "Easily integrate the entire QuickBooks Desktop API using fully-typed async TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks Desktop",
@@ -5,8 +5,7 @@ export interface AuthSession {
5
5
  */
6
6
  readonly id: string;
7
7
  /**
8
- * The ID of the EndUser for whom to create an IntegrationConnection in this
9
- * AuthSession.
8
+ * The ID of the EndUser for whom to create an IntegrationConnection.
10
9
  */
11
10
  readonly endUserId: string;
12
11
  /**
@@ -23,6 +22,12 @@ export interface AuthSession {
23
22
  * The time at which the AuthSession expires.
24
23
  */
25
24
  readonly expiresAt: string;
25
+ /**
26
+ * The URL to which Conductor will redirect the end-user to return to your app
27
+ * after they complete the authentication flow. If `null`, their browser tab
28
+ * will close instead.
29
+ */
30
+ readonly returnUrl: string | undefined;
26
31
  }
27
32
  export interface AuthSessionCreateInput {
28
33
  /**
@@ -39,6 +44,12 @@ export interface AuthSessionCreateInput {
39
44
  * provided, defaults to 30 minutes.
40
45
  */
41
46
  readonly linkExpiryMins?: number;
47
+ /**
48
+ * The URL to which Conductor will redirect the end-user to return to your app
49
+ * after they complete the authentication flow. If not provided, their browser
50
+ * tab will close instead.
51
+ */
52
+ readonly returnUrl?: string;
42
53
  }
43
54
  export default class AuthSessionsResource extends BaseResource {
44
55
  protected readonly ROUTE = "/auth_sessions";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.1.0",
3
+ "version": "11.2.0",
4
4
  "description": "Easily integrate the entire QuickBooks Desktop API using fully-typed async TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks Desktop",