@celigo/api-specs 0.2.266 → 0.2.268

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.
@@ -2542,6 +2542,13 @@ paths:
2542
2542
  Logs are shared across every flow using the connection (filter by `resourceId` client-side),
2543
2543
  and sensitive header values are redacted (`"Authorization": "********"`). For execution logs
2544
2544
  tied to a specific run, use `GET /v1/flows/{_id}/jobs/{_jobId}/logs` instead.
2545
+
2546
+ Each response is capped (by default 100 log files and 2,000,000 bytes; the deployment can
2547
+ change both). Without `time_gt` the response holds the newest log files that fit the cap.
2548
+ With `time_gt` it holds the oldest files newer than `time_gt` that fit the cap, so a client
2549
+ can page forward: send the previous response's `X-Debug-Logs-Latest` value as the next
2550
+ `time_gt`. Files that share the boundary timestamp are returned together. Entries are
2551
+ ordered oldest first.
2545
2552
  parameters:
2546
2553
  - name: _id
2547
2554
  in: path
@@ -2551,9 +2558,15 @@ paths:
2551
2558
  type: string
2552
2559
  format: objectId
2553
2560
  x-celigo-refModel: connections
2561
+ - $ref: '#/components/parameters/DebugLogsTimeGt'
2554
2562
  responses:
2555
2563
  '200':
2556
2564
  description: Debug log stream (plain text).
2565
+ headers:
2566
+ X-Debug-Logs-Latest:
2567
+ $ref: '#/components/headers/DebugLogsLatest'
2568
+ X-Debug-Logs-Truncated:
2569
+ $ref: '#/components/headers/DebugLogsTruncated'
2557
2570
  content:
2558
2571
  text/plain:
2559
2572
  schema:
@@ -2573,11 +2586,36 @@ paths:
2573
2586
  '204':
2574
2587
  description: |-
2575
2588
  No debug logs available — either debug capture is disabled (no `debugDate` set, or it
2576
- is in the past) or the buffer has been cleared.
2589
+ is in the past), the buffer has been cleared, or no log file is newer than `time_gt`.
2590
+ '400':
2591
+ description: '`time_gt` is not a non-negative integer of epoch milliseconds.'
2592
+ content:
2593
+ application/json:
2594
+ schema:
2595
+ $ref: '#/components/schemas/Error'
2596
+ examples:
2597
+ invalidTimeGt:
2598
+ value:
2599
+ errors:
2600
+ - code: invalid_url
2601
+ message: time_gt is not valid.
2577
2602
  '401':
2578
2603
  $ref: '#/components/responses/401-unauthorized'
2579
2604
  '404':
2580
2605
  $ref: '#/components/responses/404-not-found'
2606
+ '500':
2607
+ description: The debug log store could not be listed or read.
2608
+ content:
2609
+ application/json:
2610
+ schema:
2611
+ $ref: '#/components/schemas/Error'
2612
+ examples:
2613
+ internalError:
2614
+ value:
2615
+ errors:
2616
+ - code: INTERNAL_ERROR
2617
+ message: Failed to list S3 keys
2618
+ source: internal
2581
2619
  delete:
2582
2620
  x-internal: false
2583
2621
  operationId: clearConnectionDebugLogs
@@ -2627,6 +2665,9 @@ paths:
2627
2665
 
2628
2666
  `typeId` must be the id of an export or import in the account; an id that resolves to
2629
2667
  neither answers 404, and a value that is not an ObjectId answers 400.
2668
+
2669
+ The response cap and `time_gt` paging work as on `GET /v1/connections/{_id}/debug`: newest
2670
+ files without `time_gt`, oldest files newer than `time_gt` with it, entries oldest first.
2630
2671
  parameters:
2631
2672
  - name: _id
2632
2673
  in: path
@@ -2643,9 +2684,15 @@ paths:
2643
2684
  schema:
2644
2685
  type: string
2645
2686
  format: objectId
2687
+ - $ref: '#/components/parameters/DebugLogsTimeGt'
2646
2688
  responses:
2647
2689
  '200':
2648
2690
  description: Debug log stream (plain text) for the given export or import.
2691
+ headers:
2692
+ X-Debug-Logs-Latest:
2693
+ $ref: '#/components/headers/DebugLogsLatest'
2694
+ X-Debug-Logs-Truncated:
2695
+ $ref: '#/components/headers/DebugLogsTruncated'
2649
2696
  content:
