@@ -859,6 +859,11 @@ components:
859
859
- DEVU-12345
860
860
items:
861
861
type: string
862
+ custom_fields:
863
+ type: object
864
+ description: Application-defined custom fields.
865
+ custom_schema_spec:
866
+ $ref: '#/components/schemas/custom-schema-spec'
862
867
description:
863
868
type: string
864
869
description: Description for the article.
@@ -1095,6 +1100,11 @@ components:
1095
1100
$ref: '#/components/schemas/articles-update-request-artifacts'
1096
1101
authored_by:
1097
1102
$ref: '#/components/schemas/articles-update-request-authored-by'
1103
+ custom_fields:
1104
+ type: object
1105
+ description: Application-defined custom fields.
1106
+ custom_schema_spec:
1107
+ $ref: '#/components/schemas/custom-schema-spec'
1098
1108
description:
1099
1109
type: string
1100
1110
description: |
@@ -2020,6 +2030,7 @@ components:
2020
2030
description: The display name of the Rev org.
2021
2031
domain:
2022
2032
type: string
2033
+ deprecated: true
2023
2034
description: The domain of the Rev org.
2024
2035
phone_numbers:
2025
2036
type: array
@@ -2349,7 +2360,12 @@ components:
2349
2360
- github
2350
2361
code-changes-create-request:
2351
2362
type: object
2352
- additionalProperties: false
2363
+ properties:
2364
+ custom_fields:
2365
+ type: object
2366
+ description: Application-defined custom fields.
2367
+ custom_schema_spec:
2368
+ $ref: '#/components/schemas/custom-schema-spec'
2353
2369
title: code-changes-create-request
2354
2370
code-changes-create-response:
2355
2371
type: object
@@ -2438,6 +2454,11 @@ components:
2438
2454
code-changes-update-request:
2439
2455
type: object
2440
2456
properties:
2457
+ custom_fields:
2458
+ type: object
2459
+ description: Application-defined custom fields.
2460
+ custom_schema_spec:
2461
+ $ref: '#/components/schemas/custom-schema-spec'
2441
2462
id:
2442
2463
type: string
2443
2464
description: The ID of the code change object to be updated.
@@ -3494,6 +3515,11 @@ components:
3494
3515
custom-stage-summary:
3495
3516
allOf:
3496
3517
- $ref: '#/components/schemas/atom-base-summary'
3518
+ - type: object
3519
+ properties:
3520
+ name:
3521
+ type: string
3522
+ description: The human readable name of the state.
3497
3523
title: custom-stage-summary
3498
3524
custom-stages-create-request:
3499
3525
type: object
@@ -3639,6 +3665,11 @@ components:
3639
3665
custom-state-summary:
3640
3666
allOf:
3641
3667
- $ref: '#/components/schemas/atom-base-summary'
3668
+ - type: object
3669
+ properties:
3670
+ name:
3671
+ type: string
3672
+ description: The human readable name of the state.
3642
3673
title: custom-state-summary
3643
3674
custom-states-create-request:
3644
3675
type: object
@@ -6953,6 +6984,11 @@ components:
6953
6984
- $ref: '#/components/schemas/work-base'
6954
6985
- type: object
6955
6986
properties:
6987
+ actual_start_date:
6988
+ type: string
6989
+ description: Actual start date for the object.
6990
+ example: "2023-01-01T12:00:00.000Z"
6991
+ format: date-time
6956
6992
developed_with:
6957
6993
type: array
6958
6994
description: Parts associated based on git events.
@@ -9164,6 +9200,7 @@ components:
9164
9200
description: Name of the Rev organization.
9165
9201
domain:
9166
9202
type: string
9203
+ deprecated: true
9167
9204
description: Company's domain name. Example - 'devrev.ai'.
9168
9205
environment:
9169
9206
$ref: '#/components/schemas/org-environment'
@@ -9355,6 +9392,7 @@ components:
9355
9392
description: Customer chosen name for the Rev organization.
9356
9393
domain:
9357
9394
type: string
9395
+ deprecated: true
9358
9396
description: Company's domain name. Example - 'devrev.ai'.
9359
9397
environment:
9360
9398
$ref: '#/components/schemas/org-environment'
@@ -9667,6 +9705,78 @@ components:
9667
9705
- rev_users
9668
9706
title: rev-users-list-response
9669
9707
x-go-name: RevUsersListResponseBody
9708
+ rev-users-scan-request:
9709
+ type: object
9710
+ description: Scans the list of Rev users.
9711
+ properties:
9712
+ created_by:
9713
+ type: array
9714
+ description: |
9715
+ Filters for Rev users that were created by the specified user(s).
9716
+ items:
9717
+ type: string
9718
+ created_date:
9719
+ $ref: '#/components/schemas/date-time-filter'
9720
+ cursor:
9721
+ type: string
9722
+ description: |
9723
+ The cursor to resume iteration, otherwise the beginning if not
9724
+ provided.
9725
+ custom_fields:
9726
+ type: object
9727
+ description: Filters for custom fields.
9728
+ email:
9729
+ type: array
9730
+ description: List of emails of Rev users to be filtered.
9731
+ items:
9732
+ type: string
9733
+ external_ref:
9734
+ type: array
9735
+ description: List of external refs to filter Rev users for.
9736
+ items:
9737
+ type: string
9738
+ is_verified:
9739
+ type: boolean
9740
+ description: Value of is_verified field to filter the Rev users.
9741
+ modified_date:
9742
+ $ref: '#/components/schemas/date-time-filter'
9743
+ phone_numbers:
9744
+ type: array
9745
+ description: |
9746
+ List of phone numbers, in E.164 format, to filter Rev users on.
9747
+ items:
9748
+ type: string
9749
+ rev_org:
9750
+ type: array
9751
+ description: List of IDs of Rev organizations to be filtered.
9752
+ example:
9753
+ - REV-AbCdEfGh
9754
+ items:
9755
+ type: string
9756
+ tags:
9757
+ type: array
9758
+ description: List of tags to be filtered.
9759
+ items:
9760
+ type: string
9761
+ title: rev-users-scan-request
9762
+ rev-users-scan-response:
9763
+ type: object
9764
+ description: The response to scanning Rev users.
9765
+ properties:
9766
+ next_cursor:
9767
+ type: string
9768
+ description: |
9769
+ The cursor that should be used to resume iteration, otherwise if
9770
+ not provided, then iteration has completed.
9771
+ rev_users:
9772
+ type: array
9773
+ description: The iterated Rev users.
9774
+ items:
9775
+ $ref: '#/components/schemas/rev-user'
9776
+ required:
9777
+ - rev_users
9778
+ title: rev-users-scan-response
9779
+ x-go-name: RevUsersScanResponseBody
9670
9780
rev-users-update-request:
9671
9781
type: object
9672
9782
description: Request to update details of a Rev user.
@@ -22416,6 +22526,181 @@ paths:
22416
22526
x-fern-audiences:
22417
22527
- docs
22418
22528
- sdks
22529
+ /rev-users.scan:
22530
+ get:
22531
+ description: Scans through all Rev users.
22532
+ operationId: rev-users-scan
22533
+ parameters:
22534
+ - description: |
22535
+ Filters for Rev users that were created by the specified user(s).
22536
+ explode: false
22537
+ in: query
22538
+ name: created_by
22539
+ schema:
22540
+ type: array
22541
+ items:
22542
+ type: string
22543
+ - description: |
22544
+ Filters for objects created after the provided timestamp (inclusive).
22545
+ explode: false
22546
+ in: query
22547
+ name: created_date.after
22548
+ schema:
22549
+ type: string
22550
+ example: "2023-01-01T12:00:00.000Z"
22551
+ format: date-time
22552
+ - description: |
22553
+ Filters for objects created before the provided timestamp
22554
+ (inclusive).
22555
+ explode: false
22556
+ in: query
22557
+ name: created_date.before
22558
+ schema:
22559
+ type: string
22560
+ example: "2023-01-01T12:00:00.000Z"
22561
+ format: date-time
22562
+ - description: |
22563
+ The cursor to resume iteration, otherwise the beginning if not
22564
+ provided.
22565
+ explode: false
22566
+ in: query
22567
+ name: cursor
22568
+ schema:
22569
+ type: string
22570
+ - description: Filters for custom fields.
22571
+ explode: false
22572
+ in: query
22573
+ name: custom_fields
22574
+ schema:
22575
+ type: object
22576
+ - description: List of emails of Rev users to be filtered.
22577
+ explode: false
22578
+ in: query
22579
+ name: email
22580
+ schema:
22581
+ type: array
22582
+ items:
22583
+ type: string
22584
+ - description: List of external refs to filter Rev users for.
22585
+ explode: false
22586
+ in: query
22587
+ name: external_ref
22588
+ schema:
22589
+ type: array
22590
+ items:
22591
+ type: string
22592
+ - description: Value of is_verified field to filter the Rev users.
22593
+ explode: false
22594
+ in: query
22595
+ name: is_verified
22596
+ schema:
22597
+ type: boolean
22598
+ - description: |
22599
+ Filters for objects created after the provided timestamp (inclusive).
22600
+ explode: false
22601
+ in: query
22602
+ name: modified_date.after
22603
+ schema:
22604
+ type: string
22605
+ example: "2023-01-01T12:00:00.000Z"
22606
+ format: date-time
22607
+ - description: |
22608
+ Filters for objects created before the provided timestamp
22609
+ (inclusive).
22610
+ explode: false
22611
+ in: query
22612
+ name: modified_date.before
22613
+ schema:
22614
+ type: string
22615
+ example: "2023-01-01T12:00:00.000Z"
22616
+ format: date-time
22617
+ - description: |
22618
+ List of phone numbers, in E.164 format, to filter Rev users on.
22619
+ explode: false
22620
+ in: query
22621
+ name: phone_numbers
22622
+ schema:
22623
+ type: array
22624
+ items:
22625
+ type: string
22626
+ - description: List of IDs of Rev organizations to be filtered.
22627
+ explode: false
22628
+ in: query
22629
+ name: rev_org
22630
+ schema:
22631
+ type: array
22632
+ example:
22633
+ - REV-AbCdEfGh
22634
+ items:
22635
+ type: string
22636
+ - description: List of tags to be filtered.
22637
+ explode: false
22638
+ in: query
22639
+ name: tags
22640
+ schema:
22641
+ type: array
22642
+ items:
22643
+ type: string
22644
+ responses:
22645
+ "200":
22646
+ content:
22647
+ application/json:
22648
+ schema:
22649
+ $ref: '#/components/schemas/rev-users-scan-response'
22650
+ description: Success.
22651
+ "400":
22652
+ $ref: '#/components/responses/bad-request'
22653
+ "401":
22654
+ $ref: '#/components/responses/unauthorized'
22655
+ "403":
22656
+ $ref: '#/components/responses/forbidden'
22657
+ "404":
22658
+ $ref: '#/components/responses/not-found'
22659
+ "429":
22660
+ $ref: '#/components/responses/too-many-requests'
22661
+ "500":
22662
+ $ref: '#/components/responses/internal-server-error'
22663
+ "503":
22664
+ $ref: '#/components/responses/service-unavailable'
22665
+ tags:
22666
+ - rev-users
22667
+ x-fern-audiences:
22668
+ - docs
22669
+ x-request-name: RevUsersScanQuery
22670
+ post:
22671
+ description: Scans through all Rev users.
22672
+ operationId: rev-users-scan-post
22673
+ requestBody:
22674
+ content:
22675
+ application/json:
22676
+ schema:
22677
+ $ref: '#/components/schemas/rev-users-scan-request'
22678
+ responses:
22679
+ "200":
22680
+ content:
22681
+ application/json:
22682
+ schema:
22683
+ $ref: '#/components/schemas/rev-users-scan-response'
22684
+ description: Success.
22685
+ "400":
22686
+ $ref: '#/components/responses/bad-request'
22687
+ "401":
22688
+ $ref: '#/components/responses/unauthorized'
22689
+ "403":
22690
+ $ref: '#/components/responses/forbidden'
22691
+ "404":
22692
+ $ref: '#/components/responses/not-found'
22693
+ "429":
22694
+ $ref: '#/components/responses/too-many-requests'
22695
+ "500":
22696
+ $ref: '#/components/responses/internal-server-error'
22697
+ "503":
22698
+ $ref: '#/components/responses/service-unavailable'
22699
+ tags:
22700
+ - rev-users
22701
+ x-fern-audiences:
22702
+ - docs
22703
+ - sdks
22419
22704
/rev-users.unlink:
22420
22705
post:
22421
22706
description: Unlinks a rev user from a rev org.
0 commit comments