current-cli 0.1.17__tar.gz → 0.1.19__tar.gz
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.
- {current_cli-0.1.17 → current_cli-0.1.19}/PKG-INFO +1 -1
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/schema.yml +188 -5
- {current_cli-0.1.17 → current_cli-0.1.19}/llms.txt +32 -4
- {current_cli-0.1.17 → current_cli-0.1.19}/pyproject.toml +1 -1
- {current_cli-0.1.17 → current_cli-0.1.19}/.gitignore +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/README.md +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/__init__.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/build.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/config.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/docs.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/http.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/main.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/current_cli/schema.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/scripts/bump_version.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/__init__.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/conftest.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/test_auth.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/test_docs.py +0 -0
- {current_cli-0.1.17 → current_cli-0.1.19}/tests/test_requests.py +0 -0
|
@@ -379,8 +379,9 @@ paths:
|
|
|
379
379
|
get:
|
|
380
380
|
operationId: integrations_connections_list
|
|
381
381
|
description: |-
|
|
382
|
-
Workspace
|
|
383
|
-
|
|
382
|
+
Workspace integration connections. Created via the OAuth callback, or
|
|
383
|
+
via connect-api-user for providers that support credentials; any member
|
|
384
|
+
can list, only admins can connect or disconnect.
|
|
384
385
|
parameters:
|
|
385
386
|
- in: query
|
|
386
387
|
name: workspace
|
|
@@ -404,8 +405,9 @@ paths:
|
|
|
404
405
|
delete:
|
|
405
406
|
operationId: integrations_connections_destroy
|
|
406
407
|
description: |-
|
|
407
|
-
Workspace
|
|
408
|
-
|
|
408
|
+
Workspace integration connections. Created via the OAuth callback, or
|
|
409
|
+
via connect-api-user for providers that support credentials; any member
|
|
410
|
+
can list, only admins can connect or disconnect.
|
|
409
411
|
parameters:
|
|
410
412
|
- in: path
|
|
411
413
|
name: id
|
|
@@ -503,6 +505,70 @@ paths:
|
|
|
503
505
|
schema:
|
|
504
506
|
$ref: '#/components/schemas/AuthorizeResponse'
|
|
505
507
|
description: ''
|
|
508
|
+
/api/integrations/connections/connect-api-user/:
|
|
509
|
+
post:
|
|
510
|
+
operationId: integrations_connections_connect_api_user_create
|
|
511
|
+
description: |-
|
|
512
|
+
Connect Salesforce as an API-only user.
|
|
513
|
+
|
|
514
|
+
These users cannot reach an OAuth consent screen, so there is no
|
|
515
|
+
redirect to hand the browser: the credentials arrive here, and one
|
|
516
|
+
live login proves them before anything is stored.
|
|
517
|
+
tags:
|
|
518
|
+
- integrations
|
|
519
|
+
requestBody:
|
|
520
|
+
content:
|
|
521
|
+
application/json:
|
|
522
|
+
schema:
|
|
523
|
+
$ref: '#/components/schemas/ApiUserConnectRequestRequest'
|
|
524
|
+
application/x-www-form-urlencoded:
|
|
525
|
+
schema:
|
|
526
|
+
$ref: '#/components/schemas/ApiUserConnectRequestRequest'
|
|
527
|
+
multipart/form-data:
|
|
528
|
+
schema:
|
|
529
|
+
$ref: '#/components/schemas/ApiUserConnectRequestRequest'
|
|
530
|
+
required: true
|
|
531
|
+
security:
|
|
532
|
+
- tokenAuth: []
|
|
533
|
+
responses:
|
|
534
|
+
'200':
|
|
535
|
+
content:
|
|
536
|
+
application/json:
|
|
537
|
+
schema:
|
|
538
|
+
$ref: '#/components/schemas/IntegrationConnection'
|
|
539
|
+
description: ''
|
|
540
|
+
/api/integrations/connections/connect-client-credentials/:
|
|
541
|
+
post:
|
|
542
|
+
operationId: integrations_connections_connect_client_credentials_create
|
|
543
|
+
description: |-
|
|
544
|
+
Connect Salesforce with a connected app from the customer's org.
|
|
545
|
+
|
|
546
|
+
A server-to-server grant: the app names a Run As user, so there is no
|
|
547
|
+
consent screen and no user credential. The app is not ours and not
|
|
548
|
+
server-wide, so its client id and secret are stored per workspace.
|
|
549
|
+
tags:
|
|
550
|
+
- integrations
|
|
551
|
+
requestBody:
|
|
552
|
+
content:
|
|
553
|
+
application/json:
|
|
554
|
+
schema:
|
|
555
|
+
$ref: '#/components/schemas/ClientCredentialsConnectRequestRequest'
|
|
556
|
+
application/x-www-form-urlencoded:
|
|
557
|
+
schema:
|
|
558
|
+
$ref: '#/components/schemas/ClientCredentialsConnectRequestRequest'
|
|
559
|
+
multipart/form-data:
|
|
560
|
+
schema:
|
|
561
|
+
$ref: '#/components/schemas/ClientCredentialsConnectRequestRequest'
|
|
562
|
+
required: true
|
|
563
|
+
security:
|
|
564
|
+
- tokenAuth: []
|
|
565
|
+
responses:
|
|
566
|
+
'200':
|
|
567
|
+
content:
|
|
568
|
+
application/json:
|
|
569
|
+
schema:
|
|
570
|
+
$ref: '#/components/schemas/IntegrationConnection'
|
|
571
|
+
description: ''
|
|
506
572
|
/api/integrations/connections/providers/:
|
|
507
573
|
get:
|
|
508
574
|
operationId: integrations_connections_providers_list
|
|
@@ -2545,6 +2611,39 @@ components:
|
|
|
2545
2611
|
- role
|
|
2546
2612
|
- workspace_id
|
|
2547
2613
|
- workspace_name
|
|
2614
|
+
ApiUserConnectRequestRequest:
|
|
2615
|
+
type: object
|
|
2616
|
+
description: |-
|
|
2617
|
+
Credentials for a Salesforce user that holds the API Only User
|
|
2618
|
+
permission. The secrets are write-only: they go into the connection and
|
|
2619
|
+
are never read back out.
|
|
2620
|
+
properties:
|
|
2621
|
+
workspace:
|
|
2622
|
+
type: string
|
|
2623
|
+
format: uuid
|
|
2624
|
+
username:
|
|
2625
|
+
type: string
|
|
2626
|
+
writeOnly: true
|
|
2627
|
+
minLength: 1
|
|
2628
|
+
password:
|
|
2629
|
+
type: string
|
|
2630
|
+
writeOnly: true
|
|
2631
|
+
minLength: 1
|
|
2632
|
+
security_token:
|
|
2633
|
+
type: string
|
|
2634
|
+
writeOnly: true
|
|
2635
|
+
default: ''
|
|
2636
|
+
login_host:
|
|
2637
|
+
oneOf:
|
|
2638
|
+
- type: string
|
|
2639
|
+
format: uri
|
|
2640
|
+
default: ''
|
|
2641
|
+
- type: string
|
|
2642
|
+
maxLength: 0
|
|
2643
|
+
required:
|
|
2644
|
+
- password
|
|
2645
|
+
- username
|
|
2646
|
+
- workspace
|
|
2548
2647
|
ApprovalDecideRequestRequest:
|
|
2549
2648
|
type: object
|
|
2550
2649
|
properties:
|
|
@@ -2582,6 +2681,16 @@ components:
|
|
|
2582
2681
|
- decision_state
|
|
2583
2682
|
- proposal
|
|
2584
2683
|
- workflow
|
|
2684
|
+
AuthModeEnum:
|
|
2685
|
+
enum:
|
|
2686
|
+
- oauth
|
|
2687
|
+
- soap_login
|
|
2688
|
+
- client_credentials
|
|
2689
|
+
type: string
|
|
2690
|
+
description: |-
|
|
2691
|
+
* `oauth` - OAuth
|
|
2692
|
+
* `soap_login` - SOAP login
|
|
2693
|
+
* `client_credentials` - Client credentials
|
|
2585
2694
|
AuthorizeRequestRequest:
|
|
2586
2695
|
type: object
|
|
2587
2696
|
properties:
|
|
@@ -2601,6 +2710,32 @@ components:
|
|
|
2601
2710
|
format: uri
|
|
2602
2711
|
required:
|
|
2603
2712
|
- authorize_url
|
|
2713
|
+
ClientCredentialsConnectRequestRequest:
|
|
2714
|
+
type: object
|
|
2715
|
+
description: |-
|
|
2716
|
+
Credentials for a connected app that lives in the customer's own
|
|
2717
|
+
Salesforce org. The app is per-workspace, so unlike the OAuth flow both
|
|
2718
|
+
halves arrive here rather than coming from this server's settings. The
|
|
2719
|
+
secret is write-only: it goes into the connection and is never read back.
|
|
2720
|
+
properties:
|
|
2721
|
+
workspace:
|
|
2722
|
+
type: string
|
|
2723
|
+
format: uuid
|
|
2724
|
+
login_host:
|
|
2725
|
+
type: string
|
|
2726
|
+
minLength: 1
|
|
2727
|
+
client_id:
|
|
2728
|
+
type: string
|
|
2729
|
+
minLength: 1
|
|
2730
|
+
client_secret:
|
|
2731
|
+
type: string
|
|
2732
|
+
writeOnly: true
|
|
2733
|
+
minLength: 1
|
|
2734
|
+
required:
|
|
2735
|
+
- client_id
|
|
2736
|
+
- client_secret
|
|
2737
|
+
- login_host
|
|
2738
|
+
- workspace
|
|
2604
2739
|
Contact:
|
|
2605
2740
|
type: object
|
|
2606
2741
|
properties:
|
|
@@ -2916,7 +3051,8 @@ components:
|
|
|
2916
3051
|
type: object
|
|
2917
3052
|
description: |-
|
|
2918
3053
|
Read-only view of a connection. Tokens are intentionally absent —
|
|
2919
|
-
connections are created
|
|
3054
|
+
connections are created via the OAuth callback or, for integration users
|
|
3055
|
+
that cannot reach a consent screen, one of the credential endpoints.
|
|
2920
3056
|
properties:
|
|
2921
3057
|
id:
|
|
2922
3058
|
type: string
|
|
@@ -2934,6 +3070,10 @@ components:
|
|
|
2934
3070
|
allOf:
|
|
2935
3071
|
- $ref: '#/components/schemas/IntegrationConnectionStatusEnum'
|
|
2936
3072
|
readOnly: true
|
|
3073
|
+
auth_mode:
|
|
3074
|
+
allOf:
|
|
3075
|
+
- $ref: '#/components/schemas/AuthModeEnum'
|
|
3076
|
+
readOnly: true
|
|
2937
3077
|
scopes:
|
|
2938
3078
|
type: string
|
|
2939
3079
|
readOnly: true
|
|
@@ -2951,6 +3091,7 @@ components:
|
|
|
2951
3091
|
format: date-time
|
|
2952
3092
|
readOnly: true
|
|
2953
3093
|
required:
|
|
3094
|
+
- auth_mode
|
|
2954
3095
|
- connected_by_email
|
|
2955
3096
|
- created_at
|
|
2956
3097
|
- external_account
|
|
@@ -3311,6 +3452,10 @@ components:
|
|
|
3311
3452
|
type: string
|
|
3312
3453
|
minLength: 1
|
|
3313
3454
|
maxLength: 255
|
|
3455
|
+
timezone:
|
|
3456
|
+
type: string
|
|
3457
|
+
minLength: 1
|
|
3458
|
+
maxLength: 64
|
|
3314
3459
|
Project:
|
|
3315
3460
|
type: object
|
|
3316
3461
|
properties:
|
|
@@ -3452,10 +3597,16 @@ components:
|
|
|
3452
3597
|
type: string
|
|
3453
3598
|
configured:
|
|
3454
3599
|
type: boolean
|
|
3600
|
+
supports_api_user:
|
|
3601
|
+
type: boolean
|
|
3602
|
+
supports_client_credentials:
|
|
3603
|
+
type: boolean
|
|
3455
3604
|
required:
|
|
3456
3605
|
- configured
|
|
3457
3606
|
- key
|
|
3458
3607
|
- label
|
|
3608
|
+
- supports_api_user
|
|
3609
|
+
- supports_client_credentials
|
|
3459
3610
|
QuickCapture:
|
|
3460
3611
|
type: object
|
|
3461
3612
|
description: |-
|
|
@@ -3639,6 +3790,26 @@ components:
|
|
|
3639
3790
|
- gate_step_id
|
|
3640
3791
|
- proposal_record_id
|
|
3641
3792
|
- state
|
|
3793
|
+
RunClock:
|
|
3794
|
+
type: object
|
|
3795
|
+
description: The current time, told to a run that cannot read a clock.
|
|
3796
|
+
properties:
|
|
3797
|
+
now:
|
|
3798
|
+
type: string
|
|
3799
|
+
format: date-time
|
|
3800
|
+
timezone:
|
|
3801
|
+
type: string
|
|
3802
|
+
local_now:
|
|
3803
|
+
type: string
|
|
3804
|
+
format: date-time
|
|
3805
|
+
today:
|
|
3806
|
+
type: string
|
|
3807
|
+
format: date
|
|
3808
|
+
required:
|
|
3809
|
+
- local_now
|
|
3810
|
+
- now
|
|
3811
|
+
- timezone
|
|
3812
|
+
- today
|
|
3642
3813
|
RunDefinition:
|
|
3643
3814
|
type: object
|
|
3644
3815
|
description: Response of the machine definition endpoint.
|
|
@@ -3664,9 +3835,12 @@ components:
|
|
|
3664
3835
|
$ref: '#/components/schemas/RunApproval'
|
|
3665
3836
|
trigger:
|
|
3666
3837
|
nullable: true
|
|
3838
|
+
clock:
|
|
3839
|
+
$ref: '#/components/schemas/RunClock'
|
|
3667
3840
|
workflow_config: {}
|
|
3668
3841
|
required:
|
|
3669
3842
|
- approvals
|
|
3843
|
+
- clock
|
|
3670
3844
|
- definition
|
|
3671
3845
|
- project
|
|
3672
3846
|
- run_id
|
|
@@ -3920,6 +4094,7 @@ components:
|
|
|
3920
4094
|
- schedule
|
|
3921
4095
|
- project_created
|
|
3922
4096
|
- project_status_changed
|
|
4097
|
+
- project_field
|
|
3923
4098
|
- slack_message
|
|
3924
4099
|
- teams_message
|
|
3925
4100
|
- email_received
|
|
@@ -3929,6 +4104,7 @@ components:
|
|
|
3929
4104
|
* `schedule` - Schedule
|
|
3930
4105
|
* `project_created` - Project created
|
|
3931
4106
|
* `project_status_changed` - Project status changed
|
|
4107
|
+
* `project_field` - Project field
|
|
3932
4108
|
* `slack_message` - Slack message
|
|
3933
4109
|
* `teams_message` - Teams message
|
|
3934
4110
|
* `email_received` - Email received
|
|
@@ -4441,6 +4617,9 @@ components:
|
|
|
4441
4617
|
type: string
|
|
4442
4618
|
format: date-time
|
|
4443
4619
|
readOnly: true
|
|
4620
|
+
timezone:
|
|
4621
|
+
type: string
|
|
4622
|
+
maxLength: 64
|
|
4444
4623
|
required:
|
|
4445
4624
|
- created_at
|
|
4446
4625
|
- id
|
|
@@ -4566,6 +4745,10 @@ components:
|
|
|
4566
4745
|
type: string
|
|
4567
4746
|
minLength: 1
|
|
4568
4747
|
maxLength: 255
|
|
4748
|
+
timezone:
|
|
4749
|
+
type: string
|
|
4750
|
+
minLength: 1
|
|
4751
|
+
maxLength: 64
|
|
4569
4752
|
required:
|
|
4570
4753
|
- name
|
|
4571
4754
|
securitySchemes:
|
|
@@ -173,17 +173,45 @@ List public Slack channels — verifies a Slack connection works.
|
|
|
173
173
|
|
|
174
174
|
GET /api/integrations/connections/{id}/channels/
|
|
175
175
|
|
|
176
|
+
### current integrations connections connect-api-user create
|
|
177
|
+
|
|
178
|
+
Connect Salesforce as an API-only user.
|
|
179
|
+
|
|
180
|
+
These users cannot reach an OAuth consent screen, so there is no
|
|
181
|
+
redirect to hand the browser: the credentials arrive here, and one
|
|
182
|
+
live login proves them before anything is stored.
|
|
183
|
+
|
|
184
|
+
POST /api/integrations/connections/connect-api-user/
|
|
185
|
+
|
|
186
|
+
Options:
|
|
187
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
188
|
+
|
|
189
|
+
### current integrations connections connect-client-credentials create
|
|
190
|
+
|
|
191
|
+
Connect Salesforce with a connected app from the customer's org.
|
|
192
|
+
|
|
193
|
+
A server-to-server grant: the app names a Run As user, so there is no
|
|
194
|
+
consent screen and no user credential. The app is not ours and not
|
|
195
|
+
server-wide, so its client id and secret are stored per workspace.
|
|
196
|
+
|
|
197
|
+
POST /api/integrations/connections/connect-client-credentials/
|
|
198
|
+
|
|
199
|
+
Options:
|
|
200
|
+
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
201
|
+
|
|
176
202
|
### current integrations connections destroy <id>
|
|
177
203
|
|
|
178
|
-
Workspace
|
|
179
|
-
|
|
204
|
+
Workspace integration connections. Created via the OAuth callback, or
|
|
205
|
+
via connect-api-user for providers that support credentials; any member
|
|
206
|
+
can list, only admins can connect or disconnect.
|
|
180
207
|
|
|
181
208
|
DELETE /api/integrations/connections/{id}/
|
|
182
209
|
|
|
183
210
|
### current integrations connections list
|
|
184
211
|
|
|
185
|
-
Workspace
|
|
186
|
-
|
|
212
|
+
Workspace integration connections. Created via the OAuth callback, or
|
|
213
|
+
via connect-api-user for providers that support credentials; any member
|
|
214
|
+
can list, only admins can connect or disconnect.
|
|
187
215
|
|
|
188
216
|
GET /api/integrations/connections/
|
|
189
217
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|