@azure/synapse-artifacts 1.0.0-alpha.20231207.1 → 1.0.0-alpha.20231228.1

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/index.js CHANGED
@@ -779,50 +779,6 @@ exports.KnownGoogleAdWordsAuthenticationType = void 0;
779
779
  /** UserAuthentication */
780
780
  KnownGoogleAdWordsAuthenticationType["UserAuthentication"] = "UserAuthentication";
781
781
  })(exports.KnownGoogleAdWordsAuthenticationType || (exports.KnownGoogleAdWordsAuthenticationType = {}));
782
- /** Known values of {@link SapHanaPartitionOption} that the service accepts. */
783
- exports.KnownSapHanaPartitionOption = void 0;
784
- (function (KnownSapHanaPartitionOption) {
785
- /** None */
786
- KnownSapHanaPartitionOption["None"] = "None";
787
- /** PhysicalPartitionsOfTable */
788
- KnownSapHanaPartitionOption["PhysicalPartitionsOfTable"] = "PhysicalPartitionsOfTable";
789
- /** SapHanaDynamicRange */
790
- KnownSapHanaPartitionOption["SapHanaDynamicRange"] = "SapHanaDynamicRange";
791
- })(exports.KnownSapHanaPartitionOption || (exports.KnownSapHanaPartitionOption = {}));
792
- /** Known values of {@link SapTablePartitionOption} that the service accepts. */
793
- exports.KnownSapTablePartitionOption = void 0;
794
- (function (KnownSapTablePartitionOption) {
795
- /** None */
796
- KnownSapTablePartitionOption["None"] = "None";
797
- /** PartitionOnInt */
798
- KnownSapTablePartitionOption["PartitionOnInt"] = "PartitionOnInt";
799
- /** PartitionOnCalendarYear */
800
- KnownSapTablePartitionOption["PartitionOnCalendarYear"] = "PartitionOnCalendarYear";
801
- /** PartitionOnCalendarMonth */
802
- KnownSapTablePartitionOption["PartitionOnCalendarMonth"] = "PartitionOnCalendarMonth";
803
- /** PartitionOnCalendarDate */
804
- KnownSapTablePartitionOption["PartitionOnCalendarDate"] = "PartitionOnCalendarDate";
805
- /** PartitionOnTime */
806
- KnownSapTablePartitionOption["PartitionOnTime"] = "PartitionOnTime";
807
- })(exports.KnownSapTablePartitionOption || (exports.KnownSapTablePartitionOption = {}));
808
- /** Known values of {@link StoredProcedureParameterType} that the service accepts. */
809
- exports.KnownStoredProcedureParameterType = void 0;
810
- (function (KnownStoredProcedureParameterType) {
811
- /** String */
812
- KnownStoredProcedureParameterType["String"] = "String";
813
- /** Int */
814
- KnownStoredProcedureParameterType["Int"] = "Int";
815
- /** Int64 */
816
- KnownStoredProcedureParameterType["Int64"] = "Int64";
817
- /** Decimal */
818
- KnownStoredProcedureParameterType["Decimal"] = "Decimal";
819
- /** Guid */
820
- KnownStoredProcedureParameterType["Guid"] = "Guid";
821
- /** Boolean */
822
- KnownStoredProcedureParameterType["Boolean"] = "Boolean";
823
- /** Date */
824
- KnownStoredProcedureParameterType["Date"] = "Date";
825
- })(exports.KnownStoredProcedureParameterType || (exports.KnownStoredProcedureParameterType = {}));
826
782
  /** Known values of {@link OraclePartitionOption} that the service accepts. */
827
783
  exports.KnownOraclePartitionOption = void 0;
828
784
  (function (KnownOraclePartitionOption) {
@@ -877,6 +833,24 @@ exports.KnownNetezzaPartitionOption = void 0;
877
833
  /** DynamicRange */
878
834
  KnownNetezzaPartitionOption["DynamicRange"] = "DynamicRange";
879
835
  })(exports.KnownNetezzaPartitionOption || (exports.KnownNetezzaPartitionOption = {}));
