@@ -256,6 +256,19 @@ types:
256256 id : string
257257 source :
258258 openapi : openapi/openapi.yml
259+ ActionsEnum :
260+ enum :
261+ - VIEW
262+ - CREATE
263+ - EDIT
264+ - DELETE
265+ docs : |-
266+ * `VIEW` - VIEW
267+ * `CREATE` - CREATE
268+ * `EDIT` - EDIT
269+ * `DELETE` - DELETE
270+ source :
271+ openapi : openapi/openapi.yml
259272 AdvancedMetadata :
260273 properties :
261274 id :
@@ -791,6 +804,16 @@ types:
791804 source :
792805 openapi : openapi/openapi.yml
793806 inline : true
807+ CollectionPermissionsItem :
808+ discriminated : false
809+ union :
810+ - type : string
811+ validation :
812+ format : uuid
813+ - Permission
814+ source :
815+ openapi : openapi/openapi.yml
816+ inline : true
794817 Collection :
795818 docs : >-
796819 # The Collection Object
@@ -847,6 +870,9 @@ types:
847870 parent_collection :
848871 type : optional<CollectionParentCollection>
849872 docs : The parent collection for this collection.
873+ permissions :
874+ type : optional<list<CollectionPermissionsItem>>
875+ access : read-only
850876 collection_url :
851877 type : optional<string>
852878 docs : The 3rd party url of the Collection.
@@ -1302,6 +1328,17 @@ types:
13021328 status_code : integer
13031329 source :
13041330 openapi : openapi/openapi.yml
1331+ EffectEnum :
1332+ enum :
1333+ - ALLOWED
1334+ - DENIED
1335+ - INHERITED
1336+ docs : |-
1337+ * `ALLOWED` - ALLOWED
1338+ * `DENIED` - DENIED
1339+ * `INHERITED` - INHERITED
1340+ source :
1341+ openapi : openapi/openapi.yml
13051342 EnabledActionsEnum :
13061343 enum :
13071344 - READ
@@ -2168,6 +2205,139 @@ types:
21682205 access : write-only
21692206 source :
21702207 openapi : openapi/openapi.yml
2208+ PermissionEffect :
2209+ discriminated : false
2210+ docs : |-
2211+ Outcome of this permission rule for matching users.
2212+
2213+ * `ALLOWED` - ALLOWED
2214+ * `DENIED` - DENIED
2215+ * `INHERITED` - INHERITED
2216+ union :
2217+ - EffectEnum
2218+ - string
2219+ source :
2220+ openapi : openapi/openapi.yml
2221+ inline : true
2222+ Permission :
2223+ docs : >-
2224+ # The Permission Object
2225+
2226+ ### Description
2227+
2228+ The `Permission` object is used to represent permissions that can be
2229+ applied to users, roles, teams, collections, and tickets.
2230+
2231+
2232+ ### Usage Example
2233+
2234+ TODO
2235+ properties :
2236+ id :
2237+ type : optional<string>
2238+ validation :
2239+ format : uuid
2240+ access : read-only
2241+ remote_id :
2242+ type : optional<string>
2243+ docs : The third-party API ID of the matching object.
2244+ created_at :
2245+ type : optional<datetime>
2246+ docs : The datetime that this object was created by Merge.
2247+ access : read-only
2248+ modified_at :
2249+ type : optional<datetime>
2250+ docs : The datetime that this object was modified by Merge.
2251+ access : read-only
2252+ effect :
2253+ type : optional<PermissionEffect>
2254+ docs : |-
2255+ Outcome of this permission rule for matching users.
2256+
2257+ * `ALLOWED` - ALLOWED
2258+ * `DENIED` - DENIED
2259+ * `INHERITED` - INHERITED
2260+ actions :
2261+ type : optional<list<optional<ActionsEnum>>>
2262+ docs : >-
2263+ Operations that this permission applies to. If the entity inherits
2264+ permission from a parent entity, then this should be an empty array.
2265+ In that case, the entity would inherit the parent entity’s actions.
2266+ applied_to_users : optional<list<optional<string>>>
2267+ applied_to_roles : optional<list<optional<string>>>
2268+ applied_to_teams : optional<list<optional<string>>>
2269+ applied_to_collections : optional<list<optional<string>>>
2270+ remote_was_deleted :
2271+ type : optional<boolean>
2272+ docs : >-
2273+ Indicates whether or not this object has been deleted in the third
2274+ party platform. Full coverage deletion detection is a premium add-on.
2275+ Native deletion detection is offered for free with limited coverage.
2276+ [Learn
2277+ more](https://docs.merge.dev/integrations/hris/supported-features/).
2278+ access : read-only
2279+ field_mappings :
2280+ type : optional<map<string, unknown>>
2281+ access : read-only
2282+ source :
2283+ openapi : openapi/openapi.yml
2284+ PermissionRequestEffect :
2285+ discriminated : false
2286+ docs : |-
2287+ Outcome of this permission rule for matching users.
2288+
2289+ * `ALLOWED` - ALLOWED
2290+ * `DENIED` - DENIED
2291+ * `INHERITED` - INHERITED
2292+ union :
2293+ - EffectEnum
2294+ - string
2295+ source :
2296+ openapi : openapi/openapi.yml
2297+ inline : true
2298+ PermissionRequest :
2299+ docs : >-
2300+ # The Permission Object
2301+
2302+ ### Description
2303+
2304+ The `Permission` object is used to represent permissions that can be
2305+ applied to users, roles, teams, collections, and tickets.
2306+
2307+
2308+ ### Usage Example
2309+
2310+ TODO
2311+ properties :
2312+ remote_id :
2313+ type : optional<string>
2314+ docs : The third-party API ID of the matching object.
2315+ effect :
2316+ type : optional<PermissionRequestEffect>
2317+ docs : |-
2318+ Outcome of this permission rule for matching users.
2319+
2320+ * `ALLOWED` - ALLOWED
2321+ * `DENIED` - DENIED
2322+ * `INHERITED` - INHERITED
2323+ actions :
2324+ type : optional<list<optional<ActionsEnum>>>
2325+ docs : >-
2326+ Operations that this permission applies to. If the entity inherits
2327+ permission from a parent entity, then this should be an empty array.
2328+ In that case, the entity would inherit the parent entity’s actions.
2329+ applied_to_users : optional<list<optional<string>>>
2330+ applied_to_roles : optional<list<optional<string>>>
2331+ applied_to_teams : optional<list<optional<string>>>
2332+ applied_to_collections : optional<list<optional<string>>>
2333+ integration_params :
2334+ type : optional<map<string, unknown>>
2335+ access : write-only
2336+ linked_account_params :
2337+ type : optional<map<string, unknown>>
2338+ access : write-only
2339+ source :
2340+ openapi : openapi/openapi.yml
21712341 PriorityEnum :
21722342 enum :
21732343 - URGENT
@@ -2233,6 +2403,24 @@ types:
22332403 access : read-only
22342404 source :
22352405 openapi : openapi/openapi.yml
2406+ RegenerateAccountToken :
2407+ docs : >-
2408+ # The RegenerateAccountToken Object
2409+
2410+ ### Description
2411+
2412+ The `RegenerateAccountToken` object is used to exchange an old account
2413+ token for a new one.
2414+
2415+
2416+ ### Usage Example
2417+
2418+ Post to receive a new `RegenerateAccountToken`.
2419+ properties :
2420+ linked_account_id : string
2421+ account_token : string
2422+ source :
2423+ openapi : openapi/openapi.yml
22362424 RemoteData :
22372425 docs : >-
22382426 # The RemoteData Object
@@ -2524,13 +2712,15 @@ types:
25242712 - API
25252713 - SYSTEM
25262714 - MERGE_TEAM
2715+ - SUPPORT
25272716 docs : |-
25282717 * `ADMIN` - ADMIN
25292718 * `DEVELOPER` - DEVELOPER
25302719 * `MEMBER` - MEMBER
25312720 * `API` - API
25322721 * `SYSTEM` - SYSTEM
25332722 * `MERGE_TEAM` - MERGE_TEAM
2723+ * `SUPPORT` - SUPPORT
25342724 source :
25352725 openapi : openapi/openapi.yml
25362726 SelectiveSyncConfigurationsUsageEnum :
@@ -2567,6 +2757,14 @@ types:
25672757 source :
25682758 openapi : openapi/openapi.yml
25692759 inline : true
2760+ SyncStatusStatus :
2761+ discriminated : false
2762+ union :
2763+ - StatusFd5Enum
2764+ - string
2765+ source :
2766+ openapi : openapi/openapi.yml
2767+ inline : true
25702768 SyncStatus :
25712769 docs : >-
25722770 # The SyncStatus Object
@@ -2588,7 +2786,7 @@ types:
25882786 next_sync_start : optional<datetime>
25892787 last_sync_result : optional<SyncStatusLastSyncResult>
25902788 last_sync_finished : optional<datetime>
2591- status : StatusFd5Enum
2789+ status : SyncStatusStatus
25922790 is_initial_sync : boolean
25932791 selective_sync_configurations_usage : optional<SelectiveSyncConfigurationsUsageEnum>
25942792 source :
@@ -2808,6 +3006,16 @@ types:
28083006 source :
28093007 openapi : openapi/openapi.yml
28103008 inline : true
3009+ TicketPermissionsItem :
3010+ discriminated : false
3011+ union :
3012+ - type : string
3013+ validation :
3014+ format : uuid
3015+ - Permission
3016+ source :
3017+ openapi : openapi/openapi.yml
3018+ inline : true
28113019 TicketPriority :
28123020 discriminated : false
28133021 docs : |-
@@ -2918,6 +3126,9 @@ types:
29183126 * `PRIVATE` - PRIVATE
29193127
29203128 * `COLLECTION` - COLLECTION
3129+ permissions :
3130+ type : optional<list<TicketPermissionsItem>>
3131+ access : read-only
29213132 tags : optional<list<optional<string>>>
29223133 roles : optional<list<optional<string>>>
29233134 remote_created_at :
0 commit comments