2650
2697
  text/plain:
2651
2698
  schema:
@@ -2666,10 +2713,10 @@ paths:
2666
2713
  '204':
2667
2714
  description: |-
2668
2715
  No debug logs for this export or import — debug capture is off (no future `debugDate`),
2669
- the step has not run through the connection since it was enabled, or the buffer was
2670
- cleared.
2716
+ the step has not run through the connection since it was enabled, the buffer was
2717
+ cleared, or no log file is newer than `time_gt`.
2671
2718
  '400':
2672
- description: '`typeId` is not a valid ObjectId.'
2719
+ description: '`typeId` is not a valid ObjectId, or `time_gt` is not a non-negative integer of epoch milliseconds.'
2673
2720
  content:
2674
2721
  application/json:
2675
2722
  schema:
@@ -2680,6 +2727,11 @@ paths:
2680
2727
  errors:
2681
2728
  - code: invalid_ref
2682
2729
  message: Please provide a valid typeId.
2730
+ invalidTimeGt:
2731
+ value:
2732
+ errors:
2733
+ - code: invalid_url
2734
+ message: time_gt is not valid.
2683
2735
  '401':
2684
2736
  $ref: '#/components/responses/401-unauthorized'
2685
2737
  '404':
@@ -2701,6 +2753,19 @@ paths:
2701
2753
  errors:
2702
2754
  - code: invalid_ref
2703
2755
  message: Export/Import not found.
2756
+ '500':
2757
+ description: The debug log store could not be listed or read.
2758
+ content:
2759
+ application/json:
2760
+ schema:
2761
+ $ref: '#/components/schemas/Error'
2762
+ examples:
2763
+ internalError:
2764
+ value:
2765
+ errors:
2766
+ - code: INTERNAL_ERROR
2767
+ message: Failed to list S3 keys
2768
+ source: internal
2704
2769
  /v1/connections/{_id}/metadata:
2705
2770
  put:
2706
2771
  x-internal: false
@@ -2931,11 +2996,14 @@ paths:
2931
2996
  summary: Purge the message queue for a connection
2932
2997
  description: |-
2933
2998
  Purges all messages from the connection's message queue. This is a
2934
- rate-limited operation — repeated calls within approximately 20 seconds
2935
- are throttled.
2999
+ rate-limited operation — repeated calls within about a minute are
3000
+ throttled.
2936
3001
 
2937
3002
  Returns an empty response on success. If the queue is already empty,
2938
- the request fails with an `empty_connection_queue` error.
3003
+ the request fails with an `empty_connection_queue` error. The connection
3004
+ is looked up before the purge rate limit applies, so an unknown or
3005
+ inaccessible connection id answers 404 rather than 429, however often it
3006
+ is sent.
2939
3007
  parameters:
2940
3008
  - in: path
2941
3009
  name: _id
@@ -2949,7 +3017,9 @@ paths:
2949
3017
  '401':
2950
3018
  $ref: '#/components/responses/401-unauthorized'
2951
3019
  '404':
2952
- description: The connection's message queue is already empty.
3020
+ description: |-
3021
+ The connection does not exist in the account (checked before the purge
3022
+ rate limit), or the connection's message queue is already empty.
2953
3023
  content:
2954
3024
  application/json:
2955
3025
  schema:
@@ -2964,12 +3034,23 @@ paths:
2964
3034
  type: string
2965
3035
  message:
2966
3036
  type: string
2967
- example:
2968
- errors:
2969
- - code: empty_connection_queue
2970
- message: The connection's message queue is already empty.
3037
+ examples:
3038
+ connectionNotFound:
3039
+ summary: Unknown connection id
3040
+ value:
3041
+ errors:
3042
+ - code: invalid_ref
3043
+ message: Connection not found for the given id.
3044
+ emptyQueue:
3045
+ summary: Nothing to purge
3046
+ value:
3047
+ errors:
3048
+ - code: empty_connection_queue
3049
+ message: The connection's message queue is already empty.
2971
3050
  '429':
2972
- description: Rate limit exceeded. Wait approximately 20 seconds before retrying.
3051
+ description: |-
3052
+ Rate limit exceeded for an existing connection. Wait the number of
3053
+ seconds the message names before retrying.
2973
3054
  content:
2974
3055
  application/json:
2975
3056
  schema:
@@ -2984,7 +3065,7 @@ paths:
2984
3065
  type: string
2985
3066
  example:
2986
3067
  errors:
2987
- - message: Too many requests. Please wait before purging the message queue again.
3068
+ - message: Rate limit exceeded. Please try again after 43 seconds.
2988
3069
  /v1/connection/{_id}/oauth2:
2989
3070
  get:
2990
3071
  x-internal: false
@@ -3863,6 +3944,20 @@ components:
3863
3944
  schema:
3864
3945
  type: string
3865
3946
  example: createdAt,lastModified
3947
+ DebugLogsTimeGt:
3948
+ name: time_gt
3949
+ in: query
3950
+ required: false
3951
+ description: |-
3952
+ Epoch milliseconds. When set, only log files whose timestamp is greater than this value
3953
+ are returned, oldest first, up to the response cap. Send the `X-Debug-Logs-Latest` value
3954
+ of the previous response to fetch the next files. Digits only; any other value answers
3955
+ 400 `invalid_url` before the connection is looked up.
3956
+ schema:
3957
+ type: string
3958
+ pattern: ^\d+$
3959
+ examples:
3960
+ - '1776570246673'
3866
3961
  schemas:
3867
3962
  ResourceResponse:
3868
3963
  type: object
@@ -4040,6 +4135,16 @@ components:
4040
4135
  cert and key together for mTLS, ca for a private CA, and passphrase only when the private
4041
4136
  key is encrypted; cert/key and ca can be combined.
4042
4137
  properties:
4138
+ enabled:
4139
+ type: boolean
4140
+ description: |-
4141
+ When true, a `jdbc` connection uses SSL/TLS (the connection form's **Use SSL**
4142
+ checkbox). Written by `jdbc.useSSL`, which takes precedence over a value sent here, and
4143
+ read directly when `jdbc.useSSL` is not a boolean, so a GET body sent back as a PUT keeps
4144
+ the setting. `false` is stored only together with `cert`; otherwise it, like an omitted
4145
+ value, clears the stored flag. Ignored on other connection types.
4146
+ examples:
4147
+ - true
4043
4148
  ca:
4044
4149
  type: string
4045
4150
  description: |-
@@ -4494,7 +4599,7 @@ components:
4494
4599
  - |-
4495
4600
  For placeholder/dummy NetSuite connections, use authType "token-auto" with just the account id —
4496
4601
  integrator.io manages the OAuth client wiring on the backend, so no placeholder tokens are needed.
4497
- x-celigo-ui-override: 'authType is required by the connection form (the API itself accepts a connection without it). The per-auth-type requireds likewise mirror the form: basic requires email and password; token requires account, environment, tokenId, and tokenSecret; token-auto requires account. The API enforces none of these (each was live-verified to POST 201 when omitted); they are encoded in the connection request schema''s type=netsuite branch (not in this file, which jdbc connections also embed for NetSuite JDBC auth) so builders produce connectable connections.'
4602
+ x-celigo-ui-override: 'authType is required by the connection form (the API itself accepts a connection without it). The per-auth-type requireds likewise mirror the form: basic requires email and password; token requires account, environment, tokenId, and tokenSecret; token-auto and oauth require account (the form''s netsuite.token.auto.account, required:true, saved as netsuite.account). The API enforces none of these (each was live-verified to POST 201 when omitted); they are encoded in the connection request schema''s type=netsuite branch (not in this file, which jdbc connections also embed for NetSuite JDBC auth) so builders produce connectable connections.'
4498
4603
  properties:
4499
4604
  authType:
4500
4605
  type: string
@@ -4503,12 +4608,15 @@ components:
4503
4608
  enum:
4504
4609
  - token
4505
4610
  - token-auto
4611
+ - oauth
4506
4612
  x-enumDescriptions:
4507
4613
  token: Manual Token-Based Authentication (TBA) using tokenId and tokenSecret from a NetSuite integration record.
4508
4614
  token-auto: Automatic token management via Celigo's iClient; requires only the NetSuite account ID.
4615
+ oauth: OAuth 2.0 machine-to-machine (client credentials signed with a certificate); needs the NetSuite account ID. The server fills `oauth2`; values sent for `oauth2`, `entityId`, and `roleId` are ignored.
4509
4616
  description: |-
4510
4617
  Authentication method for the NetSuite connection. token-auto delegates the token
