current-cli 0.1.70__tar.gz → 0.1.72__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: current-cli
3
- Version: 0.1.70
3
+ Version: 0.1.72
4
4
  Summary: Command line interface for the Current API, generated from its OpenAPI schema at runtime
5
5
  Author-email: Orin <your-email@example.com>
6
6
  License-Expression: MIT
@@ -1846,6 +1846,50 @@ paths:
1846
1846
  schema:
1847
1847
  $ref: '#/components/schemas/ErrorDetail'
1848
1848
  description: ''
1849
+ /api/integrations/teams/feedback/:
1850
+ get:
1851
+ operationId: integrations_teams_feedback_list
1852
+ description: Read native feedback on Current replies in administered workspaces.
1853
+ parameters:
1854
+ - name: limit
1855
+ required: false
1856
+ in: query
1857
+ description: Number of results to return per page.
1858
+ schema:
1859
+ type: integer
1860
+ - name: offset
1861
+ required: false
1862
+ in: query
1863
+ description: The initial index from which to return the results.
1864
+ schema:
1865
+ type: integer
1866
+ - in: query
1867
+ name: reaction
1868
+ schema:
1869
+ type: string
1870
+ description: Native Teams reaction type
1871
+ - in: query
1872
+ name: reply
1873
+ schema:
1874
+ type: string
1875
+ description: Reply observation UUID
1876
+ - in: query
1877
+ name: workspace
1878
+ schema:
1879
+ type: string
1880
+ description: Filter by workspace UUID
1881
+ tags:
1882
+ - integrations
1883
+ security:
1884
+ - MessagingJobTokenAuth: []
1885
+ - tokenAuth: []
1886
+ responses:
1887
+ '200':
1888
+ content:
1889
+ application/json:
1890
+ schema:
1891
+ $ref: '#/components/schemas/PaginatedTeamsFeedbackList'
1892
+ description: ''
1849
1893
  /api/observations/observations/:
1850
1894
  get:
1851
1895
  operationId: observations_observations_list
@@ -5562,6 +5606,24 @@ paths:
5562
5606
  get:
5563
5607
  operationId: workspaces_models_list
5564
5608
  description: Discover and read models belonging to the caller's workspace.
5609
+ parameters:
5610
+ - in: query
5611
+ name: interaction
5612
+ schema:
5613
+ type: boolean
5614
+ description: For messaging tokens, restrict discovery to preloaded models.
5615
+ - in: query
5616
+ name: rolled_out
5617
+ schema:
5618
+ type: boolean
5619
+ description: Only models with a binding while rollout is enabled. Always enforced
5620
+ for members.
5621
+ - in: query
5622
+ name: workspace
5623
+ schema:
5624
+ type: string
5625
+ format: uuid
5626
+ description: Filter to one readable workspace.
5565
5627
  tags:
5566
5628
  - workspaces
5567
5629
  security:
@@ -5588,6 +5650,18 @@ paths:
5588
5650
  format: uuid
5589
5651
  description: A UUID string identifying this workspace model.
5590
5652
  required: true
5653
+ - in: query
5654
+ name: rolled_out
5655
+ schema:
5656
+ type: boolean
5657
+ description: Only models with a binding while rollout is enabled. Always enforced
5658
+ for members.
5659
+ - in: query
5660
+ name: workspace
5661
+ schema:
5662
+ type: string
5663
+ format: uuid
5664
+ description: Filter to one readable workspace.
5591
5665
  tags:
5592
5666
  - workspaces
5593
5667
  security:
@@ -5598,7 +5672,7 @@ paths:
5598
5672
  content:
5599
5673
  application/json:
5600
5674
  schema:
5601
- $ref: '#/components/schemas/WorkspaceModel'
5675
+ $ref: '#/components/schemas/WorkspaceModelDetail'
5602
5676
  description: ''
5603
5677
  /api/workspaces/models/{id}/records/:
5604
5678
  get:
@@ -5612,6 +5686,28 @@ paths:
5612
5686
  format: uuid
5613
5687
  description: A UUID string identifying this workspace model.
5614
5688
  required: true