836
+ /** Known values of {@link StoredProcedureParameterType} that the service accepts. */
837
+ exports.KnownStoredProcedureParameterType = void 0;
838
+ (function (KnownStoredProcedureParameterType) {
839
+ /** String */
840
+ KnownStoredProcedureParameterType["String"] = "String";
841
+ /** Int */
842
+ KnownStoredProcedureParameterType["Int"] = "Int";
843
+ /** Int64 */
844
+ KnownStoredProcedureParameterType["Int64"] = "Int64";
845
+ /** Decimal */
846
+ KnownStoredProcedureParameterType["Decimal"] = "Decimal";
847
+ /** Guid */
848
+ KnownStoredProcedureParameterType["Guid"] = "Guid";
849
+ /** Boolean */
850
+ KnownStoredProcedureParameterType["Boolean"] = "Boolean";
851
+ /** Date */
852
+ KnownStoredProcedureParameterType["Date"] = "Date";
853
+ })(exports.KnownStoredProcedureParameterType || (exports.KnownStoredProcedureParameterType = {}));
880
854
  /** Known values of {@link NotebookParameterType} that the service accepts. */
881
855
  exports.KnownNotebookParameterType = void 0;
882
856
  (function (KnownNotebookParameterType) {
@@ -1327,6 +1301,32 @@ exports.KnownSqlPartitionOption = void 0;
1327
1301
  /** DynamicRange */
1328
1302
  KnownSqlPartitionOption["DynamicRange"] = "DynamicRange";
1329
1303
  })(exports.KnownSqlPartitionOption || (exports.KnownSqlPartitionOption = {}));
1304
+ /** Known values of {@link SapHanaPartitionOption} that the service accepts. */
1305
+ exports.KnownSapHanaPartitionOption = void 0;
1306
+ (function (KnownSapHanaPartitionOption) {
1307
+ /** None */
1308
+ KnownSapHanaPartitionOption["None"] = "None";
1309
+ /** PhysicalPartitionsOfTable */
1310
+ KnownSapHanaPartitionOption["PhysicalPartitionsOfTable"] = "PhysicalPartitionsOfTable";
1311
+ /** SapHanaDynamicRange */
1312
+ KnownSapHanaPartitionOption["SapHanaDynamicRange"] = "SapHanaDynamicRange";
1313
+ })(exports.KnownSapHanaPartitionOption || (exports.KnownSapHanaPartitionOption = {}));
1314
+ /** Known values of {@link SapTablePartitionOption} that the service accepts. */
1315
+ exports.KnownSapTablePartitionOption = void 0;
1316
+ (function (KnownSapTablePartitionOption) {
1317
+ /** None */
1318
+ KnownSapTablePartitionOption["None"] = "None";
1319
+ /** PartitionOnInt */
1320
+ KnownSapTablePartitionOption["PartitionOnInt"] = "PartitionOnInt";
1321
+ /** PartitionOnCalendarYear */
1322
+ KnownSapTablePartitionOption["PartitionOnCalendarYear"] = "PartitionOnCalendarYear";
1323
+ /** PartitionOnCalendarMonth */
1324
+ KnownSapTablePartitionOption["PartitionOnCalendarMonth"] = "PartitionOnCalendarMonth";
1325
+ /** PartitionOnCalendarDate */
1326
+ KnownSapTablePartitionOption["PartitionOnCalendarDate"] = "PartitionOnCalendarDate";
1327
+ /** PartitionOnTime */
1328
+ KnownSapTablePartitionOption["PartitionOnTime"] = "PartitionOnTime";
1329
+ })(exports.KnownSapTablePartitionOption || (exports.KnownSapTablePartitionOption = {}));
1330
1330
 
