@nangohq/types 0.69.42 → 0.69.44

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.
@@ -12,6 +12,7 @@ export type PostDeployConfirmation = Endpoint<{
12
12
  reconcile: boolean;
13
13
  debug: boolean;
14
14
  singleDeployMode?: boolean;
15
+ /** @deprecated Use CLIDeployFlowConfig.models_json_schema */
15
16
  jsonSchema?: JSONSchema7 | undefined;
16
17
  sdkVersion?: string | undefined;
17
18
  };
@@ -97,6 +97,7 @@ export interface ParsedNangoSync {
97
97
  usedModels: string[];
98
98
  webhookSubscriptions: string[];
99
99
  version: string;
100
+ json_schema?: JSONSchema7 | undefined;
100
101
  }
101
102
  export interface ParsedNangoAction {
102
103
  name: string;
@@ -108,6 +109,7 @@ export interface ParsedNangoAction {
108
109
  scopes: string[];
109
110
  usedModels: string[];
110
111
  version: string;
112
+ json_schema?: JSONSchema7 | undefined;
111
113
  }
112
114
  export type LayoutMode = 'root' | 'nested';
113
115
  export interface NangoModel {
@@ -75,11 +75,6 @@ export interface DBPlan extends Timestamps {
75
75
  * @default 86400
76
76
  */
77
77
  sync_frequency_secs_min: number;
78
- /**
79
- * Enable or disabled sync variant
80
- * @default false
81
- */
82
- has_sync_variants: boolean;
83
78
  /**
84
79
  * Enable or disabled open telemetry export
85
80
  * @default false
@@ -145,5 +140,10 @@ export interface DBPlan extends Timestamps {
145
140
  * @default true
146
141
  */
147
142
  has_records_autopruning: boolean;
143
+ /**
144
+ * Limit the number of variants per sync
145
+ * @default 100
146
+ */
147
+ variants_per_sync_max: number;
148
148
  }
149
149
  export {};
@@ -76,6 +76,7 @@ export interface BaseProvider {
76
76
  token_expiration_buffer?: number;
77
77
  webhook_routing_script?: string;
78
78
  webhook_user_defined_secret?: boolean;
79
+ webhook_allowed_query_params?: string[];
79
80
  post_connection_script?: string;
80
81
  pre_connection_deletion_script?: string;
81
82
  credentials_verification_script?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/types",
3
- "version": "0.69.42",
3
+ "version": "0.69.44",
4
4
  "description": "Types used in Nango applications",
5
5
  "type": "module",
6
6
  "typings": "dist/index.d.ts",