5689
+ - in: query
5690
+ name: key
5691
+ schema:
5692
+ type: string
5693
+ description: Exact record key.
5694
+ - in: query
5695
+ name: offset
5696
+ schema:
5697
+ type: integer
5698
+ description: Record offset. Pages contain at most 100 records.
5699
+ - in: query
5700
+ name: rolled_out
5701
+ schema:
5702
+ type: boolean
5703
+ description: Only models with a binding while rollout is enabled. Always enforced
5704
+ for members.
5705
+ - in: query
5706
+ name: workspace
5707
+ schema:
5708
+ type: string
5709
+ format: uuid
5710
+ description: Filter to one readable workspace.
5615
5711
  tags:
5616
5712
  - workspaces
5617
5713
  security:
@@ -5622,7 +5718,7 @@ paths:
5622
5718
  content:
5623
5719
  application/json:
5624
5720
  schema:
5625
- $ref: '#/components/schemas/WorkspaceModel'
5721
+ $ref: '#/components/schemas/WorkspaceModelRecords'
5626
5722
  description: ''
5627
5723
  /api/workspaces/models/{id}/snapshot/:
5628
5724
  get:
@@ -5636,6 +5732,18 @@ paths:
5636
5732
  format: uuid
5637
5733
  description: A UUID string identifying this workspace model.
5638
5734
  required: true
5735
+ - in: query
5736
+ name: rolled_out
5737
+ schema:
5738
+ type: boolean
5739
+ description: Only models with a binding while rollout is enabled. Always enforced
5740
+ for members.
5741
+ - in: query
5742
+ name: workspace
5743
+ schema:
5744
+ type: string
5745
+ format: uuid
5746
+ description: Filter to one readable workspace.
5639
5747
  tags:
5640
5748
  - workspaces
5641
5749
  security:
@@ -5646,7 +5754,7 @@ paths:
5646
5754
  content:
5647
5755
  application/json:
5648
5756
  schema:
5649
- $ref: '#/components/schemas/WorkspaceModel'
5757
+ $ref: '#/components/schemas/WorkspaceModelSnapshot'
5650
5758
  description: ''
5651
5759
  /api/workspaces/workspaces/:
5652
5760
  get:
@@ -8898,6 +9006,29 @@ components:
8898
9006
  type: array
8899
9007
  items:
8900
9008
  $ref: '#/components/schemas/Supplier'
9009
+ PaginatedTeamsFeedbackList:
9010
+ type: object
9011
+ required:
9012
+ - count
9013
+ - results
9014
+ properties:
9015
+ count:
9016
+ type: integer
9017
+ example: 123
9018
+ next:
9019
+ type: string
9020
+ nullable: true
9021
+ format: uri
9022
+ example: http://api.example.org/accounts/?offset=400&limit=100
9023
+ previous:
9024
+ type: string
9025
+ nullable: true
9026
+ format: uri
9027
+ example: http://api.example.org/accounts/?offset=200&limit=100
9028
+ results:
9029
+ type: array
9030
+ items:
9031
+ $ref: '#/components/schemas/TeamsFeedback'
8901
9032
  PatchedContactRequest:
8902
9033
  type: object
8903
9034
  properties:
@@ -10538,6 +10669,72 @@ components:
10538
10669
  required:
10539
10670
  - id
10540
10671
  - name
10672
+ TeamsFeedback:
10673
+ type: object
10674
+ properties:
10675
+ id:
10676
+ type: string
10677
+ format: uuid
10678
+ readOnly: true
10679
+ workspace:
10680
+ type: string
10681
+ format: uuid
10682
+ readOnly: true
10683
+ reply:
10684
+ type: string
10685
+ format: uuid
10686
+ readOnly: true
10687
+ reply_text:
10688
+ type: string
10689
+ readOnly: true
10690
+ conversation_id:
10691
+ type: string
10692
+ readOnly: true
10693
+ message_id:
10694
+ type: string
10695
+ readOnly: true
10696
+ actor_id:
10697
+ type: string
10698
+ readOnly: true
10699
+ actor_name:
10700
+ type: string
10701
+ readOnly: true
10702
+ reaction:
10703
+ type: string
10704
+ readOnly: true
10705
+ action:
10706
+ allOf:
10707
+ - $ref: '#/components/schemas/TeamsFeedbackActionEnum'
10708
+ readOnly: true
10709
+ occurred_at:
10710
+ type: string
10711
+ format: date-time
10712
+ readOnly: true
10713
+ created_at:
10714
+ type: string
10715
+ format: date-time
10716
+ readOnly: true
10717
+ required:
10718
+ - action
10719
+ - actor_id
10720
+ - actor_name
10721
+ - conversation_id
10722
+ - created_at
10723
+ - id
10724
+ - message_id
10725
+ - occurred_at
10726
+ - reaction
10727
+ - reply
10728
+ - reply_text
10729
+ - workspace
10730
+ TeamsFeedbackActionEnum:
10731
+ enum:
10732
+ - added
10733
+ - removed
10734
+ type: string
10735
+ description: |-
10736
+ * `added` - Added
10737
+ * `removed` - Removed
10541
10738
  ToolCall:
10542
10739
  type: object
10543
10740
  properties:
@@ -10971,6 +11168,20 @@ components:
10971
11168
  - first_name
10972
11169
  - id
10973
11170
  - last_name
11171
+ ValueTypeEnum:
11172
+ enum:
11173
+ - text
11174
+ - decimal
11175
+ - boolean
11176
+ - date
11177
+ - json
11178
+ type: string
11179
+ description: |-
11180
+ * `text` - Text
11181
+ * `decimal` - Decimal
11182
+ * `boolean` - Boolean
11183
+ * `date` - Date
11184
+ * `json` - JSON
10974
11185
  Vendor:
10975
11186
  type: object
10976
11187
  properties:
@@ -11720,14 +11931,154 @@ components:
11720
11931
  preloaded:
11721
11932
  type: boolean
11722
11933
  readOnly: true
11934
+ bindings:
11935
+ type: array
11936
+ items:
11937
+ $ref: '#/components/schemas/WorkspaceModelBinding'
11938
+ rollout_enabled:
11939
+ type: boolean
11940
+ required:
11941
+ - description
11942
+ - id
11943
+ - key
11944
+ - label
11945
+ - preloaded
11946
+ - revision
11947
+ - workspace
11948
+ WorkspaceModelBinding:
11949
+ type: object
11950
+ properties:
11951
+ consumer:
11952
+ type: string
11953
+ role:
11954
+ type: string
11955
+ preload:
11956
+ type: boolean
11957
+ required:
11958
+ - consumer
11959
+ - preload
11960
+ - role
11961
+ WorkspaceModelDetail:
11962
+ type: object
11963
+ properties:
11964
+ id:
11965
+ type: string
11966
+ format: uuid
11967
+ readOnly: true
11968
+ workspace:
11969
+ type: string
11970
+ format: uuid
11971
+ readOnly: true
11972
+ key:
11973
+ type: string
11974
+ readOnly: true
11975
+ pattern: ^[-a-zA-Z0-9_]+$
11976
+ label:
11977
+ type: string
11978
+ readOnly: true
11979
+ description:
11980
+ type: string
11981
+ readOnly: true
11982
+ revision:
11983
+ type: string
11984
+ format: uuid
11985
+ readOnly: true
11986
+ preloaded:
11987
+ type: boolean
11988
+ readOnly: true
11989
+ bindings:
11990
+ type: array
11991
+ items:
11992
+ $ref: '#/components/schemas/WorkspaceModelBinding'
11993
+ rollout_enabled:
11994
+ type: boolean
11995
+ fields:
11996
+ type: array
11997
+ items:
11998
+ $ref: '#/components/schemas/WorkspaceModelField'
11999
+ readOnly: true
11723
12000
  required:
11724
12001
  - description
12002
+ - fields
11725
12003
  - id
11726
12004
  - key
11727
12005
  - label
11728
12006
  - preloaded
11729
12007
  - revision
11730
12008
  - workspace
