@sqlanvil/core 1.11.0 → 1.13.0

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/bundle.d.ts CHANGED
@@ -346,6 +346,9 @@ namespace sqlanvil {
346
346
  /** ConnectionConfig saKeyId */
347
347
  saKeyId?: (string|null);
348
348
 
349
+ /** ConnectionConfig billingProject */
350
+ billingProject?: (string|null);
351
+
349
352
  /** ConnectionConfig host */
350
353
  host?: (string|null);
351
354
 
@@ -380,6 +383,9 @@ namespace sqlanvil {
380
383
  /** ConnectionConfig saKeyId. */
381
384
  public saKeyId: string;
382
385
 
386
+ /** ConnectionConfig billingProject. */
387
+ public billingProject: string;
388
+
383
389
  /** ConnectionConfig host. */
384
390
  public host: string;
385
391
 
@@ -723,6 +729,9 @@ namespace sqlanvil {
723
729
 
724
730
  /** ActionConfig export */
725
731
  "export"?: (sqlanvil.ActionConfig.IExportConfig|null);
732
+
733
+ /** ActionConfig import */
734
+ "import"?: (sqlanvil.ActionConfig.IImportConfig|null);
726
735
  }
727
736
 
728
737
  /** Represents an ActionConfig. */
@@ -773,8 +782,11 @@ namespace sqlanvil {
773
782
  /** ActionConfig export. */
774
783
  public export?: (sqlanvil.ActionConfig.IExportConfig|null);
775
784
 
785
+ /** ActionConfig import. */
786
+ public import?: (sqlanvil.ActionConfig.IImportConfig|null);
787
+
776
788
  /** ActionConfig action. */
777
- public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"|"rlsPolicy"|"realtimePublication"|"foreignWrapper"|"vectorIndex"|"export");
789
+ public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"|"rlsPolicy"|"realtimePublication"|"foreignWrapper"|"vectorIndex"|"export"|"import");
778
790
 
779
791
  /**
780
792
  * Creates a new ActionConfig instance using the specified properties.
@@ -2887,6 +2899,272 @@ namespace sqlanvil {
2887
2899
  public static getTypeUrl(typeUrlPrefix?: string): string;
2888
2900
  }
2889
2901
 
2902
+ /** Properties of an ImportOptions. */
2903
+ interface IImportOptions {
2904
+
2905
+ /** ImportOptions location */
2906
+ location?: (string|null);
2907
+
2908
+ /** ImportOptions format */
2909
+ format?: (string|null);
2910
+
2911
+ /** ImportOptions overwrite */
2912
+ overwrite?: (boolean|null);
2913
+
2914
+ /** ImportOptions options */
2915
+ options?: ({ [k: string]: string }|null);
2916
+ }
2917
+
2918
+ /** Represents an ImportOptions. */
2919
+ class ImportOptions implements IImportOptions {
2920
+
2921
+ /**
2922
+ * Constructs a new ImportOptions.
2923
+ * @param [properties] Properties to set
2924
+ */
2925
+ constructor(properties?: sqlanvil.ActionConfig.IImportOptions);
2926
+
2927
+ /** ImportOptions location. */
2928
+ public location: string;
2929
+
2930
+ /** ImportOptions format. */
2931
+ public format: string;
2932
+
2933
+ /** ImportOptions overwrite. */
2934
+ public overwrite: boolean;
2935
+
2936
+ /** ImportOptions options. */
2937
+ public options: { [k: string]: string };
2938
+
2939
+ /**
2940
+ * Creates a new ImportOptions instance using the specified properties.
2941
+ * @param [properties] Properties to set
2942
+ * @returns ImportOptions instance
2943
+ */
2944
+ public static create(properties?: sqlanvil.ActionConfig.IImportOptions): sqlanvil.ActionConfig.ImportOptions;
2945
+
2946
+ /**
2947
+ * Encodes the specified ImportOptions message. Does not implicitly {@link sqlanvil.ActionConfig.ImportOptions.verify|verify} messages.
2948
+ * @param message ImportOptions message or plain object to encode
2949
+ * @param [writer] Writer to encode to
2950
+ * @returns Writer
2951
+ */
2952
+ public static encode(message: sqlanvil.ActionConfig.IImportOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2953
+
2954
+ /**
2955
+ * Encodes the specified ImportOptions message, length delimited. Does not implicitly {@link sqlanvil.ActionConfig.ImportOptions.verify|verify} messages.
2956
+ * @param message ImportOptions message or plain object to encode
2957
+ * @param [writer] Writer to encode to
2958
+ * @returns Writer
2959
+ */
2960
+ public static encodeDelimited(message: sqlanvil.ActionConfig.IImportOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2961
+
2962
+ /**
2963
+ * Decodes an ImportOptions message from the specified reader or buffer.
2964
+ * @param reader Reader or buffer to decode from
2965
+ * @param [length] Message length if known beforehand
2966
+ * @returns ImportOptions
2967
+ * @throws {Error} If the payload is not a reader or valid buffer
2968
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2969
+ */
2970
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ActionConfig.ImportOptions;
2971
+
2972
+ /**
2973
+ * Decodes an ImportOptions message from the specified reader or buffer, length delimited.
2974
+ * @param reader Reader or buffer to decode from
2975
+ * @returns ImportOptions
2976
+ * @throws {Error} If the payload is not a reader or valid buffer
2977
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2978
+ */
2979
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ActionConfig.ImportOptions;
2980
+
2981
+ /**
2982
+ * Verifies an ImportOptions message.
2983
+ * @param message Plain object to verify
2984
+ * @returns `null` if valid, otherwise the reason why it is not
2985
+ */
2986
+ public static verify(message: { [k: string]: any }): (string|null);
2987
+
2988
+ /**
2989
+ * Creates an ImportOptions message from a plain object. Also converts values to their respective internal types.
2990
+ * @param object Plain object
2991
+ * @returns ImportOptions
2992
+ */
2993
+ public static fromObject(object: { [k: string]: any }): sqlanvil.ActionConfig.ImportOptions;
2994
+
2995
+ /**
2996
+ * Creates a plain object from an ImportOptions message. Also converts values to other types if specified.
2997
+ * @param message ImportOptions
2998
+ * @param [options] Conversion options
2999
+ * @returns Plain object
3000
+ */
3001
+ public static toObject(message: sqlanvil.ActionConfig.ImportOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3002
+
3003
+ /**
3004
+ * Converts this ImportOptions to JSON.
3005
+ * @returns JSON object
3006
+ */
3007
+ public toJSON(): { [k: string]: any };
3008
+
3009
+ /**
3010
+ * Gets the default type url for ImportOptions
3011
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3012
+ * @returns The default type url
3013
+ */
3014
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3015
+ }
3016
+
3017
+ /** Properties of an ImportConfig. */
3018
+ interface IImportConfig {
3019
+
3020
+ /** ImportConfig name */
3021
+ name?: (string|null);
3022
+
3023
+ /** ImportConfig dataset */
3024
+ dataset?: (string|null);
3025
+
3026
+ /** ImportConfig project */
3027
+ project?: (string|null);
3028
+
3029
+ /** ImportConfig dependencyTargets */
3030
+ dependencyTargets?: (sqlanvil.ActionConfig.ITarget[]|null);
3031
+
3032
+ /** ImportConfig filename */
3033
+ filename?: (string|null);
3034
+
3035
+ /** ImportConfig tags */
3036
+ tags?: (string[]|null);
3037
+
3038
+ /** ImportConfig disabled */
3039
+ disabled?: (boolean|null);
3040
+
3041
+ /** ImportConfig description */
3042
+ description?: (string|null);
3043
+
3044
+ /** ImportConfig hermetic */
3045
+ hermetic?: (boolean|null);
3046
+
3047
+ /** ImportConfig import */
3048
+ "import"?: (sqlanvil.ActionConfig.IImportOptions|null);
3049
+ }
3050
+
3051
+ /** Represents an ImportConfig. */
3052
+ class ImportConfig implements IImportConfig {
3053
+
3054
+ /**
3055
+ * Constructs a new ImportConfig.
3056
+ * @param [properties] Properties to set
3057
+ */
3058
+ constructor(properties?: sqlanvil.ActionConfig.IImportConfig);
3059
+
3060
+ /** ImportConfig name. */
3061
+ public name: string;
3062
+
3063
+ /** ImportConfig dataset. */
3064
+ public dataset: string;
3065
+
3066
+ /** ImportConfig project. */
3067
+ public project: string;
3068
+
3069
+ /** ImportConfig dependencyTargets. */
3070
+ public dependencyTargets: sqlanvil.ActionConfig.ITarget[];
3071
+
3072
+ /** ImportConfig filename. */
3073
+ public filename: string;
3074
+
3075
+ /** ImportConfig tags. */
3076
+ public tags: string[];
3077
+
3078
+ /** ImportConfig disabled. */
3079
+ public disabled: boolean;
3080
+
3081
+ /** ImportConfig description. */
3082
+ public description: string;
3083
+
3084
+ /** ImportConfig hermetic. */
3085
+ public hermetic: boolean;
3086
+
3087
+ /** ImportConfig import. */
3088
+ public import?: (sqlanvil.ActionConfig.IImportOptions|null);
3089
+
3090
+ /**
3091
+ * Creates a new ImportConfig instance using the specified properties.
3092
+ * @param [properties] Properties to set
3093
+ * @returns ImportConfig instance
3094
+ */
3095
+ public static create(properties?: sqlanvil.ActionConfig.IImportConfig): sqlanvil.ActionConfig.ImportConfig;
3096
+
3097
+ /**
3098
+ * Encodes the specified ImportConfig message. Does not implicitly {@link sqlanvil.ActionConfig.ImportConfig.verify|verify} messages.
3099
+ * @param message ImportConfig message or plain object to encode
3100
+ * @param [writer] Writer to encode to
3101
+ * @returns Writer
3102
+ */
3103
+ public static encode(message: sqlanvil.ActionConfig.IImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3104
+
3105
+ /**
3106
+ * Encodes the specified ImportConfig message, length delimited. Does not implicitly {@link sqlanvil.ActionConfig.ImportConfig.verify|verify} messages.
3107
+ * @param message ImportConfig message or plain object to encode
3108
+ * @param [writer] Writer to encode to
3109
+ * @returns Writer
3110
+ */
3111
+ public static encodeDelimited(message: sqlanvil.ActionConfig.IImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
3112
+
3113
+ /**
3114
+ * Decodes an ImportConfig message from the specified reader or buffer.
3115
+ * @param reader Reader or buffer to decode from
3116
+ * @param [length] Message length if known beforehand
3117
+ * @returns ImportConfig
3118
+ * @throws {Error} If the payload is not a reader or valid buffer
3119
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3120
+ */
3121
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ActionConfig.ImportConfig;
3122
+
3123
+ /**
3124
+ * Decodes an ImportConfig message from the specified reader or buffer, length delimited.
3125
+ * @param reader Reader or buffer to decode from
3126
+ * @returns ImportConfig
3127
+ * @throws {Error} If the payload is not a reader or valid buffer
3128
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3129
+ */
3130
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ActionConfig.ImportConfig;
3131
+
3132
+ /**
3133
+ * Verifies an ImportConfig message.
3134
+ * @param message Plain object to verify
3135
+ * @returns `null` if valid, otherwise the reason why it is not
3136
+ */
3137
+ public static verify(message: { [k: string]: any }): (string|null);
3138
+
3139
+ /**
3140
+ * Creates an ImportConfig message from a plain object. Also converts values to their respective internal types.
3141
+ * @param object Plain object
3142
+ * @returns ImportConfig
3143
+ */
3144
+ public static fromObject(object: { [k: string]: any }): sqlanvil.ActionConfig.ImportConfig;
3145
+
3146
+ /**
3147
+ * Creates a plain object from an ImportConfig message. Also converts values to other types if specified.
3148
+ * @param message ImportConfig
3149
+ * @param [options] Conversion options
3150
+ * @returns Plain object
3151
+ */
3152
+ public static toObject(message: sqlanvil.ActionConfig.ImportConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
3153
+
3154
+ /**
3155
+ * Converts this ImportConfig to JSON.
3156
+ * @returns JSON object
3157
+ */
3158
+ public toJSON(): { [k: string]: any };
3159
+
3160
+ /**
3161
+ * Gets the default type url for ImportConfig
3162
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3163
+ * @returns The default type url
3164
+ */
3165
+ public static getTypeUrl(typeUrlPrefix?: string): string;
3166
+ }
3167
+
2890
3168
  /** Properties of a DeclarationConfig. */
2891
3169
  interface IDeclarationConfig {
2892
3170
 
@@ -8027,6 +8305,175 @@ namespace sqlanvil {
8027
8305
  public static getTypeUrl(typeUrlPrefix?: string): string;
8028
8306
  }
8029
8307
 
8308
+ /** Properties of an Import. */
8309
+ interface IImport {
8310
+
8311
+ /** Import target */
8312
+ target?: (sqlanvil.ITarget|null);
8313
+
8314
+ /** Import canonicalTarget */
8315
+ canonicalTarget?: (sqlanvil.ITarget|null);
8316
+
8317
+ /** Import dependencyTargets */
8318
+ dependencyTargets?: (sqlanvil.ITarget[]|null);
8319
+
8320
+ /** Import hermeticity */
8321
+ hermeticity?: (sqlanvil.ActionHermeticity|null);
8322
+
8323
+ /** Import disabled */
8324
+ disabled?: (boolean|null);
8325
+
8326
+ /** Import tags */
8327
+ tags?: (string[]|null);
8328
+
8329
+ /** Import actionDescriptor */
8330
+ actionDescriptor?: (sqlanvil.IActionDescriptor|null);
8331
+
8332
+ /** Import location */
8333
+ location?: (string|null);
8334
+
8335
+ /** Import format */
8336
+ format?: (string|null);
8337
+
8338
+ /** Import overwrite */
8339
+ overwrite?: (boolean|null);
8340
+
8341
+ /** Import options */
8342
+ options?: ({ [k: string]: string }|null);
8343
+
8344
+ /** Import fileName */
8345
+ fileName?: (string|null);
8346
+
8347
+ /** Import jitCode */
8348
+ jitCode?: (string|null);
8349
+ }
8350
+
8351
+ /** Represents an Import. */
8352
+ class Import implements IImport {
8353
+
8354
+ /**
8355
+ * Constructs a new Import.
8356
+ * @param [properties] Properties to set
8357
+ */
8358
+ constructor(properties?: sqlanvil.IImport);
8359
+
8360
+ /** Import target. */
8361
+ public target?: (sqlanvil.ITarget|null);
8362
+
8363
+ /** Import canonicalTarget. */
8364
+ public canonicalTarget?: (sqlanvil.ITarget|null);
8365
+
8366
+ /** Import dependencyTargets. */
8367
+ public dependencyTargets: sqlanvil.ITarget[];
8368
+
8369
+ /** Import hermeticity. */
8370
+ public hermeticity: sqlanvil.ActionHermeticity;
8371
+
8372
+ /** Import disabled. */
8373
+ public disabled: boolean;
8374
+
8375
+ /** Import tags. */
8376
+ public tags: string[];
8377
+
8378
+ /** Import actionDescriptor. */
8379
+ public actionDescriptor?: (sqlanvil.IActionDescriptor|null);
8380
+
8381
+ /** Import location. */
8382
+ public location: string;
8383
+
8384
+ /** Import format. */
8385
+ public format: string;
8386
+
8387
+ /** Import overwrite. */
8388
+ public overwrite: boolean;
8389
+
8390
+ /** Import options. */
8391
+ public options: { [k: string]: string };
8392
+
8393
+ /** Import fileName. */
8394
+ public fileName: string;
8395
+
8396
+ /** Import jitCode. */
8397
+ public jitCode: string;
8398
+
8399
+ /**
8400
+ * Creates a new Import instance using the specified properties.
8401
+ * @param [properties] Properties to set
8402
+ * @returns Import instance
8403
+ */
8404
+ public static create(properties?: sqlanvil.IImport): sqlanvil.Import;
8405
+
8406
+ /**
8407
+ * Encodes the specified Import message. Does not implicitly {@link sqlanvil.Import.verify|verify} messages.
8408
+ * @param message Import message or plain object to encode
8409
+ * @param [writer] Writer to encode to
8410
+ * @returns Writer
8411
+ */
8412
+ public static encode(message: sqlanvil.IImport, writer?: $protobuf.Writer): $protobuf.Writer;
8413
+
8414
+ /**
8415
+ * Encodes the specified Import message, length delimited. Does not implicitly {@link sqlanvil.Import.verify|verify} messages.
8416
+ * @param message Import message or plain object to encode
8417
+ * @param [writer] Writer to encode to
8418
+ * @returns Writer
8419
+ */
8420
+ public static encodeDelimited(message: sqlanvil.IImport, writer?: $protobuf.Writer): $protobuf.Writer;
8421
+
8422
+ /**
8423
+ * Decodes an Import message from the specified reader or buffer.
8424
+ * @param reader Reader or buffer to decode from
8425
+ * @param [length] Message length if known beforehand
8426
+ * @returns Import
8427
+ * @throws {Error} If the payload is not a reader or valid buffer
8428
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8429
+ */
8430
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.Import;
8431
+
8432
+ /**
8433
+ * Decodes an Import message from the specified reader or buffer, length delimited.
8434
+ * @param reader Reader or buffer to decode from
8435
+ * @returns Import
8436
+ * @throws {Error} If the payload is not a reader or valid buffer
8437
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8438
+ */
8439
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.Import;
8440
+
8441
+ /**
8442
+ * Verifies an Import message.
8443
+ * @param message Plain object to verify
8444
+ * @returns `null` if valid, otherwise the reason why it is not
8445
+ */
8446
+ public static verify(message: { [k: string]: any }): (string|null);
8447
+
8448
+ /**
8449
+ * Creates an Import message from a plain object. Also converts values to their respective internal types.
8450
+ * @param object Plain object
8451
+ * @returns Import
8452
+ */
8453
+ public static fromObject(object: { [k: string]: any }): sqlanvil.Import;
8454
+
8455
+ /**
8456
+ * Creates a plain object from an Import message. Also converts values to other types if specified.
8457
+ * @param message Import
8458
+ * @param [options] Conversion options
8459
+ * @returns Plain object
8460
+ */
8461
+ public static toObject(message: sqlanvil.Import, options?: $protobuf.IConversionOptions): { [k: string]: any };
8462
+
8463
+ /**
8464
+ * Converts this Import to JSON.
8465
+ * @returns JSON object
8466
+ */
8467
+ public toJSON(): { [k: string]: any };
8468
+
8469
+ /**
8470
+ * Gets the default type url for Import
8471
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8472
+ * @returns The default type url
8473
+ */
8474
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8475
+ }
8476
+
8030
8477
  /** Properties of an Assertion. */
8031
8478
  interface IAssertion {
8032
8479
 
@@ -9425,6 +9872,9 @@ namespace sqlanvil {
9425
9872
  /** CompiledGraph exports */
9426
9873
  exports?: (sqlanvil.IExport[]|null);
9427
9874
 
9875
+ /** CompiledGraph imports */
9876
+ imports?: (sqlanvil.IImport[]|null);
9877
+
9428
9878
  /** CompiledGraph graphErrors */
9429
9879
  graphErrors?: (sqlanvil.IGraphErrors|null);
9430
9880
 
@@ -9474,6 +9924,9 @@ namespace sqlanvil {
9474
9924
  /** CompiledGraph exports. */
9475
9925
  public exports: sqlanvil.IExport[];
9476
9926
 
9927
+ /** CompiledGraph imports. */
9928
+ public imports: sqlanvil.IImport[];
9929
+
9477
9930
  /** CompiledGraph graphErrors. */
9478
9931
  public graphErrors?: (sqlanvil.IGraphErrors|null);
9479
9932
 
@@ -11366,6 +11819,121 @@ namespace sqlanvil {
11366
11819
  public static getTypeUrl(typeUrlPrefix?: string): string;
11367
11820
  }
11368
11821
 
11822
+ /** Properties of an ImportSpec. */
11823
+ interface IImportSpec {
11824
+
11825
+ /** ImportSpec location */
11826
+ location?: (string|null);
11827
+
11828
+ /** ImportSpec format */
11829
+ format?: (string|null);
11830
+
11831
+ /** ImportSpec overwrite */
11832
+ overwrite?: (boolean|null);
11833
+
11834
+ /** ImportSpec options */
11835
+ options?: ({ [k: string]: string }|null);
11836
+ }
11837
+
11838
+ /** Represents an ImportSpec. */
11839
+ class ImportSpec implements IImportSpec {
11840
+
11841
+ /**
11842
+ * Constructs a new ImportSpec.
11843
+ * @param [properties] Properties to set
11844
+ */
11845
+ constructor(properties?: sqlanvil.IImportSpec);
11846
+
11847
+ /** ImportSpec location. */
11848
+ public location: string;
11849
+
11850
+ /** ImportSpec format. */
11851
+ public format: string;
11852
+
11853
+ /** ImportSpec overwrite. */
11854
+ public overwrite: boolean;
11855
+
11856
+ /** ImportSpec options. */
11857
+ public options: { [k: string]: string };
11858
+
11859
+ /**
11860
+ * Creates a new ImportSpec instance using the specified properties.
11861
+ * @param [properties] Properties to set
11862
+ * @returns ImportSpec instance
11863
+ */
11864
+ public static create(properties?: sqlanvil.IImportSpec): sqlanvil.ImportSpec;
11865
+
11866
+ /**
11867
+ * Encodes the specified ImportSpec message. Does not implicitly {@link sqlanvil.ImportSpec.verify|verify} messages.
11868
+ * @param message ImportSpec message or plain object to encode
11869
+ * @param [writer] Writer to encode to
11870
+ * @returns Writer
11871
+ */
11872
+ public static encode(message: sqlanvil.IImportSpec, writer?: $protobuf.Writer): $protobuf.Writer;
11873
+
11874
+ /**
11875
+ * Encodes the specified ImportSpec message, length delimited. Does not implicitly {@link sqlanvil.ImportSpec.verify|verify} messages.
11876
+ * @param message ImportSpec message or plain object to encode
11877
+ * @param [writer] Writer to encode to
11878
+ * @returns Writer
11879
+ */
11880
+ public static encodeDelimited(message: sqlanvil.IImportSpec, writer?: $protobuf.Writer): $protobuf.Writer;
11881
+
11882
+ /**
11883
+ * Decodes an ImportSpec message from the specified reader or buffer.
11884
+ * @param reader Reader or buffer to decode from
11885
+ * @param [length] Message length if known beforehand
11886
+ * @returns ImportSpec
11887
+ * @throws {Error} If the payload is not a reader or valid buffer
11888
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11889
+ */
11890
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sqlanvil.ImportSpec;
11891
+
11892
+ /**
11893
+ * Decodes an ImportSpec message from the specified reader or buffer, length delimited.
11894
+ * @param reader Reader or buffer to decode from
11895
+ * @returns ImportSpec
11896
+ * @throws {Error} If the payload is not a reader or valid buffer
11897
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
11898
+ */
11899
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sqlanvil.ImportSpec;
11900
+
11901
+ /**
11902
+ * Verifies an ImportSpec message.
11903
+ * @param message Plain object to verify
11904
+ * @returns `null` if valid, otherwise the reason why it is not
11905
+ */
11906
+ public static verify(message: { [k: string]: any }): (string|null);
11907
+
11908
+ /**
11909
+ * Creates an ImportSpec message from a plain object. Also converts values to their respective internal types.
11910
+ * @param object Plain object
11911
+ * @returns ImportSpec
11912
+ */
11913
+ public static fromObject(object: { [k: string]: any }): sqlanvil.ImportSpec;
11914
+
11915
+ /**
11916
+ * Creates a plain object from an ImportSpec message. Also converts values to other types if specified.
11917
+ * @param message ImportSpec
11918
+ * @param [options] Conversion options
11919
+ * @returns Plain object
11920
+ */
11921
+ public static toObject(message: sqlanvil.ImportSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
11922
+
11923
+ /**
11924
+ * Converts this ImportSpec to JSON.
11925
+ * @returns JSON object
11926
+ */
11927
+ public toJSON(): { [k: string]: any };
11928
+
11929
+ /**
11930
+ * Gets the default type url for ImportSpec
11931
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11932
+ * @returns The default type url
11933
+ */
11934
+ public static getTypeUrl(typeUrlPrefix?: string): string;
11935
+ }
11936
+
11369
11937
  /** Properties of an ExecutionAction. */
11370
11938
  interface IExecutionAction {
11371
11939
 
@@ -11398,6 +11966,9 @@ namespace sqlanvil {
11398
11966
 
11399
11967
  /** ExecutionAction export */
11400
11968
  "export"?: (sqlanvil.IExportSpec|null);
11969
+
11970
+ /** ExecutionAction import */
11971
+ "import"?: (sqlanvil.IImportSpec|null);
11401
11972
  }
11402
11973
 
11403
11974
  /** Represents an ExecutionAction. */
@@ -11439,6 +12010,9 @@ namespace sqlanvil {
11439
12010
  /** ExecutionAction export. */
11440
12011
  public export?: (sqlanvil.IExportSpec|null);
11441
12012
 
12013
+ /** ExecutionAction import. */
12014
+ public import?: (sqlanvil.IImportSpec|null);
12015
+
11442
12016
  /**
11443
12017
  * Creates a new ExecutionAction instance using the specified properties.
11444
12018
  * @param [properties] Properties to set
@@ -14763,6 +15337,25 @@ declare class Export extends ActionBuilder<sqlanvil.Export> {
14763
15337
  private verifyConfig;
14764
15338
  }
14765
15339
 
15340
+ declare class Import extends ActionBuilder<sqlanvil.Import> {
15341
+ session: Session;
15342
+ dependOnDependencyAssertions: boolean;
15343
+ private proto;
15344
+ constructor(session?: Session, unverifiedConfig?: any, configPath?: string);
15345
+ dependencies(value: Resolvable | Resolvable[]): this;
15346
+ hermetic(hermetic: boolean): void;
15347
+ disabled(disabled?: boolean): this;
15348
+ tags(value: string | string[]): this;
15349
+ description(description: string): this;
15350
+ database(database: string): this;
15351
+ schema(schema: string): this;
15352
+ getFileName(): string;
15353
+ getTarget(): sqlanvil.Target;
15354
+ compile(): sqlanvil.Import;
15355
+ private validate;
15356
+ private verifyConfig;
15357
+ }
15358
+
14766
15359
  declare type JitTableResult = string | sqlanvil.IJitTableResult;
14767
15360
  declare class Table extends ActionBuilder<sqlanvil.Table> {
14768
15361
  session: Session;
@@ -15145,7 +15738,7 @@ interface IRecordDescriptor {
15145
15738
  bigqueryPolicyTags?: string | string[];
15146
15739
  }
15147
15740
 
15148
- declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Export | Test | RlsPolicy | RealtimePublication | Wrapper | ForeignTable | VectorIndex;
15741
+ declare type Action = Table | View | IncrementalTable | Operation | Assertion | Declaration | Notebook | DataPreparation | Export | Import | Test | RlsPolicy | RealtimePublication | Wrapper | ForeignTable | VectorIndex;
15149
15742
  interface INamedConfig {
15150
15743
  type?: string;
15151
15744
  name?: string;
@@ -15301,7 +15894,7 @@ declare function jitCompiler(rpcCallback: RpcCallback): IJitCompiler;
15301
15894
 
15302
15895
  declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | string;
15303
15896
 
15304
- declare const version = "1.11.0";
15897
+ declare const version = "1.13.0";
15305
15898
 
15306
15899
  declare const session: Session;
15307
15900
  declare const supportedFeatures: sqlanvil.SupportedFeatures[];