conductor-node 11.6.15 → 11.7.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.
|
|
3
|
+
"version": "11.7.0",
|
|
4
4
|
"description": "QuickBooks Desktop API for Node.js and TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"QuickBooks",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"prepublishOnly": "pnpm jest"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"axios": "^1.7.
|
|
39
|
+
"axios": "^1.7.7"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"axios-mock-adapter": "^1.22.0",
|
|
@@ -8,6 +8,10 @@ export interface AuthSession {
|
|
|
8
8
|
* The object's type. This will always be "auth_session".
|
|
9
9
|
*/
|
|
10
10
|
readonly objectType: "auth_session";
|
|
11
|
+
/**
|
|
12
|
+
* The date and time when this object was created.
|
|
13
|
+
*/
|
|
14
|
+
readonly createdAt: string;
|
|
11
15
|
/**
|
|
12
16
|
* The ID of the EndUser for whom to create an IntegrationConnection.
|
|
13
17
|
*/
|
|
@@ -29,7 +33,7 @@ export interface AuthSession {
|
|
|
29
33
|
*/
|
|
30
34
|
readonly expiresAt: string;
|
|
31
35
|
/**
|
|
32
|
-
* The URL to which Conductor will redirect the
|
|
36
|
+
* The URL to which Conductor will redirect the user to return to your app
|
|
33
37
|
* after they complete the authentication flow. If `undefined`, their browser
|
|
34
38
|
* tab will close instead.
|
|
35
39
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import BaseResource from "../resources/BaseResource";
|
|
2
|
-
import type { IntegrationSlug } from "../resources/IntegrationConnectionsResource";
|
|
2
|
+
import type { IntegrationConnection, IntegrationSlug } from "../resources/IntegrationConnectionsResource";
|
|
3
3
|
import type { ApiListResponse } from "../resources/base";
|
|
4
4
|
export interface EndUser {
|
|
5
5
|
/**
|
|
@@ -13,24 +13,28 @@ export interface EndUser {
|
|
|
13
13
|
*/
|
|
14
14
|
readonly objectType: "end_user";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* The time at which the object was created.
|
|
17
|
+
*/
|
|
18
|
+
readonly createdAt: string;
|
|
19
|
+
/**
|
|
20
|
+
* The EndUser's company name that will be shown elsewhere in Conductor.
|
|
17
21
|
*/
|
|
18
22
|
readonly companyName: string;
|
|
19
23
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
24
|
+
* The EndUser's unique identifier from your system. Maps users between your
|
|
25
|
+
* database and Conductor. Must be unique for each user. If you have only one
|
|
26
|
+
* user, you may use any string value.
|
|
23
27
|
*/
|
|
24
28
|
readonly sourceId: string;
|
|
25
29
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
30
|
+
* The EndUser's email address for identification purposes. Setting this field
|
|
31
|
+
* will not cause any emails to be sent.
|
|
28
32
|
*/
|
|
29
33
|
readonly email: string;
|
|
30
34
|
/**
|
|
31
|
-
* The
|
|
35
|
+
* The EndUser's IntegrationConnections.
|
|
32
36
|
*/
|
|
33
|
-
readonly
|
|
37
|
+
readonly integrationConnections: IntegrationConnection[];
|
|
34
38
|
}
|
|
35
39
|
export type EndUserCreateInput = Pick<EndUser, "companyName" | "email" | "sourceId">;
|
|
36
40
|
export interface EndUserPingOutput {
|
|
@@ -10,6 +10,10 @@ export interface IntegrationConnection {
|
|
|
10
10
|
* The object's type. This will always be "integration_connection".
|
|
11
11
|
*/
|
|
12
12
|
readonly objectType: "integration_connection";
|
|
13
|
+
/**
|
|
14
|
+
* The time at which the object was created.
|
|
15
|
+
*/
|
|
16
|
+
readonly createdAt: string;
|
|
13
17
|
/**
|
|
14
18
|
* The ID of the EndUser who owns this IntegrationConnection.
|
|
15
19
|
*/
|
|
@@ -20,9 +24,9 @@ export interface IntegrationConnection {
|
|
|
20
24
|
*/
|
|
21
25
|
readonly integrationSlug: IntegrationSlug;
|
|
22
26
|
/**
|
|
23
|
-
* The time
|
|
27
|
+
* The date and time of your last API request to this IntegrationConnection.
|
|
24
28
|
*/
|
|
25
|
-
readonly
|
|
29
|
+
readonly lastRequestAt: string | null;
|
|
26
30
|
}
|
|
27
31
|
export interface IntegrationConnectionPingOutput {
|
|
28
32
|
readonly duration: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conductor-node",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.7.0",
|
|
4
4
|
"description": "QuickBooks Desktop API for Node.js and TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"QuickBooks",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"prepublishOnly": "pnpm jest"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"axios": "^1.7.
|
|
39
|
+
"axios": "^1.7.7"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"axios-mock-adapter": "^1.22.0",
|