current-cli 0.1.73__tar.gz → 0.1.75__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.73 → current_cli-0.1.75}/PKG-INFO +1 -1
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/schema.yml +564 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/llms.txt +74 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/pyproject.toml +1 -1
- {current_cli-0.1.73 → current_cli-0.1.75}/.gitignore +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/README.md +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/__init__.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/build.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/config.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/docs.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/http.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/main.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/current_cli/schema.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/scripts/bump_version.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/__init__.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/conftest.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/test_auth.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/test_bump_version.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/test_command_tree.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/test_docs.py +0 -0
- {current_cli-0.1.73 → current_cli-0.1.75}/tests/test_requests.py +0 -0
|
@@ -6164,6 +6164,313 @@ paths:
|
|
|
6164
6164
|
responses:
|
|
6165
6165
|
'204':
|
|
6166
6166
|
description: No response body
|
|
6167
|
+
/api/workspaces/workspaces/{workspace_id}/usage/:
|
|
6168
|
+
get:
|
|
6169
|
+
operationId: workspaces_workspaces_usage_retrieve
|
|
6170
|
+
parameters:
|
|
6171
|
+
- in: query
|
|
6172
|
+
name: end
|
|
6173
|
+
schema:
|
|
6174
|
+
type: string
|
|
6175
|
+
format: date
|
|
6176
|
+
- in: query
|
|
6177
|
+
name: period
|
|
6178
|
+
schema:
|
|
6179
|
+
enum:
|
|
6180
|
+
- all
|
|
6181
|
+
- week
|
|
6182
|
+
- 4w
|
|
6183
|
+
- 12w
|
|
6184
|
+
- custom
|
|
6185
|
+
type: string
|
|
6186
|
+
default: all
|
|
6187
|
+
minLength: 1
|
|
6188
|
+
description: |-
|
|
6189
|
+
* `all` - all
|
|
6190
|
+
* `week` - week
|
|
6191
|
+
* `4w` - 4w
|
|
6192
|
+
* `12w` - 12w
|
|
6193
|
+
* `custom` - custom
|
|
6194
|
+
- in: query
|
|
6195
|
+
name: population
|
|
6196
|
+
schema:
|
|
6197
|
+
enum:
|
|
6198
|
+
- customer
|
|
6199
|
+
- staff
|
|
6200
|
+
type: string
|
|
6201
|
+
default: customer
|
|
6202
|
+
minLength: 1
|
|
6203
|
+
description: |-
|
|
6204
|
+
* `customer` - customer
|
|
6205
|
+
* `staff` - staff
|
|
6206
|
+
- in: query
|
|
6207
|
+
name: start
|
|
6208
|
+
schema:
|
|
6209
|
+
type: string
|
|
6210
|
+
format: date
|
|
6211
|
+
- in: path
|
|
6212
|
+
name: workspace_id
|
|
6213
|
+
schema:
|
|
6214
|
+
type: string
|
|
6215
|
+
format: uuid
|
|
6216
|
+
required: true
|
|
6217
|
+
tags:
|
|
6218
|
+
- workspaces
|
|
6219
|
+
security:
|
|
6220
|
+
- MessagingJobTokenAuth: []
|
|
6221
|
+
- tokenAuth: []
|
|
6222
|
+
responses:
|
|
6223
|
+
'200':
|
|
6224
|
+
content:
|
|
6225
|
+
application/json:
|
|
6226
|
+
schema:
|
|
6227
|
+
$ref: '#/components/schemas/Usage'
|
|
6228
|
+
description: ''
|
|
6229
|
+
/api/workspaces/workspaces/{workspace_id}/usage/people/:
|
|
6230
|
+
get:
|
|
6231
|
+
operationId: workspaces_workspaces_usage_people_retrieve
|
|
6232
|
+
parameters:
|
|
6233
|
+
- in: query
|
|
6234
|
+
name: direction
|
|
6235
|
+
schema:
|
|
6236
|
+
enum:
|
|
6237
|
+
- asc
|
|
6238
|
+
- desc
|
|
6239
|
+
type: string
|
|
6240
|
+
default: desc
|
|
6241
|
+
minLength: 1
|
|
6242
|
+
description: |-
|
|
6243
|
+
* `asc` - asc
|
|
6244
|
+
* `desc` - desc
|
|
6245
|
+
- in: query
|
|
6246
|
+
name: end
|
|
6247
|
+
schema:
|
|
6248
|
+
type: string
|
|
6249
|
+
format: date
|
|
6250
|
+
- in: query
|
|
6251
|
+
name: mode
|
|
6252
|
+
schema:
|
|
6253
|
+
enum:
|
|
6254
|
+
- totals
|
|
6255
|
+
- weekly
|
|
6256
|
+
type: string
|
|
6257
|
+
default: totals
|
|
6258
|
+
minLength: 1
|
|
6259
|
+
description: |-
|
|
6260
|
+
* `totals` - totals
|
|
6261
|
+
* `weekly` - weekly
|
|
6262
|
+
- in: query
|
|
6263
|
+
name: page
|
|
6264
|
+
schema:
|
|
6265
|
+
type: integer
|
|
6266
|
+
minimum: 1
|
|
6267
|
+
default: 1
|
|
6268
|
+
- in: query
|
|
6269
|
+
name: period
|
|
6270
|
+
schema:
|
|
6271
|
+
enum:
|
|
6272
|
+
- all
|
|
6273
|
+
- week
|
|
6274
|
+
- 4w
|
|
6275
|
+
- 12w
|
|
6276
|
+
- custom
|
|
6277
|
+
type: string
|
|
6278
|
+
default: all
|
|
6279
|
+
minLength: 1
|
|
6280
|
+
description: |-
|
|
6281
|
+
* `all` - all
|
|
6282
|
+
* `week` - week
|
|
6283
|
+
* `4w` - 4w
|
|
6284
|
+
* `12w` - 12w
|
|
6285
|
+
* `custom` - custom
|
|
6286
|
+
- in: query
|
|
6287
|
+
name: population
|
|
6288
|
+
schema:
|
|
6289
|
+
enum:
|
|
6290
|
+
- customer
|
|
6291
|
+
- staff
|
|
6292
|
+
type: string
|
|
6293
|
+
default: customer
|
|
6294
|
+
minLength: 1
|
|
6295
|
+
description: |-
|
|
6296
|
+
* `customer` - customer
|
|
6297
|
+
* `staff` - staff
|
|
6298
|
+
- in: query
|
|
6299
|
+
name: search
|
|
6300
|
+
schema:
|
|
6301
|
+
type: string
|
|
6302
|
+
default: ''
|
|
6303
|
+
maxLength: 255
|
|
6304
|
+
- in: query
|
|
6305
|
+
name: sort
|
|
6306
|
+
schema:
|
|
6307
|
+
enum:
|
|
6308
|
+
- name
|
|
6309
|
+
- week
|
|
6310
|
+
- questions_requests
|
|
6311
|
+
- teams
|
|
6312
|
+
- email
|
|
6313
|
+
- slack
|
|
6314
|
+
- workflow_runs
|
|
6315
|
+
- po_runs
|
|
6316
|
+
type: string
|
|
6317
|
+
default: questions_requests
|
|
6318
|
+
minLength: 1
|
|
6319
|
+
description: |-
|
|
6320
|
+
* `name` - name
|
|
6321
|
+
* `week` - week
|
|
6322
|
+
* `questions_requests` - questions_requests
|
|
6323
|
+
* `teams` - teams
|
|
6324
|
+
* `email` - email
|
|
6325
|
+
* `slack` - slack
|
|
6326
|
+
* `workflow_runs` - workflow_runs
|
|
6327
|
+
* `po_runs` - po_runs
|
|
6328
|
+
- in: query
|
|
6329
|
+
name: start
|
|
6330
|
+
schema:
|
|
6331
|
+
type: string
|
|
6332
|
+
format: date
|
|
6333
|
+
- in: path
|
|
6334
|
+
name: workspace_id
|
|
6335
|
+
schema:
|
|
6336
|
+
type: string
|
|
6337
|
+
format: uuid
|
|
6338
|
+
required: true
|
|
6339
|
+
tags:
|
|
6340
|
+
- workspaces
|
|
6341
|
+
security:
|
|
6342
|
+
- MessagingJobTokenAuth: []
|
|
6343
|
+
- tokenAuth: []
|
|
6344
|
+
responses:
|
|
6345
|
+
'200':
|
|
6346
|
+
content:
|
|
6347
|
+
application/json:
|
|
6348
|
+
schema:
|
|
6349
|
+
$ref: '#/components/schemas/UsagePeople'
|
|
6350
|
+
description: ''
|
|
6351
|
+
/api/workspaces/workspaces/{workspace_id}/usage/summary/:
|
|
6352
|
+
get:
|
|
6353
|
+
operationId: workspaces_workspaces_usage_summary_retrieve
|
|
6354
|
+
parameters:
|
|
6355
|
+
- in: query
|
|
6356
|
+
name: end
|
|
6357
|
+
schema:
|
|
6358
|
+
type: string
|
|
6359
|
+
format: date
|
|
6360
|
+
- in: query
|
|
6361
|
+
name: period
|
|
6362
|
+
schema:
|
|
6363
|
+
enum:
|
|
6364
|
+
- all
|
|
6365
|
+
- week
|
|
6366
|
+
- 4w
|
|
6367
|
+
- 12w
|
|
6368
|
+
- custom
|
|
6369
|
+
type: string
|
|
6370
|
+
default: all
|
|
6371
|
+
minLength: 1
|
|
6372
|
+
description: |-
|
|
6373
|
+
* `all` - all
|
|
6374
|
+
* `week` - week
|
|
6375
|
+
* `4w` - 4w
|
|
6376
|
+
* `12w` - 12w
|
|
6377
|
+
* `custom` - custom
|
|
6378
|
+
- in: query
|
|
6379
|
+
name: population
|
|
6380
|
+
schema:
|
|
6381
|
+
enum:
|
|
6382
|
+
- customer
|
|
6383
|
+
- staff
|
|
6384
|
+
type: string
|
|
6385
|
+
default: customer
|
|
6386
|
+
minLength: 1
|
|
6387
|
+
description: |-
|
|
6388
|
+
* `customer` - customer
|
|
6389
|
+
* `staff` - staff
|
|
6390
|
+
- in: query
|
|
6391
|
+
name: start
|
|
6392
|
+
schema:
|
|
6393
|
+
type: string
|
|
6394
|
+
format: date
|
|
6395
|
+
- in: path
|
|
6396
|
+
name: workspace_id
|
|
6397
|
+
schema:
|
|
6398
|
+
type: string
|
|
6399
|
+
format: uuid
|
|
6400
|
+
required: true
|
|
6401
|
+
tags:
|
|
6402
|
+
- workspaces
|
|
6403
|
+
security:
|
|
6404
|
+
- MessagingJobTokenAuth: []
|
|
6405
|
+
- tokenAuth: []
|
|
6406
|
+
responses:
|
|
6407
|
+
'200':
|
|
6408
|
+
content:
|
|
6409
|
+
application/json:
|
|
6410
|
+
schema:
|
|
6411
|
+
$ref: '#/components/schemas/UsageSummary'
|
|
6412
|
+
description: ''
|
|
6413
|
+
post:
|
|
6414
|
+
operationId: workspaces_workspaces_usage_summary_create
|
|
6415
|
+
parameters:
|
|
6416
|
+
- in: query
|
|
6417
|
+
name: end
|
|
6418
|
+
schema:
|
|
6419
|
+
type: string
|
|
6420
|
+
format: date
|
|
6421
|
+
- in: query
|
|
6422
|
+
name: period
|
|
6423
|
+
schema:
|
|
6424
|
+
enum:
|
|
6425
|
+
- all
|
|
6426
|
+
- week
|
|
6427
|
+
- 4w
|
|
6428
|
+
- 12w
|
|
6429
|
+
- custom
|
|
6430
|
+
type: string
|
|
6431
|
+
default: all
|
|
6432
|
+
minLength: 1
|
|
6433
|
+
description: |-
|
|
6434
|
+
* `all` - all
|
|
6435
|
+
* `week` - week
|
|
6436
|
+
* `4w` - 4w
|
|
6437
|
+
* `12w` - 12w
|
|
6438
|
+
* `custom` - custom
|
|
6439
|
+
- in: query
|
|
6440
|
+
name: population
|
|
6441
|
+
schema:
|
|
6442
|
+
enum:
|
|
6443
|
+
- customer
|
|
6444
|
+
- staff
|
|
6445
|
+
type: string
|
|
6446
|
+
default: customer
|
|
6447
|
+
minLength: 1
|
|
6448
|
+
description: |-
|
|
6449
|
+
* `customer` - customer
|
|
6450
|
+
* `staff` - staff
|
|
6451
|
+
- in: query
|
|
6452
|
+
name: start
|
|
6453
|
+
schema:
|
|
6454
|
+
type: string
|
|
6455
|
+
format: date
|
|
6456
|
+
- in: path
|
|
6457
|
+
name: workspace_id
|
|
6458
|
+
schema:
|
|
6459
|
+
type: string
|
|
6460
|
+
format: uuid
|
|
6461
|
+
required: true
|
|
6462
|
+
tags:
|
|
6463
|
+
- workspaces
|
|
6464
|
+
security:
|
|
6465
|
+
- MessagingJobTokenAuth: []
|
|
6466
|
+
- tokenAuth: []
|
|
6467
|
+
responses:
|
|
6468
|
+
'202':
|
|
6469
|
+
content:
|
|
6470
|
+
application/json:
|
|
6471
|
+
schema:
|
|
6472
|
+
$ref: '#/components/schemas/UsageSummary'
|
|
6473
|
+
description: ''
|
|
6167
6474
|
components:
|
|
6168
6475
|
schemas:
|
|
6169
6476
|
AcceptInviteResponse:
|
|
@@ -7875,6 +8182,10 @@ components:
|
|
|
7875
8182
|
format: uuid
|
|
7876
8183
|
readOnly: true
|
|
7877
8184
|
nullable: true
|
|
8185
|
+
project_name:
|
|
8186
|
+
type: string
|
|
8187
|
+
readOnly: true
|
|
8188
|
+
nullable: true
|
|
7878
8189
|
subject:
|
|
7879
8190
|
type: string
|
|
7880
8191
|
readOnly: true
|
|
@@ -7882,6 +8193,8 @@ components:
|
|
|
7882
8193
|
email_body:
|
|
7883
8194
|
type: string
|
|
7884
8195
|
readOnly: true
|
|
8196
|
+
email_context:
|
|
8197
|
+
readOnly: true
|
|
7885
8198
|
assessment:
|
|
7886
8199
|
readOnly: true
|
|
7887
8200
|
staging_errors:
|
|
@@ -7921,12 +8234,14 @@ components:
|
|
|
7921
8234
|
- created_at
|
|
7922
8235
|
- dry_run
|
|
7923
8236
|
- email_body
|
|
8237
|
+
- email_context
|
|
7924
8238
|
- error
|
|
7925
8239
|
- files
|
|
7926
8240
|
- id
|
|
7927
8241
|
- inbox_address
|
|
7928
8242
|
- observation
|
|
7929
8243
|
- project
|
|
8244
|
+
- project_name
|
|
7930
8245
|
- reviewed_at
|
|
7931
8246
|
- reviewed_by
|
|
7932
8247
|
- run
|
|
@@ -11156,6 +11471,255 @@ components:
|
|
|
11156
11471
|
description: |-
|
|
11157
11472
|
* `link` - link
|
|
11158
11473
|
* `relationship` - relationship
|
|
11474
|
+
Usage:
|
|
11475
|
+
type: object
|
|
11476
|
+
properties:
|
|
11477
|
+
period:
|
|
11478
|
+
$ref: '#/components/schemas/UsagePeriod'
|
|
11479
|
+
population:
|
|
11480
|
+
type: string
|
|
11481
|
+
totals:
|
|
11482
|
+
$ref: '#/components/schemas/UsageTotals'
|
|
11483
|
+
weeks:
|
|
11484
|
+
type: array
|
|
11485
|
+
items:
|
|
11486
|
+
$ref: '#/components/schemas/UsageWeek'
|
|
11487
|
+
coverage:
|
|
11488
|
+
$ref: '#/components/schemas/UsageCoverage'
|
|
11489
|
+
workflows:
|
|
11490
|
+
type: array
|
|
11491
|
+
items:
|
|
11492
|
+
$ref: '#/components/schemas/UsageWorkflow'
|
|
11493
|
+
required:
|
|
11494
|
+
- coverage
|
|
11495
|
+
- period
|
|
11496
|
+
- population
|
|
11497
|
+
- totals
|
|
11498
|
+
- weeks
|
|
11499
|
+
- workflows
|
|
11500
|
+
UsageCoverage:
|
|
11501
|
+
type: object
|
|
11502
|
+
properties:
|
|
11503
|
+
unknown_sender_requests:
|
|
11504
|
+
type: integer
|
|
11505
|
+
unresolved_identity_requests:
|
|
11506
|
+
type: integer
|
|
11507
|
+
unresolved_people:
|
|
11508
|
+
type: integer
|
|
11509
|
+
unknown_runs:
|
|
11510
|
+
type: integer
|
|
11511
|
+
automated_runs:
|
|
11512
|
+
type: integer
|
|
11513
|
+
required:
|
|
11514
|
+
- automated_runs
|
|
11515
|
+
- unknown_runs
|
|
11516
|
+
- unknown_sender_requests
|
|
11517
|
+
- unresolved_identity_requests
|
|
11518
|
+
- unresolved_people
|
|
11519
|
+
UsagePeople:
|
|
11520
|
+
type: object
|
|
11521
|
+
properties:
|
|
11522
|
+
count:
|
|
11523
|
+
type: integer
|
|
11524
|
+
page:
|
|
11525
|
+
type: integer
|
|
11526
|
+
page_size:
|
|
11527
|
+
type: integer
|
|
11528
|
+
results:
|
|
11529
|
+
type: array
|
|
11530
|
+
items:
|
|
11531
|
+
$ref: '#/components/schemas/UsagePerson'
|
|
11532
|
+
required:
|
|
11533
|
+
- count
|
|
11534
|
+
- page
|
|
11535
|
+
- page_size
|
|
11536
|
+
- results
|
|
11537
|
+
UsagePeriod:
|
|
11538
|
+
type: object
|
|
11539
|
+
properties:
|
|
11540
|
+
selection:
|
|
11541
|
+
type: string
|
|
11542
|
+
start:
|
|
11543
|
+
type: string
|
|
11544
|
+
format: date
|
|
11545
|
+
end:
|
|
11546
|
+
type: string
|
|
11547
|
+
format: date
|
|
11548
|
+
timezone:
|
|
11549
|
+
type: string
|
|
11550
|
+
available_from:
|
|
11551
|
+
type: string
|
|
11552
|
+
format: date
|
|
11553
|
+
as_of:
|
|
11554
|
+
type: string
|
|
11555
|
+
format: date-time
|
|
11556
|
+
required:
|
|
11557
|
+
- as_of
|
|
11558
|
+
- available_from
|
|
11559
|
+
- end
|
|
11560
|
+
- selection
|
|
11561
|
+
- start
|
|
11562
|
+
- timezone
|
|
11563
|
+
UsagePerson:
|
|
11564
|
+
type: object
|
|
11565
|
+
properties:
|
|
11566
|
+
questions_requests:
|
|
11567
|
+
type: integer
|
|
11568
|
+
teams:
|
|
11569
|
+
type: integer
|
|
11570
|
+
email:
|
|
11571
|
+
type: integer
|
|
11572
|
+
slack:
|
|
11573
|
+
type: integer
|
|
11574
|
+
workflow_runs:
|
|
11575
|
+
type: integer
|
|
11576
|
+
po_runs:
|
|
11577
|
+
type: integer
|
|
11578
|
+
id:
|
|
11579
|
+
type: string
|
|
11580
|
+
name:
|
|
11581
|
+
type: string
|
|
11582
|
+
unresolved:
|
|
11583
|
+
type: boolean
|
|
11584
|
+
week:
|
|
11585
|
+
type: string
|
|
11586
|
+
format: date
|
|
11587
|
+
required:
|
|
11588
|
+
- email
|
|
11589
|
+
- id
|
|
11590
|
+
- name
|
|
11591
|
+
- po_runs
|
|
11592
|
+
- questions_requests
|
|
11593
|
+
- slack
|
|
11594
|
+
- teams
|
|
11595
|
+
- unresolved
|
|
11596
|
+
- workflow_runs
|
|
11597
|
+
UsageSummary:
|
|
11598
|
+
type: object
|
|
11599
|
+
properties:
|
|
11600
|
+
status:
|
|
11601
|
+
type: string
|
|
11602
|
+
generated_at:
|
|
11603
|
+
type: string
|
|
11604
|
+
format: date-time
|
|
11605
|
+
nullable: true
|
|
11606
|
+
requested_at:
|
|
11607
|
+
type: string
|
|
11608
|
+
format: date-time
|
|
11609
|
+
nullable: true
|
|
11610
|
+
error:
|
|
11611
|
+
type: string
|
|
11612
|
+
content:
|
|
11613
|
+
type: array
|
|
11614
|
+
items:
|
|
11615
|
+
$ref: '#/components/schemas/UsageSummaryBullet'
|
|
11616
|
+
facts:
|
|
11617
|
+
type: object
|
|
11618
|
+
additionalProperties:
|
|
11619
|
+
type: string
|
|
11620
|
+
snapshot_as_of:
|
|
11621
|
+
type: string
|
|
11622
|
+
format: date-time
|
|
11623
|
+
nullable: true
|
|
11624
|
+
required:
|
|
11625
|
+
- content
|
|
11626
|
+
- error
|
|
11627
|
+
- facts
|
|
11628
|
+
- generated_at
|
|
11629
|
+
- requested_at
|
|
11630
|
+
- snapshot_as_of
|
|
11631
|
+
- status
|
|
11632
|
+
UsageSummaryBullet:
|
|
11633
|
+
type: object
|
|
11634
|
+
properties:
|
|
11635
|
+
text:
|
|
11636
|
+
type: string
|
|
11637
|
+
facts:
|
|
11638
|
+
type: array
|
|
11639
|
+
items:
|
|
11640
|
+
type: string
|
|
11641
|
+
required:
|
|
11642
|
+
- facts
|
|
11643
|
+
- text
|
|
11644
|
+
UsageTotals:
|
|
11645
|
+
type: object
|
|
11646
|
+
properties:
|
|
11647
|
+
questions_requests:
|
|
11648
|
+
type: integer
|
|
11649
|
+
teams:
|
|
11650
|
+
type: integer
|
|
11651
|
+
email:
|
|
11652
|
+
type: integer
|
|
11653
|
+
slack:
|
|
11654
|
+
type: integer
|
|
11655
|
+
workflow_runs:
|
|
11656
|
+
type: integer
|
|
11657
|
+
po_runs:
|
|
11658
|
+
type: integer
|
|
11659
|
+
active_people:
|
|
11660
|
+
type: integer
|
|
11661
|
+
required:
|
|
11662
|
+
- active_people
|
|
11663
|
+
- email
|
|
11664
|
+
- po_runs
|
|
11665
|
+
- questions_requests
|
|
11666
|
+
- slack
|
|
11667
|
+
- teams
|
|
11668
|
+
- workflow_runs
|
|
11669
|
+
UsageWeek:
|
|
11670
|
+
type: object
|
|
11671
|
+
properties:
|
|
11672
|
+
questions_requests:
|
|
11673
|
+
type: integer
|
|
11674
|
+
teams:
|
|
11675
|
+
type: integer
|
|
11676
|
+
email:
|
|
11677
|
+
type: integer
|
|
11678
|
+
slack:
|
|
11679
|
+
type: integer
|
|
11680
|
+
workflow_runs:
|
|
11681
|
+
type: integer
|
|
11682
|
+
po_runs:
|
|
11683
|
+
type: integer
|
|
11684
|
+
active_people:
|
|
11685
|
+
type: integer
|
|
11686
|
+
week:
|
|
11687
|
+
type: string
|
|
11688
|
+
format: date
|
|
11689
|
+
partial:
|
|
11690
|
+
type: boolean
|
|
11691
|
+
required:
|
|
11692
|
+
- active_people
|
|
11693
|
+
- email
|
|
11694
|
+
- partial
|
|
11695
|
+
- po_runs
|
|
11696
|
+
- questions_requests
|
|
11697
|
+
- slack
|
|
11698
|
+
- teams
|
|
11699
|
+
- week
|
|
11700
|
+
- workflow_runs
|
|
11701
|
+
UsageWorkflow:
|
|
11702
|
+
type: object
|
|
11703
|
+
properties:
|
|
11704
|
+
id:
|
|
11705
|
+
type: string
|
|
11706
|
+
name:
|
|
11707
|
+
type: string
|
|
11708
|
+
customer:
|
|
11709
|
+
type: integer
|
|
11710
|
+
staff:
|
|
11711
|
+
type: integer
|
|
11712
|
+
automated:
|
|
11713
|
+
type: integer
|
|
11714
|
+
unknown:
|
|
11715
|
+
type: integer
|
|
11716
|
+
required:
|
|
11717
|
+
- automated
|
|
11718
|
+
- customer
|
|
11719
|
+
- id
|
|
11720
|
+
- name
|
|
11721
|
+
- staff
|
|
11722
|
+
- unknown
|
|
11159
11723
|
User:
|
|
11160
11724
|
type: object
|
|
11161
11725
|
properties:
|
|
@@ -1877,3 +1877,77 @@ PUT /api/workspaces/workspaces/{id}/
|
|
|
1877
1877
|
|
|
1878
1878
|
Options:
|
|
1879
1879
|
- `--data` (required) - Request body as JSON: inline, @file.json, or - for stdin.
|
|
1880
|
+
|
|
1881
|
+
### current workspaces usage people retrieve <workspace_id>
|
|
1882
|
+
|
|
1883
|
+
GET /api/workspaces/workspaces/{workspace_id}/usage/people/
|
|
1884
|
+
|
|
1885
|
+
Options:
|
|
1886
|
+
- `--direction` - * `asc` - asc
|
|
1887
|
+
* `desc` - desc
|
|
1888
|
+
- `--end`
|
|
1889
|
+
- `--mode` - * `totals` - totals
|
|
1890
|
+
* `weekly` - weekly
|
|
1891
|
+
- `--page`
|
|
1892
|
+
- `--period` - * `all` - all
|
|
1893
|
+
* `week` - week
|
|
1894
|
+
* `4w` - 4w
|
|
1895
|
+
* `12w` - 12w
|
|
1896
|
+
* `custom` - custom
|
|
1897
|
+
- `--population` - * `customer` - customer
|
|
1898
|
+
* `staff` - staff
|
|
1899
|
+
- `--search`
|
|
1900
|
+
- `--sort` - * `name` - name
|
|
1901
|
+
* `week` - week
|
|
1902
|
+
* `questions_requests` - questions_requests
|
|
1903
|
+
* `teams` - teams
|
|
1904
|
+
* `email` - email
|
|
1905
|
+
* `slack` - slack
|
|
1906
|
+
* `workflow_runs` - workflow_runs
|
|
1907
|
+
* `po_runs` - po_runs
|
|
1908
|
+
- `--start`
|
|
1909
|
+
|
|
1910
|
+
### current workspaces usage retrieve <workspace_id>
|
|
1911
|
+
|
|
1912
|
+
GET /api/workspaces/workspaces/{workspace_id}/usage/
|
|
1913
|
+
|
|
1914
|
+
Options:
|
|
1915
|
+
- `--end`
|
|
1916
|
+
- `--period` - * `all` - all
|
|
1917
|
+
* `week` - week
|
|
1918
|
+
* `4w` - 4w
|
|
1919
|
+
* `12w` - 12w
|
|
1920
|
+
* `custom` - custom
|
|
1921
|
+
- `--population` - * `customer` - customer
|
|
1922
|
+
* `staff` - staff
|
|
1923
|
+
- `--start`
|
|
1924
|
+
|
|
1925
|
+
### current workspaces usage summary create <workspace_id>
|
|
1926
|
+
|
|
1927
|
+
POST /api/workspaces/workspaces/{workspace_id}/usage/summary/
|
|
1928
|
+
|
|
1929
|
+
Options:
|
|
1930
|
+
- `--end`
|
|
1931
|
+
- `--period` - * `all` - all
|
|
1932
|
+
* `week` - week
|
|
1933
|
+
* `4w` - 4w
|
|
1934
|
+
* `12w` - 12w
|
|
1935
|
+
* `custom` - custom
|
|
1936
|
+
- `--population` - * `customer` - customer
|
|
1937
|
+
* `staff` - staff
|
|
1938
|
+
- `--start`
|
|
1939
|
+
|
|
1940
|
+
### current workspaces usage summary retrieve <workspace_id>
|
|
1941
|
+
|
|
1942
|
+
GET /api/workspaces/workspaces/{workspace_id}/usage/summary/
|
|
1943
|
+
|
|
1944
|
+
Options:
|
|
1945
|
+
- `--end`
|
|
1946
|
+
- `--period` - * `all` - all
|
|
1947
|
+
* `week` - week
|
|
1948
|
+
* `4w` - 4w
|
|
1949
|
+
* `12w` - 12w
|
|
1950
|
+
* `custom` - custom
|
|
1951
|
+
- `--population` - * `customer` - customer
|
|
1952
|
+
* `staff` - staff
|
|
1953
|
+
- `--start`
|
|
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
|