12009
+ WorkspaceModelField:
12010
+ type: object
12011
+ properties:
12012
+ key:
12013
+ type: string
12014
+ label:
12015
+ type: string
12016
+ value_type:
12017
+ $ref: '#/components/schemas/ValueTypeEnum'
12018
+ required:
12019
+ type: boolean
12020
+ required:
12021
+ - key
12022
+ - label
12023
+ - required
12024
+ - value_type
12025
+ WorkspaceModelRecord:
12026
+ type: object
12027
+ properties:
12028
+ key:
12029
+ type: string
12030
+ values:
12031
+ type: object
12032
+ additionalProperties: {}
12033
+ required:
12034
+ - key
12035
+ - values
12036
+ WorkspaceModelRecords:
12037
+ type: object
12038
+ properties:
12039
+ model:
12040
+ type: string
12041
+ revision:
12042
+ type: string
12043
+ format: uuid
12044
+ total:
12045
+ type: integer
12046
+ minimum: 0
12047
+ next_offset:
12048
+ type: integer
12049
+ minimum: 0
12050
+ nullable: true
12051
+ records:
12052
+ type: array
12053
+ items:
12054
+ $ref: '#/components/schemas/WorkspaceModelRecord'
12055
+ required:
12056
+ - model
12057
+ - next_offset
12058
+ - records
12059
+ - revision
12060
+ - total
12061
+ WorkspaceModelSnapshot:
12062
+ type: object
12063
+ properties:
12064
+ model:
12065
+ type: string
12066
+ revision:
12067
+ type: string
12068
+ format: uuid
12069
+ fields:
12070
+ type: array
12071
+ items:
12072
+ $ref: '#/components/schemas/WorkspaceModelField'
12073
+ records:
12074
+ type: array
12075
+ items:
12076
+ $ref: '#/components/schemas/WorkspaceModelRecord'
12077
+ required:
12078
+ - fields
12079
+ - model
12080
+ - records
12081
+ - revision
11731
12082
  WorkspaceRef:
11732
12083
  type: object
11733
12084
  properties:
@@ -659,6 +659,19 @@ GET /api/integrations/teams/app-package/
659
659
  Options:
660
660
  - `--workspace` - Workspace UUID; the caller must be an admin of it.
661
661
 
662
+ ### current integrations teams feedback list
663
+
664
+ Read native feedback on Current replies in administered workspaces.
665
+
666
+ GET /api/integrations/teams/feedback/
667
+
668
+ Options:
669
+ - `--limit` - Number of results to return per page.
670
+ - `--offset` - The initial index from which to return the results.
671
+ - `--reaction` - Native Teams reaction type
672
+ - `--reply` - Reply observation UUID
673
+ - `--workspace` - Filter by workspace UUID
674
+
662
675
  ### current login <email>
663
676
 
664
677
  Sign in with a magic link (and an authenticator code when the account
@@ -1804,24 +1817,43 @@ Discover and read models belonging to the caller's workspace.
1804
1817
 
1805
1818
  GET /api/workspaces/models/
1806
1819
 
1820
+ Options:
1821
+ - `--interaction` - For messaging tokens, restrict discovery to preloaded models.
1822
+ - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1823
+ - `--workspace` - Filter to one readable workspace.
1824
+
1807
1825
  ### current workspaces models records retrieve <id>
1808
1826
 
1809
1827
  Discover and read models belonging to the caller's workspace.
1810
1828
 
1811
1829
  GET /api/workspaces/models/{id}/records/
1812
1830
 
1831
+ Options:
1832
+ - `--key` - Exact record key.
1833
+ - `--offset` - Record offset. Pages contain at most 100 records.
1834
+ - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1835
+ - `--workspace` - Filter to one readable workspace.
1836
+
1813
1837
  ### current workspaces models retrieve <id>
1814
1838
 
1815
1839
  Discover and read models belonging to the caller's workspace.
1816
1840
 
1817
1841
  GET /api/workspaces/models/{id}/
1818
1842
 
1843
+ Options:
1844
+ - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1845
+ - `--workspace` - Filter to one readable workspace.
1846
+
1819
1847
  ### current workspaces models snapshot retrieve <id>
1820
1848
 
1821
1849
  Discover and read models belonging to the caller's workspace.
1822
1850
 
1823
1851
  GET /api/workspaces/models/{id}/snapshot/
1824
1852
 
1853
+ Options:
1854
+ - `--rolled-out` - Only models with a binding while rollout is enabled. Always enforced for members.
1855
+ - `--workspace` - Filter to one readable workspace.
1856
+
1825
1857
  ### current workspaces partial-update <id>
1826
1858
 
1827
1859
  Workspaces the current user belongs to. Creating one makes you its admin.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "current-cli"
3
- version = "0.1.70"
3
+ version = "0.1.72"
4
4
  description = "Command line interface for the Current API, generated from its OpenAPI schema at runtime"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
File without changes
File without changes