conductor-node 7.4.1 → 7.4.3
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/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>;
|
|
@@ -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