@celigo/api-specs 0.2.39 → 0.2.40
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/account.yml +201 -3
- package/dist/agent.yml +7 -0
- package/dist/ai-agent.yml +97 -13
- package/dist/api.yml +5934 -121
- package/dist/asynchelper.yml +7 -0
- package/dist/audit.yml +36 -1
- package/dist/connection.yml +662 -74
- package/dist/ediprofile.yml +7 -0
- package/dist/editransaction.yml +225 -0
- package/dist/enduser.yml +5605 -35
- package/dist/export.yml +276 -41
- package/dist/filedefinition.yml +7 -0
- package/dist/filestorage.yml +712 -330
- package/dist/flow.yml +78 -37
- package/dist/guardrail.yml +81 -533
- package/dist/httpconnectorendpoint.yml +602 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +108 -16
- package/dist/import.yml +1357 -176
- package/dist/integration.yml +814 -0
- package/dist/lookupcache.yml +7 -0
- package/dist/marketplace.yml +285 -105
- package/dist/mcp-server.yml +6310 -187
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +7 -0
- package/dist/stack.yml +642 -5
- package/dist/subscription.yml +122 -26
- package/dist/template.yml +34 -1
- package/dist/tool.yml +4777 -1652
- package/dist/topic.yml +1783 -0
- package/dist/user.yml +142 -29
- package/package.json +1 -1
- package/schemas.json +978 -768
package/dist/user.yml
CHANGED
|
@@ -126,9 +126,11 @@ paths:
|
|
|
126
126
|
tags:
|
|
127
127
|
- Users
|
|
128
128
|
description: |-
|
|
129
|
-
Retrieve a single user's access record by its id. Returns
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
Retrieve a single user's access record by its id. Returns the bare record:
|
|
130
|
+
the user is identified by `_sharedWithUserId` rather than the expanded
|
|
131
|
+
`sharedWithUser` the list returns, and `isProductionAdmin` is not computed.
|
|
132
|
+
Returns workspace records only — an end-user access-record id is not found
|
|
133
|
+
here; read those from `GET /v1/endusers`.
|
|
132
134
|
parameters:
|
|
133
135
|
- name: _id
|
|
134
136
|
in: path
|
|
@@ -148,23 +150,18 @@ paths:
|
|
|
148
150
|
default:
|
|
149
151
|
value:
|
|
150
152
|
_id: 6798f4dc43db9184f4bc8ee0
|
|
153
|
+
_sharedWithUserId: 624774a6a7574d3ed9f9a5cc
|
|
151
154
|
accepted: true
|
|
152
155
|
accessLevel: administrator
|
|
153
156
|
integrationAccessLevel: []
|
|
154
157
|
accountSSORequired: false
|
|
155
158
|
accountMFARequired: false
|
|
156
|
-
isProductionAdmin: true
|
|
157
159
|
allowIntegrationWorkspaceCreation: false
|
|
158
160
|
createdVia: existing_account_invite
|
|
159
161
|
lastModified: '2026-05-02T17:02:59.371Z'
|
|
160
162
|
createdAt: '2025-01-28T15:16:44.327Z'
|
|
161
163
|
lastSignIn: '2026-05-02T17:02:59.370Z'
|
|
162
|
-
|
|
163
|
-
_id: 624774a6a7574d3ed9f9a5cc
|
|
164
|
-
email: admin@example.com
|
|
165
|
-
name: Account Admin
|
|
166
|
-
allowedToResetMFA: false
|
|
167
|
-
accountSSOLinked: not_linked
|
|
164
|
+
userType: workspace
|
|
168
165
|
'401':
|
|
169
166
|
$ref: '#/components/responses/401-unauthorized'
|
|
170
167
|
'404':
|
|
@@ -178,8 +175,10 @@ paths:
|
|
|
178
175
|
description: |-
|
|
179
176
|
Replaces a workspace user's access settings. The body must grant access
|
|
180
177
|
through `accessLevel` or a non-empty `integrationAccessLevel`, and
|
|
181
|
-
`integrationAccessLevel
|
|
182
|
-
|
|
178
|
+
`integrationAccessLevel` and `accountMFARequired` are cleared when
|
|
179
|
+
omitted — send every value to keep. `accountSSORequired` is the
|
|
180
|
+
exception: it changes only when the body carries it, and is ignored
|
|
181
|
+
while the account enforces SSO for every user. `disabled` is not
|
|
183
182
|
applied here; toggle it with `PUT /v1/ashares/{_userId}/disable`.
|
|
184
183
|
Read-only fields echoed from the GET response are ignored, except
|
|
185
184
|
`userType`, which is rejected. The user's email cannot be changed after
|
|
@@ -203,28 +202,26 @@ paths:
|
|
|
203
202
|
$ref: '#/components/schemas/Request'
|
|
204
203
|
examples:
|
|
205
204
|
changeAccessLevel:
|
|
206
|
-
summary: Change to administrator (resend
|
|
205
|
+
summary: Change to administrator (resend accountMFARequired — omitted means cleared)
|
|
207
206
|
value:
|
|
208
207
|
accessLevel: administrator
|
|
209
208
|
integrationAccessLevel: []
|
|
210
|
-
accountSSORequired: false
|
|
211
209
|
accountMFARequired: true
|
|
212
210
|
integrationOnly:
|
|
213
|
-
summary: Integration-only access (no accessLevel; resend
|
|
211
|
+
summary: Integration-only access (no accessLevel; resend accountMFARequired)
|
|
214
212
|
value:
|
|
215
213
|
integrationAccessLevel:
|
|
216
214
|
- _integrationId: 68f52162f00a35a1b26eaafb
|
|
217
215
|
accessLevel: manage
|
|
218
216
|
- _integrationId: 6842261335b64c0bcb308e4f
|
|
219
217
|
accessLevel: monitor
|
|
220
|
-
accountSSORequired: false
|
|
221
218
|
accountMFARequired: true
|
|
222
|
-
|
|
223
|
-
summary:
|
|
219
|
+
requireSso:
|
|
220
|
+
summary: Turn on SSO for the user while keeping every other setting
|
|
224
221
|
value:
|
|
225
222
|
accessLevel: monitor
|
|
226
223
|
integrationAccessLevel: []
|
|
227
|
-
accountSSORequired:
|
|
224
|
+
accountSSORequired: true
|
|
228
225
|
accountMFARequired: true
|
|
229
226
|
allowToEditRetryData: true
|
|
230
227
|
responses:
|
|
@@ -418,6 +415,94 @@ paths:
|
|
|
418
415
|
$ref: '#/components/responses/401-unauthorized'
|
|
419
416
|
'404':
|
|
420
417
|
$ref: '#/components/responses/404-not-found'
|
|
418
|
+
/v1/ashares/{_id}/accept:
|
|
419
|
+
put:
|
|
420
|
+
x-internal: false
|
|
421
|
+
summary: Accept an account invitation
|
|
422
|
+
operationId: acceptAccountInvitation
|
|
423
|
+
tags:
|
|
424
|
+
- Users
|
|
425
|
+
description: |-
|
|
426
|
+
Accepts an invitation to another user's account on behalf of the caller.
|
|
427
|
+
The `_id` is a share record addressed *to* the caller — take it from
|
|
428
|
+
`GET /v1/shared/ashares`, not from `GET /v1/ashares`. Pending invitations
|
|
429
|
+
from the same owner's other environments are accepted with it, and the
|
|
430
|
+
owner is notified by email. Accepting an invitation that is already
|
|
431
|
+
accepted changes nothing. A user who still owns integrations, flows, or
|
|
432
|
+
syncs must transfer or delete them before they can join another account.
|
|
433
|
+
x-celigo-ai-guidance:
|
|
434
|
+
- Recipient-side operation — the caller's own token accepts the share. To grant access to your account, use `POST /v1/invite/multiple` instead.
|
|
435
|
+
parameters:
|
|
436
|
+
- name: _id
|
|
437
|
+
in: path
|
|
438
|
+
required: true
|
|
439
|
+
description: Share record id from `GET /v1/shared/ashares`.
|
|
440
|
+
schema:
|
|
441
|
+
type: string
|
|
442
|
+
format: objectId
|
|
443
|
+
examples:
|
|
444
|
+
- 612345abcdef6789012345ab
|
|
445
|
+
responses:
|
|
446
|
+
'204':
|
|
447
|
+
description: Invitation accepted (or already accepted).
|
|
448
|
+
'401':
|
|
449
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
450
|
+
'404':
|
|
451
|
+
description: No share with this id is addressed to the caller.
|
|
452
|
+
content:
|
|
453
|
+
application/json:
|
|
454
|
+
schema:
|
|
455
|
+
$ref: '#/components/schemas/Error'
|
|
456
|
+
examples:
|
|
457
|
+
notShared:
|
|
458
|
+
value:
|
|
459
|
+
errors:
|
|
460
|
+
- code: invalid_ref
|
|
461
|
+
message: AShare not found.
|
|
462
|
+
/v1/ashares/{_id}/dismiss:
|
|
463
|
+
put:
|
|
464
|
+
x-internal: false
|
|
465
|
+
summary: Dismiss an account invitation
|
|
466
|
+
operationId: dismissAccountInvitation
|
|
467
|
+
tags:
|
|
468
|
+
- Users
|
|
469
|
+
description: |-
|
|
470
|
+
Declines an invitation to another user's account on behalf of the caller.
|
|
471
|
+
The `_id` is a share record addressed *to* the caller — take it from
|
|
472
|
+
`GET /v1/shared/ashares`. Pending invitations from the same owner's other
|
|
473
|
+
environments are dismissed with it, and the owner is notified by email;
|
|
474
|
+
they can send it again with `PUT /v1/ashares/{_id}/reinvite`. Dismissing
|
|
475
|
+
an invitation that is already dismissed changes nothing. To leave an
|
|
476
|
+
account whose invitation you accepted, use `DELETE /v1/shared/ashares/{_id}`.
|
|
477
|
+
x-celigo-ai-guidance:
|
|
478
|
+
- Recipient-side operation — the caller's own token declines the share. To remove a user from your account, use `DELETE /v1/ashares/{_id}` instead.
|
|
479
|
+
parameters:
|
|
480
|
+
- name: _id
|
|
481
|
+
in: path
|
|
482
|
+
required: true
|
|
483
|
+
description: Share record id from `GET /v1/shared/ashares`.
|
|
484
|
+
schema:
|
|
485
|
+
type: string
|
|
486
|
+
format: objectId
|
|
487
|
+
examples:
|
|
488
|
+
- 612345abcdef6789012345ab
|
|
489
|
+
responses:
|
|
490
|
+
'204':
|
|
491
|
+
description: Invitation dismissed (or already dismissed).
|
|
492
|
+
'401':
|
|
493
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
494
|
+
'404':
|
|
495
|
+
description: No share with this id is addressed to the caller.
|
|
496
|
+
content:
|
|
497
|
+
application/json:
|
|
498
|
+
schema:
|
|
499
|
+
$ref: '#/components/schemas/Error'
|
|
500
|
+
examples:
|
|
501
|
+
notShared:
|
|
502
|
+
value:
|
|
503
|
+
errors:
|
|
504
|
+
- code: invalid_ref
|
|
505
|
+
message: AShare not found.
|
|
421
506
|
/v1/invite/multiple:
|
|
422
507
|
post:
|
|
423
508
|
x-internal: false
|
|
@@ -525,21 +610,28 @@ components:
|
|
|
525
610
|
|
|
526
611
|
If per-integration level permissions are needed, omit `accessLevel` and instead populate `integrationAccessLevel`.
|
|
527
612
|
|
|
528
|
-
On update (`PUT /v1/ashares/{_id}`) the body replaces the access settings: `integrationAccessLevel
|
|
529
|
-
|
|
613
|
+
On update (`PUT /v1/ashares/{_id}`) the body replaces the access settings: `integrationAccessLevel`
|
|
614
|
+
and `accountMFARequired` are cleared when omitted, so resend them to keep them. `accountSSORequired`
|
|
615
|
+
is different — it changes only when the body carries it.
|
|
616
|
+
|
|
617
|
+
`none` is written by SCIM provisioning for a user who has no account-wide grant; do not send it
|
|
618
|
+
yourself — omit `accessLevel` and use `integrationAccessLevel` for integration-only access.
|
|
530
619
|
x-celigo-ai-guidance:
|
|
531
620
|
- Choose the `accessLevel` value based on what the user should be able to do across the account.
|
|
532
621
|
- |-
|
|
533
|
-
On PUT, "omit" means "clear" for integrationAccessLevel
|
|
534
|
-
|
|
622
|
+
On PUT, "omit" means "clear" for integrationAccessLevel and accountMFARequired — GET the
|
|
623
|
+
record first and resend both with the new accessLevel. accountSSORequired keeps its stored
|
|
624
|
+
value when omitted.
|
|
535
625
|
enum:
|
|
536
626
|
- monitor
|
|
537
627
|
- manage
|
|
538
628
|
- administrator
|
|
629
|
+
- none
|
|
539
630
|
x-enumDescriptions:
|
|
540
631
|
monitor: Grants access to view all integrations, run flows, and troubleshoot flow errors (retry/resolve) without modifying integrations, flows, steps, resources, account settings, or users
|
|
541
632
|
manage: Grants access to edit all integrations and resources and troubleshoot flow errors, but not to view or edit account settings or invite/manage users
|
|
542
633
|
administrator: Grants full account administration, including editing account settings, resources, and integrations; inviting/managing users; and troubleshooting flow errors, but does not grant owner-only actions such as transferring account ownership or managing owner permissions
|
|
634
|
+
none: No account-wide grant; recorded by SCIM provisioning for users whose access is defined entirely by integrationAccessLevel
|
|
543
635
|
integrationAccessLevel:
|
|
544
636
|
type: array
|
|
545
637
|
description: |-
|
|
@@ -574,10 +666,16 @@ components:
|
|
|
574
666
|
accountSSORequired:
|
|
575
667
|
type: boolean
|
|
576
668
|
description: |-
|
|
577
|
-
When true,
|
|
578
|
-
|
|
669
|
+
When true, the user must sign in through SSO to access this account. Written
|
|
670
|
+
only when present in the update body — omitting it on `PUT /v1/ashares/{_id}`
|
|
671
|
+
leaves the stored value unchanged. While the account enforces SSO for every
|
|
672
|
+
user, the value sent is ignored and the stored value is kept until that
|
|
673
|
+
enforcement is turned off.
|
|
674
|
+
examples:
|
|
675
|
+
- false
|
|
579
676
|
x-celigo-ai-guidance:
|
|
580
677
|
- Whether the invited user must use SSO to access this account.
|
|
678
|
+
- Send it only when you intend to change it; a PUT without it does not clear SSO enforcement for the user.
|
|
581
679
|
accountMFARequired:
|
|
582
680
|
type: boolean
|
|
583
681
|
description: |-
|
|
@@ -657,7 +755,6 @@ components:
|
|
|
657
755
|
type: object
|
|
658
756
|
required:
|
|
659
757
|
- _id
|
|
660
|
-
- sharedWithUser
|
|
661
758
|
- integrationAccessLevel
|
|
662
759
|
- createdAt
|
|
663
760
|
- lastModified
|
|
@@ -665,10 +762,12 @@ components:
|
|
|
665
762
|
A user's access record in the account. Each user who has been invited
|
|
666
763
|
(or shared access) gets one record per account they belong to. The
|
|
667
764
|
`_id` is the access-record id, not the user's own id — the user's
|
|
668
|
-
identity is in `sharedWithUser._id
|
|
669
|
-
|
|
765
|
+
identity is in `sharedWithUser._id` on list and invite responses, and
|
|
766
|
+
in `_sharedWithUserId` on `GET /v1/ashares/{_id}`. The account owner
|
|
767
|
+
does not appear in this list.
|
|
670
768
|
x-celigo-ai-guidance:
|
|
671
769
|
- Account user object representing a user's access to the account
|
|
770
|
+
- The list expands the user into `sharedWithUser`; the single-record GET returns only `_sharedWithUserId`. Read the list when you need the email or name.
|
|
672
771
|
allOf:
|
|
673
772
|
- $ref: '#/components/schemas/UserBase'
|
|
674
773
|
- type: object
|
|
@@ -681,6 +780,17 @@ components:
|
|
|
681
780
|
examples:
|
|
682
781
|
- 6798f4dc43db9184f4bc8ee0
|
|
683
782
|
description: Access-record id for this user in the account.
|
|
783
|
+
_sharedWithUserId:
|
|
784
|
+
type: string
|
|
785
|
+
format: objectId
|
|
786
|
+
readOnly: true
|
|
787
|
+
x-celigo-refModel: users
|
|
788
|
+
examples:
|
|
789
|
+
- 624774a6a7574d3ed9f9a5cc
|
|
790
|
+
description: |-
|
|
791
|
+
The user's own account id. Present on `GET /v1/ashares/{_id}`, which
|
|
792
|
+
returns the bare record; the list and invite responses expand it into
|
|
793
|
+
`sharedWithUser` instead.
|
|
684
794
|
accepted:
|
|
685
795
|
type: boolean
|
|
686
796
|
readOnly: true
|
|
@@ -747,7 +857,10 @@ components:
|
|
|
747
857
|
sharedWithUser:
|
|
748
858
|
type: object
|
|
749
859
|
readOnly: true
|
|
750
|
-
description:
|
|
860
|
+
description: |-
|
|
861
|
+
Identity details of the invited/shared user. Present on the list and
|
|
862
|
+
invite responses; `GET /v1/ashares/{_id}` returns `_sharedWithUserId`
|
|
863
|
+
in its place.
|
|
751
864
|
properties:
|
|
752
865
|
_id:
|
|
753
866
|
type: string
|