conductor-node 7.4.1 → 7.4.4
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 +1 -1
- package/dist/src/environment.js +1 -1
- package/dist/src/graphql/__generated__/operationTypes.d.ts +10 -5
- package/dist/src/graphql/__generated__/operationTypes.js +4 -2
- package/dist/src/integrations/qbd/qbdTypes.d.ts +2 -2
- package/dist/src/utils/test.d.ts +2 -0
- package/dist/src/utils/test.js +5 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/src/environment.js
CHANGED
|
@@ -24,8 +24,7 @@ export type Scalars = {
|
|
|
24
24
|
JSONObject: object;
|
|
25
25
|
};
|
|
26
26
|
export type GraphqlConnectionStatusResult = {
|
|
27
|
-
|
|
28
|
-
endUserErrorMessage: Maybe<Scalars["String"]>;
|
|
27
|
+
error: Maybe<GraphqlUserError>;
|
|
29
28
|
isConnected: Scalars["Boolean"];
|
|
30
29
|
};
|
|
31
30
|
export type GraphqlCreateIntegrationConnectionInput = {
|
|
@@ -78,6 +77,10 @@ export type GraphqlSendIntegrationRequestInput = {
|
|
|
78
77
|
export type GraphqlSendIntegrationRequestResult = {
|
|
79
78
|
response: Scalars["JSONObject"];
|
|
80
79
|
};
|
|
80
|
+
export type GraphqlUserError = {
|
|
81
|
+
devMessage: Scalars["String"];
|
|
82
|
+
endUserMessage: Scalars["String"];
|
|
83
|
+
};
|
|
81
84
|
export type GraphqlIntegrationConnectionFragment = {
|
|
82
85
|
id: string;
|
|
83
86
|
integrationKey: string;
|
|
@@ -116,8 +119,10 @@ export type GraphqlGetConnectionStatusQuery = {
|
|
|
116
119
|
integrationConnection: {
|
|
117
120
|
connectionStatus: {
|
|
118
121
|
isConnected: boolean;
|
|
119
|
-
|
|
120
|
-
|
|
122
|
+
error: {
|
|
123
|
+
devMessage: string;
|
|
124
|
+
endUserMessage: string;
|
|
125
|
+
} | null;
|
|
121
126
|
};
|
|
122
127
|
};
|
|
123
128
|
};
|
|
@@ -148,7 +153,7 @@ export type GraphqlSendIntegrationRequestMutation = {
|
|
|
148
153
|
export declare const IntegrationConnectionFragmentDoc = "\n fragment IntegrationConnection on IntegrationConnection {\n id\n integrationKey\n endUserEmail\n endUserCompanyName\n lastHeartbeatAt\n}\n ";
|
|
149
154
|
export declare const GetIntegrationConnectionDocument: string;
|
|
150
155
|
export declare const GetIntegrationConnectionsDocument: string;
|
|
151
|
-
export declare const GetConnectionStatusDocument = "\n query getConnectionStatus($integrationConnectionId: ID!) {\n integrationConnection(id: $integrationConnectionId) {\n connectionStatus {\n isConnected\n
|
|
156
|
+
export declare const GetConnectionStatusDocument = "\n query getConnectionStatus($integrationConnectionId: ID!) {\n integrationConnection(id: $integrationConnectionId) {\n connectionStatus {\n isConnected\n error {\n devMessage\n endUserMessage\n }\n }\n }\n}\n ";
|
|
152
157
|
export declare const CreateIntegrationConnectionDocument: string;
|
|
153
158
|
export declare const SendIntegrationRequestDocument = "\n mutation sendIntegrationRequest($input: SendIntegrationRequestInput!) {\n sendIntegrationRequest(input: $input) {\n response\n }\n}\n ";
|
|
154
159
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
@@ -2593,7 +2593,7 @@ export interface ItemLineAdd {
|
|
|
2593
2593
|
/** The lot number of the asset. */
|
|
2594
2594
|
LotNumber?: string;
|
|
2595
2595
|
/** The expiration date of the inventory serial/lot number. Expiration `Date` is supported from QB Desktop 2023 (USA & Canada) and SDK 16.0. */
|
|
2596
|
-
ExpirationDateForSerialLotNumber
|
|
2596
|
+
ExpirationDateForSerialLotNumber?: string;
|
|
2597
2597
|
/** A descriptive text field. */
|
|
2598
2598
|
Desc?: string;
|
|
2599
2599
|
/** `QuantityFor` transactions: If an item line add on a transaction request specifies `Quantity` and `Amount` but not `Rate`, QuickBooks will use `Quantity` and `Amount` to calculate `Rate`. Likewise, if a request specifies `Quantity` and `Rate` but not `Amount`, QuickBooks will calculate the `Amount`. If a transaction add request includes a reference to an `ItemDiscount` item, do not include a `Quantity` element as well, or you will get an error. For Item requests: `Quantity` indicates how many of this item there are. */
|
|
@@ -2705,7 +2705,7 @@ export interface ItemLineRet {
|
|
|
2705
2705
|
/** The lot number of the asset. */
|
|
2706
2706
|
LotNumber?: string;
|
|
2707
2707
|
/** The expiration date of the inventory serial/lot number. Expiration `Date` is supported from QB Desktop 2023 (USA & Canada) and SDK 16.0. */
|
|
2708
|
-
ExpirationDateForSerialLotNumber
|
|
2708
|
+
ExpirationDateForSerialLotNumber?: string;
|
|
2709
2709
|
/** A descriptive text field. */
|
|
2710
2710
|
Desc?: string;
|
|
2711
2711
|
/** `QuantityFor` transactions: If an item line add on a transaction request specifies `Quantity` and `Amount` but not `Rate`, QuickBooks will use `Quantity` and `Amount` to calculate `Rate`. Likewise, if a request specifies `Quantity` and `Rate` but not `Amount`, QuickBooks will calculate the `Amount`. If a transaction add request includes a reference to an `ItemDiscount` item, do not include a `Quantity` element as well, or you will get an error. For Item requests: `Quantity` indicates how many of this item there are. */
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CONDUCTOR_TEST_QBD_CONNECTION_ID = exports.CONDUCTOR_TEST_API_KEY = void 0;
|
|
4
|
+
exports.CONDUCTOR_TEST_API_KEY = "063d95bc-a6f7-4b4b-841d-8007648a3112";
|
|
5
|
+
exports.CONDUCTOR_TEST_QBD_CONNECTION_ID = "49ee2e46-ec5a-40a0-8c37-43913994b2a9";
|
package/package.json
CHANGED