4511
- lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair.
4618
+ lifecycle to an iClient; token uses a manually-supplied tokenId/tokenSecret pair; oauth
4619
+ uses a certificate-signed client credentials grant that NetSuite must authorize.
4512
4620
  x-celigo-ai-guidance:
4513
4621
  - |-
4514
4622
  Default to "token-auto" for new connections, including placeholders (only the account id is needed).
@@ -4521,7 +4629,7 @@ components:
4521
4629
  examples:
4522
4630
  - TSTDRV1234567
4523
4631
  description: |-
4524
- NetSuite account ID (automatically uppercased), required for token and token-auto authentication.
4632
+ NetSuite account ID (automatically uppercased), required for token, token-auto, and oauth authentication.
4525
4633
  Found in NetSuite under Setup > Company > Company Information. Non-production accounts
4526
4634
  carry an environment suffix (e.g. `123456_SB1`); production and beta use the bare id.
4527
4635
  x-uppercase: true
@@ -4740,7 +4848,40 @@ components:
4740
4848
  App's record (set by the app's install) or the account's own; access tokens are then created
4741
4849
  for that record's Application. Absent on a standalone connection, which signs with Celigo's
4742
4850
  `integrator.io` record (no client ID or secret is entered anywhere) and whose access tokens
4743
- must be created for Application `integrator.io`.
4851
+ must be created for Application `integrator.io`. With `authType` `oauth` it is optional;
4852
+ when set, the iClient must carry `oauth2.clientId` and `oauth2.clientSecret`, otherwise
4853
+ the save fails with 422 `missing_required_field` on `netsuite._iClientId` ("Expected
4854
+ field: oauth2.clientId/clientSecret to be present.").
4855
+ oauth2:
4856
+ type: object
4857
+ readOnly: true
4858
+ description: |-
4859
+ Machine-to-machine state of an `oauth` connection, written by the server on save and
4860
+ ignored on write; absent for other auth types.
4861
+ properties:
4862
+ grantType:
4863
+ type: string
4864
+ enum:
4865
+ - clientcredentials
4866
+ x-enumDescriptions:
4867
+ clientcredentials: OAuth 2.0 client credentials grant signed with a certificate.
4868
+ description: Grant used to obtain tokens; always `clientcredentials`.
4869
+ examples:
4870
+ - clientcredentials
4871
+ scope:
4872
+ type: array
4873
+ description: Scopes requested for the token; always `restlets` and `rest_webservices`.
4874
+ items:
4875
+ type: string
4876
+ enum:
4877
+ - restlets
4878
+ - rest_webservices
4879
+ x-enumDescriptions:
4880
+ restlets: NetSuite RESTlet access.
4881
+ rest_webservices: NetSuite REST web services access.
4882
+ examples:
4883
+ - - restlets
4884
+ - rest_webservices
4744
4885
  Salesforce:
4745
4886
  type: object
4746
4887
  description: |-
@@ -5524,6 +5665,25 @@ components:
5524
5665
  writeOnly: true
5525
5666
  examples:
5526
5667
  - dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk
5668
+ clientRegistration:
5669
+ type: string
5670
+ enum:
5671
+ - automatic
5672
+ - preregistered
5673
+ x-enumDescriptions:
5674
+ automatic: integrator.io registers itself with the MCP server's authorization server; no iClient is used.
5675
+ preregistered: The OAuth client is the iClient referenced by the connection's `_iClientId`.
5676
+ description: |-
5677
+ How the OAuth client is obtained; unset behaves as `preregistered`. With `automatic` the
5678
+ grant is always the authorization code flow (`grantType` is stored as `authorizecode`),
5679
+ and client-sent `grantType`, `authURI`, `tokenURI`, `scope`, and `scopeDelimiter` are
5680
+ dropped because the server discovers them. `automatic` is allowed only on an `mcp`
5681
+ connection with no `mcp.http._iClientId`: on an `http` connection, or an MCP connection
5682
+ that also sends an iClient, the save fails with 422 `mcp_client_registration_conflict`
5683
+ ("Automatic client registration is only supported for standalone MCP connections without
5684
+ an OAuth 2.0 client."). An update that omits it keeps the stored mode.
5685
+ examples:
5686
+ - automatic
5527
5687
  if:
5528
5688
  properties:
5529
5689
  grantType:
@@ -7132,6 +7292,7 @@ components:
7132
7292
  - redshift
7133
7293
  - mariadb
7134
7294
  - azuresynapse
7295
+ - fabric
7135
7296
  x-enumDescriptions:
7136
7297
  mysql: MySQL database (default port 3306).
7137
7298
  postgresql: PostgreSQL database (default port 5432).
@@ -7142,6 +7303,7 @@ components:
7142
7303
  redshift: Amazon Redshift — provisioned clusters or Redshift Serverless; authenticates with static access keys or an AWS IAM role iClient (redshift.authType).
7143
7304
  mariadb: MariaDB database (default port 3306).
7144
7305
  azuresynapse: Azure Synapse Analytics (default port 1433).
7306
+ fabric: Microsoft Fabric Warehouse; signs in with the service principal iClient in `_iClientId` and requires `fabric.workspaceId`; `host` is the Warehouse SQL endpoint and `database` the Warehouse name.
7145
7307
  description: |-
7146
7308
  The specific relational database system to connect to. Determines the SQL dialect,
7147
7309
  connection driver, default port, and which additional sub-fields are required.
@@ -7376,6 +7538,174 @@ components:
7376
7538
  SQL Server connections only; the Azure Synapse form's picker lists client-secret
7377
7539
  iClients. The API accepts either on either type (live-verified 201), so follow the
7378
7540
  form: bind a certificate iClient to mssql connections only.
7541
+ fabric:
7542
+ type: object
7543
+ description: |-
7544
+ Microsoft Fabric Warehouse configuration. Read when `type` is `fabric`; on any other
7545
+ type the object is dropped on save and absent from the response. The connection signs in
7546
+ as the `azureserviceprincipal` iClient referenced by `_iClientId`, so `version`,
7547
+ `instanceName`, `user`, and `password` do not apply: sending any of them fails with 422
7548
+ `invalid_field_value` ("This field does not apply to Microsoft Fabric connections.").
7549
+ properties:
7550
+ workspaceId:
7551
+ type: string
7552
+ pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
7553
+ description: |-
7554
+ Fabric workspace GUID from the Fabric portal URL; it is also the OneLake file system
7555
+ name. A value that is not a GUID fails with 422 `invalid_field_value` ("Enter the
7556
+ workspace GUID from the Fabric portal URL."); omitting it fails with 422
7557
+ `missing_required_field`.
7558
+ examples:
7559
+ - 3f2b6c1e-8a4d-4e7b-9c0a-1d2e3f4a5b6c
7560
+ authType:
7561
+ type: string
7562
+ enum:
7563
+ - azure-service-principal
7564
+ x-enumDescriptions:
7565
+ azure-service-principal: Microsoft Entra service principal held in the `azureserviceprincipal` iClient referenced by `_iClientId`.
7566
+ default: azure-service-principal
7567
+ description: |-
7568
+ Authentication mode. Service principal is the only mode, so the server fills it in
7569
+ when the request omits it and returns it on every Fabric connection.
7570
+ examples:
7571
+ - azure-service-principal
7572
+ staging:
7573
+ type: object
7574
+ description: |-
7575
+ Where bulk loads stage files before `COPY INTO`. A PUT replaces the whole object;
7576
+ omitted keys are cleared. Present when set.
7577
+ properties:
7578
+ strategy:
7579
+ type: string
7580
+ enum:
7581
+ - none
7582
+ - onelake
7583
+ - adlsgen2
7584
+ x-enumDescriptions:
7585
+ none: No staging; loads run without an intermediate file store.
7586
+ onelake: Stage in the Files area of the Lakehouse named by `onelake.lakehouse`.
7587
+ adlsgen2: Reserved for ADLS Gen2 staging; accepted on save without further fields.
7588
+ description: |-
7589
+ Staging strategy. Omitted behaves as `none`. `onelake` requires
7590
+ `onelake.lakehouse` (422 `missing_required_field` otherwise).
7591
+ examples:
7592
+ - onelake
7593
+ folder:
7594
+ type: string
7595
+ maxLength: 512
7596
+ pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$
7597
+ description: |-
7598
+ Single folder name under the Lakehouse `Files/` root. Letters, digits, hyphens,
7599
+ underscores and dots only, starting with a letter or digit and never containing
7600
+ `..`; any other value fails with 422 `invalid_field_value`, and a longer value
7601
+ with 422 `size_limit_exceeded`. Stored with any `strategy`, including `none`.
7602
+ examples:
7603
+ - celigo-staging
7604
+ onelake:
7605
+ type: object
7606
+ description: OneLake staging target, used when `strategy` is `onelake`.
7607
+ properties:
7608
+ lakehouse:
7609
+ type: string
7610
+ maxLength: 512
7611
+ description: |-
7612
+ Display name of the Lakehouse to stage in; resolved to its item id at run
7613
+ time. Required (422 `missing_required_field`) when `strategy` is `onelake`.
7614
+ examples:
7615
+ - StagingLakehouse
7616
+ azuresynapse:
7617
+ type: object
7618
+ description: |-
7619
+ Azure Synapse settings beyond the shared `mssql` sub-object. Read when `type` is
7620
+ `azuresynapse`; on any other type the object is dropped on save and absent from the
7621
+ response.
7622
+ properties:
7623
+ staging:
7624
+ type: object
7625
+ description: |-
7626
+ ADLS Gen2 staging for bulk loads. `folder` and `adlsGen2` require `strategy`
7627
+ `adlsgen2`, and `adlsgen2` requires `mssql.authType` `azure-service-principal`
7628
+ (with its `_iClientId`); either mismatch fails with 422 `invalid_field_value`
7629
+ ("staging.folder and adlsGen2 fields require staging.strategy to be adlsgen2" /
7630
+ "ADLS Gen2 staging requires azure-service-principal authentication"). Stored and
7631
+ returned as sent, `strategy: none` included; a PUT that omits the object clears it.
7632
+ properties:
7633
+ strategy:
7634
+ type: string
7635
+ enum:
7636
+ - none
7637
+ - adlsgen2
7638
+ x-enumDescriptions:
7639
+ none: No staging.
7640
+ adlsgen2: Stage files in the ADLS Gen2 container named by `adlsGen2`; requires `folder`, `adlsGen2.storageAccount`, and `adlsGen2.container`.
7641
+ description: |-
7642
+ Staging strategy. With `adlsgen2`, a missing `folder`, `adlsGen2.storageAccount`,
7643
+ or `adlsGen2.container` fails with 422 `missing_required_field`.
7644
+ examples:
7645
+ - adlsgen2
7646
+ folder:
7647
+ type: string
7648
+ maxLength: 512
7649
+ description: |-
7650
+ Folder path inside the container; leading and trailing slashes and surrounding
7651
+ whitespace are removed on save. Each segment may contain only letters, digits,
7652
+ `.`, `_`, and `-`, may not be empty, `.` or `..`, and may not end with `.`; at
7653
+ most 56 segments. A violation fails with 422 `invalid_field_value`, a longer value
7654
+ with 422 `size_limit_exceeded`.
7655
+ examples:
7656
+ - celigo/staging
7657
+ adlsGen2:
7658
+ type: object
7659
+ description: ADLS Gen2 storage location for staged files.
7660
+ properties:
7661
+ accessMethod:
7662
+ type: string
7663
+ enum:
7664
+ - identityPassThrough
7665
+ - managedIdentity
7666
+ - sas
7667
+ x-enumDescriptions:
7668
+ identityPassThrough: Synapse reads the staged files with the connection's service principal identity.
7669
+ managedIdentity: Reserved for firewalled storage; accepted on save.
7670
+ sas: Reserved for firewalled storage; accepted on save.
7671
+ description: |-
7672
+ How Synapse authenticates to the storage account when loading staged files.
7673
+ Use `identityPassThrough`; the save stores the object without one when it is
7674
+ omitted.
7675
+ examples:
7676
+ - identityPassThrough
7677
+ storageAccount:
7678
+ type: string
7679
+ pattern: ^[a-z0-9]{3,24}$
7680
+ description: |-
7681
+ Storage account name, not a URL. Any other value fails with 422
7682
+ `invalid_field_value` ("must be the storage account name (3-24 lowercase
7683
+ letters and digits), not a URL").
7684
+ examples:
7685
+ - celigostaging01
7686
+ container:
7687
+ type: string
7688
+ pattern: ^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$
7689
+ description: |-
7690
+ Container name: 3-63 lowercase letters, digits, and hyphens, with no `--`.
7691
+ Any other value fails with 422 `invalid_field_value`.
7692
+ examples:
7693
+ - staging
7694
+ if:
7695
+ properties:
7696
+ strategy:
7697
+ const: adlsgen2
7698
+ required:
7699
+ - strategy
7700
+ then:
7701
+ required:
7702
+ - folder
7703
+ - adlsGen2
7704
+ properties:
7705
+ adlsGen2:
7706
+ required:
7707
+ - storageAccount
7708
+ - container
7379
7709
  bigquery:
7380
7710
  type: object
7381
7711
  description: |
@@ -7697,6 +8027,14 @@ components:
7697
8027
  - database
7698
8028
  - user
7699
8029
  - password
8030
+ properties:
8031
+ azuresynapse:
8032
+ properties:
8033
+ staging:
8034
+ properties:
8035
+ strategy:
8036
+ not:
8037
+ const: adlsgen2
7700
8038
  else:
7701
8039
  if:
7702
8040
  properties:
@@ -7815,6 +8153,23 @@ components:
7815
8153
  required:
7816
8154
  - accessKeyId
7817
8155
  - secretAccessKey
8156
+ else:
8157
+ if:
8158
+ properties:
8159
+ type:
8160
+ const: fabric
8161
+ required:
8162
+ - type
8163
+ then:
8164
+ required:
8165
+ - host
8166
+ - database
8167
+ - fabric
8168
+ - _iClientId
8169
+ properties:
8170
+ fabric:
8171
+ required:
8172
+ - workspaceId
7818
8173
  MongoDB:
7819
8174
  type: object
7820
8175
  description: |-
@@ -8981,8 +9336,27 @@ components:
8981
9336
  required:
8982
9337
  - auth
8983
9338
  then:
8984
- required:
8985
- - _iClientId
9339
+ if:
9340
+ properties:
9341
+ auth:
9342
+ properties:
9343
+ oauth:
9344
+ properties:
9345
+ clientRegistration:
9346
+ const: automatic
9347
+ required:
9348
+ - clientRegistration
9349
+ required:
9350
+ - oauth
9351
+ required:
9352
+ - auth
9353
+ then:
9354
+ not:
9355
+ required:
9356
+ - _iClientId
9357
+ else:
9358
+ required:
9359
+ - _iClientId
8986
9360
  x-celigo-ai-guidance:
8987
9361
  - |-
8988
9362
  The auth.type MUST be one of: "token", "oauth", or "custom".
@@ -9228,6 +9602,16 @@ components:
9228
9602
  minimum: 1
9229
9603
  maximum: 50
9230
9604
  default: 5
9605
+ useSSL:
9606
+ type: boolean
9607
+ writeOnly: true
9608
+ description: |-
9609
+ When true, the connection uses SSL/TLS (the form's **Use SSL** checkbox); stored and
9610
+ returned as the connection-level `ssl.enabled`, never under `jdbc`. Takes precedence over
9611
+ `ssl.enabled` in the same body. `false` is stored only together with `ssl.cert`;
9612
+ otherwise it clears the stored flag.
9613
+ examples:
9614
+ - true
9231
9615
  if:
9232
9616
  properties:
9233
9617
  type:
@@ -10298,6 +10682,16 @@ components:
10298
10682
  then:
10299
10683
  required:
10300
10684
  - account
10685
+ else:
10686
+ if:
10687
+ properties:
10688
+ authType:
10689
+ const: oauth
10690
+ required:
10691
+ - authType
10692
+ then:
10693
+ required:
10694
+ - account
10301
10695
  else:
10302
10696
  if:
10303
10697
  properties:
@@ -11717,5 +12111,25 @@ components:
11717
12111
  errors:
11718
12112
  - code: unprocessable_entity
11719
12113
  message: The request could not be processed due to a semantic error.
12114
+ headers:
12115
+ DebugLogsLatest:
12116
+ description: |-
12117
+ Epoch-millisecond timestamp of the newest log file in this response. Send it as `time_gt`
12118
+ on the next call to read the files that follow.
12119
+ schema:
12120
+ type: string
12121
+ pattern: ^\d+$
12122
+ examples:
12123
+ - '1776570246774'
12124
+ DebugLogsTruncated:
12125
+ description: |-
12126
+ Present with the value `true` when the response cap left matching log files out. Absent
12127
+ when every matching file was returned.
12128
+ schema:
12129
+ type: string
12130
+ enum:
12131
+ - 'true'
12132
+ x-enumDescriptions:
12133
+ 'true': The cap left matching log files out of this response.
11720
12134
  x-enable-proxy: true
11721
12135
  x-internal: false