current-cli 0.1.16__tar.gz → 0.1.18__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.16 → current_cli-0.1.18}/PKG-INFO +1 -1
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/schema.yml +154 -5
- {current_cli-0.1.16 → current_cli-0.1.18}/llms.txt +32 -4
- {current_cli-0.1.16 → current_cli-0.1.18}/pyproject.toml +1 -1
- {current_cli-0.1.16 → current_cli-0.1.18}/.gitignore +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/README.md +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/__init__.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/build.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/config.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/docs.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/http.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/main.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/current_cli/schema.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/scripts/bump_version.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/tests/__init__.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/tests/conftest.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/tests/test_auth.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/tests/test_docs.py +0 -0
- {current_cli-0.1.16 → current_cli-0.1.18}/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:
|
|
@@ -2759,6 +2894,7 @@ components:
|
|
|
2759
2894
|
- boolean
|
|
2760
2895
|
- date
|
|
2761
2896
|
- url
|
|
2897
|
+
- contact
|
|
2762
2898
|
type: string
|
|
2763
2899
|
description: |-
|
|
2764
2900
|
* `text` - Text
|
|
@@ -2766,6 +2902,7 @@ components:
|
|
|
2766
2902
|
* `boolean` - Boolean
|
|
2767
2903
|
* `date` - Date
|
|
2768
2904
|
* `url` - URL
|
|
2905
|
+
* `contact` - Contact
|
|
2769
2906
|
DefinitionApplyRequest:
|
|
2770
2907
|
type: object
|
|
2771
2908
|
description: |-
|
|
@@ -2914,7 +3051,8 @@ components:
|
|
|
2914
3051
|
type: object
|
|
2915
3052
|
description: |-
|
|
2916
3053
|
Read-only view of a connection. Tokens are intentionally absent —
|
|
2917
|
-
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.
|
|
2918
3056
|
properties:
|
|
2919
3057
|
id:
|
|
2920
3058
|
type: string
|
|
@@ -2932,6 +3070,10 @@ components:
|
|
|
2932
3070
|
allOf:
|
|
2933
3071
|
- $ref: '#/components/schemas/IntegrationConnectionStatusEnum'
|
|
2934
3072
|
readOnly: true
|
|
3073
|
+
auth_mode:
|
|
3074
|
+
allOf:
|
|
3075
|
+
- $ref: '#/components/schemas/AuthModeEnum'
|
|
3076
|
+
readOnly: true
|
|
2935
3077
|
scopes:
|
|
2936
3078
|
type: string
|
|
2937
3079
|
readOnly: true
|
|
@@ -2949,6 +3091,7 @@ components:
|
|
|
2949
3091
|
format: date-time
|
|
2950
3092
|
readOnly: true
|
|
2951
3093
|
required:
|
|
3094
|
+
- auth_mode
|
|
2952
3095
|
- connected_by_email
|
|
2953
3096
|
- created_at
|
|
2954
3097
|
- external_account
|
|
@@ -3450,10 +3593,16 @@ components:
|
|
|
3450
3593
|
type: string
|
|
3451
3594
|
configured:
|
|
3452
3595
|
type: boolean
|
|
3596
|
+
supports_api_user:
|
|
3597
|
+
type: boolean
|
|
3598
|
+
supports_client_credentials:
|
|
3599
|
+
type: boolean
|
|
3453
3600
|
required:
|
|
3454
3601
|
- configured
|
|
3455
3602
|
- key
|
|
3456
3603
|
- label
|
|
3604
|
+
- supports_api_user
|
|
3605
|
+
- supports_client_credentials
|
|
3457
3606
|
QuickCapture:
|
|
3458
3607
|
type: object
|
|
3459
3608
|
description: |-
|
|
@@ -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
|