@integry/sdk 4.0.4-beta.1 → 4.0.4-beta.10

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.
@@ -1,19 +1,19 @@
1
1
  {
2
- // Use IntelliSense to learn about possible attributes.
3
- // Hover to view descriptions of existing attributes.
4
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
- "version": "0.2.0",
6
- "configurations": [
7
- {
8
- "type": "chrome",
9
- "request": "launch",
10
- "name": "Launch Chrome against localhost",
11
- // "url": "file:////Users/yasir/Downloads/Apps - Integry SDK sample-3.html",
12
- // "url": "file:////Users/yasir/Downloads/Flows of an app - Integry SDK sample-8.html",
13
- // "url": "file:////Users/yasir/Downloads/Apps - Integry SDK sample (8).html",
14
- // "url": "file:////Users/yasir/Downloads/Flows of an app - Integry SDK sample (4).html",
15
- "url": "file:////Users/yasir/Downloads/Apps - Integry SDK sample-5.html",
16
- "webRoot": "${workspaceFolder}/src"
17
- }
18
- ]
19
- }
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "type": "chrome",
9
+ "request": "launch",
10
+ "name": "Launch Chrome against localhost",
11
+ // "url": "file:////Users/yasir/Downloads/Apps - Integry SDK sample-3.html",
12
+ // "url": "file:////Users/yasir/Downloads/Flows of an app - Integry SDK sample-8.html",
13
+ // "url": "file:////Users/yasir/Downloads/Apps - Integry SDK sample (8).html",
14
+ "url": "file:////Users/yasir/Downloads/SDK-TAGS-TEST (1).html",
15
+ // "url": "file:////Users/yasir/Downloads/Apps - Integry SDK sample-5.html",
16
+ "webRoot": "${workspaceFolder}/src"
17
+ }
18
+ ]
19
+ }
@@ -3,7 +3,7 @@ import { VNode } from "preact";
3
3
  type IntegrySDKEventType = "authorizations" | "did-add-authorization" | "did-begin-remove-authorization" | "did-change-step" | "did-fail-authorization-verification" | "did-load-flow" | "did-load-flows" | "did-load-integration" | "did-load-integrations" | "did-load-preview" | "did-remove-authorization" | "did-save-integration" | "did-delete-integration" | "did-select-authorization" | "ready" | "should-load-flow" | "did-click-close-button" | "did-app-load";
4
4
  type IntegrySDKEventPayloads = {
5
5
  ready: {
6
- deploymentId: number;
6
+ isReady: boolean;
7
7
  };
8
8
  "should-load-flow": {
9
9
  templateId: number;
@@ -180,7 +180,7 @@ interface UserConfig {
180
180
  buttonLabelToSaveIntegration?: string;
181
181
  objects?: NestedObject;
182
182
  tags?: string[];
183
- showExistingIntegrations?: boolean;
183
+ hideExistingIntegrations?: boolean;
184
184
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
185
185
  [other: string]: any;
186
186
  }
@@ -206,7 +206,7 @@ interface ConfigWithObject extends SDKConfig {
206
206
  appKey: string;
207
207
  hash: string;
208
208
  userId: string;
209
- deploymentId: string;
209
+ deploymentId?: string;
210
210
  marketplaceId?: string;
211
211
  appId?: number;
212
212
  showApps?: boolean;
@@ -414,6 +414,7 @@ interface Instance {
414
414
  error_code: number;
415
415
  first_error_received_at: string;
416
416
  usage_limit_reached_at: string;
417
+ is_test_integration: boolean;
417
418
  }
418
419
  interface MultipurposeFieldType {
419
420
  activityOutputData: NestedObject;