1331
1331
  /*
1332
1332
  * Copyright (c) Microsoft Corporation.
@@ -1338,7 +1338,7 @@ exports.KnownSqlPartitionOption = void 0;
1338
1338
  const tracingClient = coreTracing.createTracingClient({
1339
1339
  namespace: "Azure.Synapse.Artifacts",
1340
1340
  packageName: "@azure/synapse-artifacts",
1341
- packageVersion: "1.0.0-beta.13"
1341
+ packageVersion: "1.0.0-beta.14"
1342
1342
  });
1343
1343
 
1344
1344
  /*
@@ -2354,7 +2354,7 @@ const RunNotebookResult = {
2354
2354
  sessionId: {
2355
2355
  serializedName: "sessionId",
2356
2356
  type: {
2357
- name: "Number"
2357
+ name: "String"
2358
2358
  }
2359
2359
  },
2360
2360
  sparkPool: {
@@ -2482,7 +2482,7 @@ const RunNotebookSnapshotResult = {
2482
2482
  sessionId: {
2483
2483
  serializedName: "sessionId",
2484
2484
  type: {
2485
- name: "Number"
2485
+ name: "String"
2486
2486
  }
2487
2487
  },
2488
2488
  sparkPool: {
@@ -2535,7 +2535,7 @@ const RunNotebookSnapshot = {
2535
2535
  sessionId: {
2536
2536
  serializedName: "sessionId",
2537
2537
  type: {
2538
- name: "Number"
2538
+ name: "String"
2539
2539
  }
2540
2540
  },
2541
2541
  sparkPool: {
@@ -8102,27 +8102,6 @@ const SapTablePartitionSettings = {
8102
8102
  }
8103
8103
  }
8104
8104
  };
8105
- const StoredProcedureParameter = {
8106
- type: {
8107
- name: "Composite",
8108
- className: "StoredProcedureParameter",
8109
- modelProperties: {
8110
- value: {
8111
- serializedName: "value",
8112
- nullable: true,
8113
- type: {
8114
- name: "any"
8115
- }
8116
- },
8117
- type: {
8118
- serializedName: "type",
8119
- type: {
8120
- name: "String"
8121
- }
8122
- }
8123
- }
8124
- }
8125
- };
8126
8105
  const SqlPartitionSettings = {
8127
8106
  type: {
8128
8107
  name: "Composite",
@@ -8378,6 +8357,27 @@ const ImportSettings = {
8378
8357
  }
8379
8358
  }
8380
8359
  };
8360
+ const StoredProcedureParameter = {
8361
+ type: {
8362
+ name: "Composite",
8363
+ className: "StoredProcedureParameter",
8364
+ modelProperties: {
8365
+ value: {
8366
+ serializedName: "value",
8367
+ nullable: true,
8368
+ type: {
8369
+ name: "any"
8370
+ }
8371
+ },
8372
+ type: {
8373
+ serializedName: "type",
8374
+ type: {
8375
+ name: "String"
8376
+ }
8377
+ }
8378
+ }
8379
+ }
8380
+ };
8381
8381
  const NotebookParameter = {
8382
8382
  type: {
8383
8383
  name: "Composite",
@@ -8859,7 +8859,7 @@ const WebActivityAuthentication = {
8859
8859
  username: {
8860
8860
  serializedName: "username",
8861
8861
  type: {
8862
- name: "String"
8862
+ name: "any"
8863
8863
  }
8864
8864
  },
8865
8865
  password: {
@@ -17716,10 +17716,7 @@ const SqlPoolStoredProcedureActivity = {
17716
17716
  }, storedProcedureParameters: {
17717
17717
  serializedName: "typeProperties.storedProcedureParameters",
17718
17718
  type: {
17719
- name: "Dictionary",
17720
- value: {
17721
- type: { name: "Composite", className: "StoredProcedureParameter" }
17722
- }
17719
+ name: "any"
17723
17720
  }
17724
17721
  } })
17725
17722
  }
@@ -18298,7 +18295,7 @@ const AzureBlobStorageReadSettings = {
18298
18295
  }, enablePartitionDiscovery: {
18299
18296
  serializedName: "enablePartitionDiscovery",
18300
18297
  type: {
18301
- name: "Boolean"
18298
+ name: "any"
18302
18299
  }
18303
18300
  }, partitionRootPath: {
18304
18301
  serializedName: "partitionRootPath",
@@ -18481,7 +18478,7 @@ const AmazonS3ReadSettings = {
18481
18478
  }, enablePartitionDiscovery: {
18482
18479
  serializedName: "enablePartitionDiscovery",
18483
18480
  type: {
18484
- name: "Boolean"
18481
+ name: "any"
18485
18482
  }
18486
18483
  }, partitionRootPath: {
18487
18484
  serializedName: "partitionRootPath",
@@ -18537,7 +18534,7 @@ const FileServerReadSettings = {
18537
18534
  }, enablePartitionDiscovery: {
18538
18535
  serializedName: "enablePartitionDiscovery",
18539
18536
  type: {
18540
- name: "Boolean"
18537
+ name: "any"
18541
18538
  }
18542
18539
  }, partitionRootPath: {
18543
18540
  serializedName: "partitionRootPath",
@@ -18603,7 +18600,7 @@ const AzureFileStorageReadSettings = {
18603
18600
  }, enablePartitionDiscovery: {
18604
18601
  serializedName: "enablePartitionDiscovery",
18605
18602
  type: {
18606
- name: "Boolean"
18603
+ name: "any"
18607
18604
  }
18608
18605
  }, partitionRootPath: {
18609
18606
  serializedName: "partitionRootPath",
@@ -18664,7 +18661,7 @@ const GoogleCloudStorageReadSettings = {
18664
18661
  }, enablePartitionDiscovery: {
18665
18662
  serializedName: "enablePartitionDiscovery",
18666
18663
  type: {
18667
- name: "Boolean"
18664
+ name: "any"
18668
18665
  }
18669
18666
  }, partitionRootPath: {
18670
18667
  serializedName: "partitionRootPath",
@@ -18715,7 +18712,7 @@ const FtpReadSettings = {
18715
18712
  }, enablePartitionDiscovery: {
18716
18713
  serializedName: "enablePartitionDiscovery",
18717
18714
  type: {
18718
- name: "Boolean"
18715
+ name: "any"
18719
18716
  }
18720
18717
  }, partitionRootPath: {
18721
18718
  serializedName: "partitionRootPath",
@@ -18735,7 +18732,7 @@ const FtpReadSettings = {
18735
18732
  }, useBinaryTransfer: {
18736
18733
  serializedName: "useBinaryTransfer",
18737
18734
  type: {
18738
- name: "Boolean"
18735
+ name: "any"
18739
18736
  }
18740
18737
  }, disableChunking: {
18741
18738
  serializedName: "disableChunking",
@@ -18771,7 +18768,7 @@ const SftpReadSettings = {
18771
18768
  }, enablePartitionDiscovery: {
18772
18769
  serializedName: "enablePartitionDiscovery",
18773
18770
  type: {
18774
- name: "Boolean"
18771
+ name: "any"
18775
18772
  }
18776
18773
  }, partitionRootPath: {
18777
18774
  serializedName: "partitionRootPath",
@@ -18837,13 +18834,18 @@ const HttpReadSettings = {
18837
18834
  }, enablePartitionDiscovery: {
18838
18835
  serializedName: "enablePartitionDiscovery",
18839
18836
  type: {
18840
- name: "Boolean"
18837
+ name: "any"
18841
18838
  }
18842
18839
  }, partitionRootPath: {
18843
18840
  serializedName: "partitionRootPath",
18844
18841
  type: {
18845
18842
  name: "any"
18846
18843
  }
18844
+ }, additionalColumns: {
18845
+ serializedName: "additionalColumns",
18846
+ type: {
18847
+ name: "any"
18848
+ }
18847
18849
  } })
18848
18850
  }
18849
18851
  };
@@ -18878,7 +18880,7 @@ const HdfsReadSettings = {
18878
18880
  }, enablePartitionDiscovery: {
18879
18881
  serializedName: "enablePartitionDiscovery",
18880
18882
  type: {
18881
- name: "Boolean"
18883
+ name: "any"
18882
18884
  }
18883
18885
  }, partitionRootPath: {
18884
18886
  serializedName: "partitionRootPath",
@@ -20633,10 +20635,7 @@ const SqlSink = {
20633
20635
  }, storedProcedureParameters: {
20634
20636
  serializedName: "storedProcedureParameters",
20635
20637
  type: {
20636
- name: "Dictionary",
20637
- value: {
20638
- type: { name: "Composite", className: "StoredProcedureParameter" }
20639
- }
20638
+ name: "any"
20640
20639
  }
20641
20640
  }, storedProcedureTableTypeParameterName: {
20642
20641
  serializedName: "storedProcedureTableTypeParameterName",
@@ -20677,10 +20676,7 @@ const SqlServerSink = {
20677
20676
  }, storedProcedureParameters: {
20678
20677
  serializedName: "storedProcedureParameters",
20679
20678
  type: {
20680
- name: "Dictionary",
20681
- value: {
20682
- type: { name: "Composite", className: "StoredProcedureParameter" }
20683
- }
20679
+ name: "any"
20684
20680
  }
20685
20681
  }, storedProcedureTableTypeParameterName: {
20686
20682
  serializedName: "storedProcedureTableTypeParameterName",
@@ -20721,10 +20717,7 @@ const AzureSqlSink = {
20721
20717
  }, storedProcedureParameters: {
20722
20718
  serializedName: "storedProcedureParameters",
20723
20719
  type: {
20724
- name: "Dictionary",
20725
- value: {
20726
- type: { name: "Composite", className: "StoredProcedureParameter" }
20727
- }
20720
+ name: "any"
20728
20721
  }
20729
20722
  }, storedProcedureTableTypeParameterName: {
20730
20723
  serializedName: "storedProcedureTableTypeParameterName",
@@ -20765,10 +20758,7 @@ const SqlMISink = {
20765
20758
  }, storedProcedureParameters: {
20766
20759
  serializedName: "storedProcedureParameters",
20767
20760
  type: {
20768
- name: "Dictionary",
20769
- value: {
20770
- type: { name: "Composite", className: "StoredProcedureParameter" }
20771
- }
20761
+ name: "any"
20772
20762
  }
20773
20763
  }, storedProcedureTableTypeParameterName: {
20774
20764
  serializedName: "storedProcedureTableTypeParameterName",
@@ -23253,7 +23243,12 @@ const ScriptActivity = {
23253
23243
  uberParent: "ExecutionActivity",
23254
23244
  additionalProperties: { type: { name: "Object" } },
23255
23245
  polymorphicDiscriminator: ExecutionActivity.type.polymorphicDiscriminator,
23256
- modelProperties: Object.assign(Object.assign({}, ExecutionActivity.type.modelProperties), { scripts: {
23246
+ modelProperties: Object.assign(Object.assign({}, ExecutionActivity.type.modelProperties), { scriptBlockExecutionTimeout: {
23247
+ serializedName: "typeProperties.scriptBlockExecutionTimeout",
23248
+ type: {
23249
+ name: "any"
23250
+ }
23251
+ }, scripts: {
23257
23252
  serializedName: "typeProperties.scripts",
23258
23253
  type: {
23259
23254
  name: "Sequence",
@@ -23798,7 +23793,7 @@ const SapHanaSource = {
23798
23793
  }, partitionOption: {
23799
23794
  serializedName: "partitionOption",
23800
23795
  type: {
23801
- name: "String"
23796
+ name: "any"
23802
23797
  }
23803
23798
  }, partitionSettings: {
23804
23799
  serializedName: "partitionSettings",
@@ -23917,7 +23912,7 @@ const SapTableSource = {
23917
23912
  }, partitionOption: {
23918
23913
  serializedName: "partitionOption",
23919
23914
  type: {
23920
- name: "String"
23915
+ name: "any"
23921
23916
  }
23922
23917
  }, partitionSettings: {
23923
23918
  serializedName: "partitionSettings",
@@ -23949,10 +23944,7 @@ const SqlSource = {
23949
23944
  }, storedProcedureParameters: {
23950
23945
  serializedName: "storedProcedureParameters",
23951
23946
  type: {
23952
- name: "Dictionary",
23953
- value: {
23954
- type: { name: "Composite", className: "StoredProcedureParameter" }
23955
- }
23947
+ name: "any"
23956
23948
  }
23957
23949
  }, isolationLevel: {
23958
23950
  serializedName: "isolationLevel",
@@ -23994,10 +23986,7 @@ const SqlServerSource = {
23994
23986
  }, storedProcedureParameters: {
23995
23987
  serializedName: "storedProcedureParameters",
23996
23988
  type: {
23997
- name: "Dictionary",
23998
- value: {
23999
- type: { name: "Composite", className: "StoredProcedureParameter" }
24000
- }
23989
+ name: "any"
24001
23990
  }
24002
23991
  }, isolationLevel: {
24003
23992
  serializedName: "isolationLevel",
@@ -24044,10 +24033,7 @@ const AmazonRdsForSqlServerSource = {
24044
24033
  }, storedProcedureParameters: {
24045
24034
  serializedName: "storedProcedureParameters",
24046
24035
  type: {
24047
- name: "Dictionary",
24048
- value: {
24049
- type: { name: "Composite", className: "StoredProcedureParameter" }
24050
- }
24036
+ name: "any"
24051
24037
  }
24052
24038
  }, isolationLevel: {
24053
24039
  serializedName: "isolationLevel",
@@ -24094,10 +24080,7 @@ const AzureSqlSource = {
24094
24080
  }, storedProcedureParameters: {
24095
24081
  serializedName: "storedProcedureParameters",
24096
24082
  type: {
24097
- name: "Dictionary",
24098
- value: {
24099
- type: { name: "Composite", className: "StoredProcedureParameter" }
24100
- }
24083
+ name: "any"
24101
24084
  }
24102
24085
  }, isolationLevel: {
24103
24086
  serializedName: "isolationLevel",
@@ -24144,10 +24127,7 @@ const SqlMISource = {
24144
24127
  }, storedProcedureParameters: {
24145
24128
  serializedName: "storedProcedureParameters",
24146
24129
  type: {
24147
- name: "Dictionary",
24148
- value: {
24149
- type: { name: "Composite", className: "StoredProcedureParameter" }
24150
- }
24130
+ name: "any"
24151
24131
  }
24152
24132
  }, isolationLevel: {
24153
24133
  serializedName: "isolationLevel",
@@ -33468,7 +33448,7 @@ class ArtifactsClient extends coreClient__namespace.ServiceClient {
33468
33448
  * Initializes a new instance of the ArtifactsClient class.
33469
33449
  * @param credentials Subscription credentials which uniquely identify client subscription.
33470
33450
  * @param endpoint The workspace development endpoint, for example
33471
- * https://myworkspace.dev.azuresynapse.net.
33451
+ * `https://myworkspace.dev.azuresynapse.net`.
33472
33452
  * @param options The parameter options
33473
33453
  */
33474
33454
  constructor(credentials, endpoint, options) {
@@ -33487,7 +33467,7 @@ class ArtifactsClient extends coreClient__namespace.ServiceClient {
33487
33467
  requestContentType: "application/json; charset=utf-8",
33488
33468
  credential: credentials
33489
33469
  };
33490
- const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.13`;
33470
+ const packageDetails = `azsdk-js-synapse-artifacts/1.0.0-beta.15`;
33491
33471
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
33492
33472
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
33493
33473
  : `${packageDetails}`;