@nangohq/types 0.69.44 → 0.69.45

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.
@@ -96,6 +96,7 @@ export type PostPublicConnection = Endpoint<{
96
96
  end_user?: EndUserInput | undefined;
97
97
  tags?: Tags | undefined;
98
98
  };
99
+ Error: ApiError<'connection_test_failed'> | ApiError<'connection_validation_failed'>;
99
100
  Success: ApiPublicConnectionFull;
100
101
  }>;
101
102
  export type ApiConnectionFull = Omit<ReplaceInObject<DBConnectionDecrypted, Date, string>, 'credentials_iv' | 'end_user_id' | 'credentials_tag' | 'deleted' | 'deleted_at'>;
@@ -11,7 +11,7 @@ export type PostDeployConfirmation = Endpoint<{
11
11
  onEventScriptsByProvider?: OnEventScriptsByProvider[] | undefined;
12
12
  reconcile: boolean;
13
13
  debug: boolean;
14
- singleDeployMode?: boolean;
14
+ deployMode?: 'all' | 'single' | 'integration';
15
15
  /** @deprecated Use CLIDeployFlowConfig.models_json_schema */
16
16
  jsonSchema?: JSONSchema7 | undefined;
17
17
  sdkVersion?: string | undefined;
@@ -27,7 +27,7 @@ export type PostDeploy = Endpoint<{
27
27
  nangoYamlBody: string;
28
28
  reconcile: boolean;
29
29
  debug: boolean;
30
- singleDeployMode?: boolean;
30
+ deployMode?: 'all' | 'single' | 'integration';
31
31
  /** @deprecated Use CLIDeployFlowConfig.models_json_schema */
32
32
  jsonSchema?: JSONSchema7 | undefined;
33
33
  sdkVersion?: string | undefined;
@@ -46,7 +46,7 @@ export type PostDeployInternal = Endpoint<{
46
46
  nangoYamlBody: string;
47
47
  reconcile: boolean;
48
48
  debug: boolean;
49
- singleDeployMode?: boolean;
49
+ deployMode?: 'all' | 'single' | 'integration';
50
50
  /** @deprecated Use CLIDeployFlowConfig.models_json_schema */
51
51
  jsonSchema?: JSONSchema7 | undefined;
52
52
  sdkVersion?: string | undefined;
@@ -51,6 +51,7 @@ export interface DBEnvironment extends TimestampsAndDeletedCorrect {
51
51
  endpoint: string;
52
52
  headers: Record<string, string>;
53
53
  } | null;
54
+ is_production: boolean;
54
55
  }
55
56
  export interface DBExternalWebhook extends Timestamps {
56
57
  id: number;
@@ -25,7 +25,6 @@ export interface NangoSyncConfig {
25
25
  enabled?: boolean;
26
26
  json_schema: JSONSchema7 | null;
27
27
  upgrade_version?: string;
28
- is_zero_yaml: boolean;
29
28
  sdk_version: string | null;
30
29
  models?: NangoModel[] | LegacySyncModelSchema[] | undefined;
31
30
  }
@@ -141,7 +141,7 @@ export interface FlowsYaml {
141
141
  }>;
142
142
  }
143
143
  export type FlowZeroJson = NangoYamlParsedIntegration & {
144
- jsonSchema: JSONSchema7;
144
+ jsonSchema?: JSONSchema7;
145
145
  sdkVersion: string;
146
146
  };
147
147
  export type FlowsZeroJson = FlowZeroJson[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/types",
3
- "version": "0.69.44",
3
+ "version": "0.69.45",
4
4
  "description": "Types used in Nango applications",
5
5
  "type": "module",
6
6
  "typings": "dist/index.d.ts",