@vm0/cli 9.93.0 → 9.94.1
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.
- package/{chunk-UEVD4XR7.js → chunk-OYO75U5W.js} +1080 -26
- package/chunk-OYO75U5W.js.map +1 -0
- package/index.js +13 -28
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/zero.js +246 -92
- package/zero.js.map +1 -1
- package/chunk-UEVD4XR7.js.map +0 -1
|
@@ -49,7 +49,7 @@ if (DSN) {
|
|
|
49
49
|
Sentry.init({
|
|
50
50
|
dsn: DSN,
|
|
51
51
|
environment: process.env.SENTRY_ENVIRONMENT ?? "production",
|
|
52
|
-
release: "9.
|
|
52
|
+
release: "9.94.1",
|
|
53
53
|
sendDefaultPii: false,
|
|
54
54
|
tracesSampleRate: 0,
|
|
55
55
|
shutdownTimeout: 500,
|
|
@@ -68,7 +68,7 @@ if (DSN) {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
Sentry.setContext("cli", {
|
|
71
|
-
version: "9.
|
|
71
|
+
version: "9.94.1",
|
|
72
72
|
command: process.argv.slice(2).join(" ")
|
|
73
73
|
});
|
|
74
74
|
Sentry.setContext("runtime", {
|
|
@@ -494,7 +494,7 @@ var agentDefinitionSchema = z3.object({
|
|
|
494
494
|
* Map format: { slack: { permissions: [...] | "all" } }
|
|
495
495
|
* Resolved to full ExpandedFirewallConfig[] at runtime.
|
|
496
496
|
*/
|
|
497
|
-
|
|
497
|
+
firewalls: z3.record(
|
|
498
498
|
z3.string(),
|
|
499
499
|
z3.object({
|
|
500
500
|
permissions: z3.union([z3.literal("all"), z3.array(z3.string()).min(1)])
|
|
@@ -513,7 +513,7 @@ var agentComposeApiContentSchema = z3.object({
|
|
|
513
513
|
agentDefinitionSchema.extend({
|
|
514
514
|
// Legacy: older compose versions may have this field (map or expanded array).
|
|
515
515
|
// Accepted for backward compat but ignored at runtime.
|
|
516
|
-
|
|
516
|
+
firewalls: z3.unknown().optional()
|
|
517
517
|
})
|
|
518
518
|
),
|
|
519
519
|
volumes: z3.record(z3.string(), volumeConfigSchema).optional()
|
|
@@ -754,7 +754,7 @@ var firewallSchema = z4.object({
|
|
|
754
754
|
ref: z4.string(),
|
|
755
755
|
apis: z4.array(firewallApiSchema)
|
|
756
756
|
});
|
|
757
|
-
var
|
|
757
|
+
var firewallsSchema = z4.array(firewallSchema);
|
|
758
758
|
var firewallConfigSchema = z4.object({
|
|
759
759
|
name: z4.string().min(1, "Firewall name is required"),
|
|
760
760
|
description: z4.string().optional(),
|
|
@@ -929,7 +929,8 @@ var orgMembersResponseSchema = z6.object({
|
|
|
929
929
|
createdAt: z6.string()
|
|
930
930
|
});
|
|
931
931
|
var inviteOrgMemberRequestSchema = z6.object({
|
|
932
|
-
email: z6.string().email()
|
|
932
|
+
email: z6.string().email(),
|
|
933
|
+
role: orgRoleSchema.optional().default("member")
|
|
933
934
|
});
|
|
934
935
|
var removeOrgMemberRequestSchema = z6.object({
|
|
935
936
|
email: z6.string().email()
|
|
@@ -1051,8 +1052,6 @@ var unifiedRunRequestSchema = z8.object({
|
|
|
1051
1052
|
debugNoMockClaude: z8.boolean().optional(),
|
|
1052
1053
|
// Model provider for automatic secret injection
|
|
1053
1054
|
modelProvider: z8.string().optional(),
|
|
1054
|
-
// Environment validation flag - when true, validates secrets/vars before running
|
|
1055
|
-
checkEnv: z8.boolean().optional(),
|
|
1056
1055
|
// Required
|
|
1057
1056
|
prompt: z8.string().min(1, "Missing prompt"),
|
|
1058
1057
|
// Optional system prompt to append to the agent's system prompt
|
|
@@ -2123,8 +2122,7 @@ var cliAuthTokenContract = c7.router({
|
|
|
2123
2122
|
200: z11.object({
|
|
2124
2123
|
access_token: z11.string(),
|
|
2125
2124
|
token_type: z11.literal("Bearer"),
|
|
2126
|
-
expires_in: z11.number()
|
|
2127
|
-
org_slug: z11.string().optional()
|
|
2125
|
+
expires_in: z11.number()
|
|
2128
2126
|
}),
|
|
2129
2127
|
// Authorization pending
|
|
2130
2128
|
202: oauthErrorSchema,
|
|
@@ -2152,8 +2150,7 @@ var cliAuthOrgContract = c7.router({
|
|
|
2152
2150
|
200: z11.object({
|
|
2153
2151
|
access_token: z11.string(),
|
|
2154
2152
|
token_type: z11.literal("Bearer"),
|
|
2155
|
-
expires_in: z11.number()
|
|
2156
|
-
org_slug: z11.string()
|
|
2153
|
+
expires_in: z11.number()
|
|
2157
2154
|
}),
|
|
2158
2155
|
400: oauthErrorSchema,
|
|
2159
2156
|
401: apiErrorResponseSchema,
|
|
@@ -3050,8 +3047,8 @@ var storedExecutionContextSchema = z19.object({
|
|
|
3050
3047
|
userTimezone: z19.string().optional(),
|
|
3051
3048
|
// Memory storage name (for first-run when manifest.memory is null)
|
|
3052
3049
|
memoryName: z19.string().optional(),
|
|
3053
|
-
//
|
|
3054
|
-
|
|
3050
|
+
// Firewall for proxy-side token replacement
|
|
3051
|
+
firewalls: firewallsSchema.optional(),
|
|
3055
3052
|
// Tools to disable in Claude CLI (passed as --disallowed-tools)
|
|
3056
3053
|
disallowedTools: z19.array(z19.string()).optional(),
|
|
3057
3054
|
// Tools to make available in Claude CLI (passed as --tools)
|
|
@@ -3088,8 +3085,8 @@ var executionContextSchema = z19.object({
|
|
|
3088
3085
|
userTimezone: z19.string().optional(),
|
|
3089
3086
|
// Memory storage name (for first-run when manifest.memory is null)
|
|
3090
3087
|
memoryName: z19.string().optional(),
|
|
3091
|
-
//
|
|
3092
|
-
|
|
3088
|
+
// Firewall for proxy-side token replacement
|
|
3089
|
+
firewalls: firewallsSchema.optional(),
|
|
3093
3090
|
// Tools to disable in Claude CLI (passed as --disallowed-tools)
|
|
3094
3091
|
disallowedTools: z19.array(z19.string()).optional(),
|
|
3095
3092
|
// Tools to make available in Claude CLI (passed as --tools)
|
|
@@ -6740,6 +6737,7 @@ var slackFirewall = {
|
|
|
6740
6737
|
permissions: [
|
|
6741
6738
|
{
|
|
6742
6739
|
name: "admin",
|
|
6740
|
+
description: "Administer a workspace (access audit logs, SCIM API, and billing info)",
|
|
6743
6741
|
rules: [
|
|
6744
6742
|
"POST /admin.audit.anomaly.allow.getItem",
|
|
6745
6743
|
"POST /admin.audit.anomaly.allow.updateItem",
|
|
@@ -6750,6 +6748,7 @@ var slackFirewall = {
|
|
|
6750
6748
|
},
|
|
6751
6749
|
{
|
|
6752
6750
|
name: "admin.analytics:read",
|
|
6751
|
+
description: "Access workspace analytics data",
|
|
6753
6752
|
rules: [
|
|
6754
6753
|
"GET /admin.analytics.getFile",
|
|
6755
6754
|
"GET /admin.analytics.messages.activity",
|
|
@@ -6758,10 +6757,12 @@ var slackFirewall = {
|
|
|
6758
6757
|
},
|
|
6759
6758
|
{
|
|
6760
6759
|
name: "admin.app_activities:read",
|
|
6760
|
+
description: "View app activities within an Enterprise organization",
|
|
6761
6761
|
rules: ["POST /admin.apps.activities.list"]
|
|
6762
6762
|
},
|
|
6763
6763
|
{
|
|
6764
6764
|
name: "admin.apps:read",
|
|
6765
|
+
description: "View apps and app requests in an Enterprise organization",
|
|
6765
6766
|
rules: [
|
|
6766
6767
|
"GET /admin.apps.approved.list",
|
|
6767
6768
|
"POST /admin.apps.config.lookup",
|
|
@@ -6771,6 +6772,7 @@ var slackFirewall = {
|
|
|
6771
6772
|
},
|
|
6772
6773
|
{
|
|
6773
6774
|
name: "admin.apps:write",
|
|
6775
|
+
description: "Manage apps and app requests in an Enterprise organization",
|
|
6774
6776
|
rules: [
|
|
6775
6777
|
"POST /admin.apps.approve",
|
|
6776
6778
|
"POST /admin.apps.clearResolution",
|
|
@@ -6782,10 +6784,12 @@ var slackFirewall = {
|
|
|
6782
6784
|
},
|
|
6783
6785
|
{
|
|
6784
6786
|
name: "admin.barriers:read",
|
|
6787
|
+
description: "Read information barriers in an Enterprise organization",
|
|
6785
6788
|
rules: ["GET /admin.barriers.list"]
|
|
6786
6789
|
},
|
|
6787
6790
|
{
|
|
6788
6791
|
name: "admin.barriers:write",
|
|
6792
|
+
description: "Manage information barriers in an Enterprise organization",
|
|
6789
6793
|
rules: [
|
|
6790
6794
|
"POST /admin.barriers.create",
|
|
6791
6795
|
"POST /admin.barriers.delete",
|
|
@@ -6794,6 +6798,7 @@ var slackFirewall = {
|
|
|
6794
6798
|
},
|
|
6795
6799
|
{
|
|
6796
6800
|
name: "admin.conversations:manage_objects",
|
|
6801
|
+
description: "Manage channel objects in an Enterprise organization",
|
|
6797
6802
|
rules: [
|
|
6798
6803
|
"POST /admin.conversations.createForObjects",
|
|
6799
6804
|
"POST /admin.conversations.linkObjects",
|
|
@@ -6802,6 +6807,7 @@ var slackFirewall = {
|
|
|
6802
6807
|
},
|
|
6803
6808
|
{
|
|
6804
6809
|
name: "admin.conversations:read",
|
|
6810
|
+
description: "View channels and their settings in an Enterprise organization",
|
|
6805
6811
|
rules: [
|
|
6806
6812
|
"POST /admin.conversations.ekm.listOriginalConnectedChannelInfo",
|
|
6807
6813
|
"POST /admin.conversations.getConversationPrefs",
|
|
@@ -6814,6 +6820,7 @@ var slackFirewall = {
|
|
|
6814
6820
|
},
|
|
6815
6821
|
{
|
|
6816
6822
|
name: "admin.conversations:write",
|
|
6823
|
+
description: "Set channel settings in an Enterprise organization",
|
|
6817
6824
|
rules: [
|
|
6818
6825
|
"POST /admin.conversations.archive",
|
|
6819
6826
|
"POST /admin.conversations.bulkArchive",
|
|
@@ -6838,6 +6845,7 @@ var slackFirewall = {
|
|
|
6838
6845
|
},
|
|
6839
6846
|
{
|
|
6840
6847
|
name: "admin.invites:read",
|
|
6848
|
+
description: "View workspace invite requests in an Enterprise organization",
|
|
6841
6849
|
rules: [
|
|
6842
6850
|
"POST /admin.inviteRequests.approved.list",
|
|
6843
6851
|
"POST /admin.inviteRequests.denied.list",
|
|
@@ -6846,6 +6854,7 @@ var slackFirewall = {
|
|
|
6846
6854
|
},
|
|
6847
6855
|
{
|
|
6848
6856
|
name: "admin.invites:write",
|
|
6857
|
+
description: "Manage workspace invite requests in an Enterprise organization",
|
|
6849
6858
|
rules: [
|
|
6850
6859
|
"POST /admin.inviteRequests.approve",
|
|
6851
6860
|
"POST /admin.inviteRequests.deny"
|
|
@@ -6853,10 +6862,12 @@ var slackFirewall = {
|
|
|
6853
6862
|
},
|
|
6854
6863
|
{
|
|
6855
6864
|
name: "admin.roles:read",
|
|
6865
|
+
description: "View role assignments in an Enterprise organization",
|
|
6856
6866
|
rules: ["GET /admin.roles.listAssignments"]
|
|
6857
6867
|
},
|
|
6858
6868
|
{
|
|
6859
6869
|
name: "admin.roles:write",
|
|
6870
|
+
description: "Manage role assignments in an Enterprise organization",
|
|
6860
6871
|
rules: [
|
|
6861
6872
|
"POST /admin.roles.addAssignments",
|
|
6862
6873
|
"POST /admin.roles.removeAssignments"
|
|
@@ -6864,6 +6875,7 @@ var slackFirewall = {
|
|
|
6864
6875
|
},
|
|
6865
6876
|
{
|
|
6866
6877
|
name: "admin.teams:read",
|
|
6878
|
+
description: "View workspace settings in an Enterprise organization",
|
|
6867
6879
|
rules: [
|
|
6868
6880
|
"GET /admin.emoji.list",
|
|
6869
6881
|
"GET /admin.teams.admins.list",
|
|
@@ -6874,6 +6886,7 @@ var slackFirewall = {
|
|
|
6874
6886
|
},
|
|
6875
6887
|
{
|
|
6876
6888
|
name: "admin.teams:write",
|
|
6889
|
+
description: "Manage workspace settings in an Enterprise organization",
|
|
6877
6890
|
rules: [
|
|
6878
6891
|
"GET /admin.emoji.add",
|
|
6879
6892
|
"GET /admin.emoji.addAlias",
|
|
@@ -6890,10 +6903,12 @@ var slackFirewall = {
|
|
|
6890
6903
|
},
|
|
6891
6904
|
{
|
|
6892
6905
|
name: "admin.usergroups:read",
|
|
6906
|
+
description: "View user groups in an Enterprise organization",
|
|
6893
6907
|
rules: ["POST /admin.usergroups.listChannels"]
|
|
6894
6908
|
},
|
|
6895
6909
|
{
|
|
6896
6910
|
name: "admin.usergroups:write",
|
|
6911
|
+
description: "Manage user groups in an Enterprise organization",
|
|
6897
6912
|
rules: [
|
|
6898
6913
|
"POST /admin.usergroups.addChannels",
|
|
6899
6914
|
"POST /admin.usergroups.removeChannels"
|
|
@@ -6901,6 +6916,7 @@ var slackFirewall = {
|
|
|
6901
6916
|
},
|
|
6902
6917
|
{
|
|
6903
6918
|
name: "admin.users:read",
|
|
6919
|
+
description: "View users in an Enterprise organization",
|
|
6904
6920
|
rules: [
|
|
6905
6921
|
"POST /admin.auth.policy.getEntities",
|
|
6906
6922
|
"GET /admin.users.getExpiration",
|
|
@@ -6912,6 +6928,7 @@ var slackFirewall = {
|
|
|
6912
6928
|
},
|
|
6913
6929
|
{
|
|
6914
6930
|
name: "admin.users:write",
|
|
6931
|
+
description: "Manage users in an Enterprise organization",
|
|
6915
6932
|
rules: [
|
|
6916
6933
|
"POST /admin.auth.policy.assignEntities",
|
|
6917
6934
|
"POST /admin.auth.policy.removeEntities",
|
|
@@ -6931,6 +6948,7 @@ var slackFirewall = {
|
|
|
6931
6948
|
},
|
|
6932
6949
|
{
|
|
6933
6950
|
name: "admin.workflows:read",
|
|
6951
|
+
description: "View workflow builder workflows in an Enterprise organization",
|
|
6934
6952
|
rules: [
|
|
6935
6953
|
"POST /admin.functions.list",
|
|
6936
6954
|
"POST /admin.functions.permissions.lookup",
|
|
@@ -6941,6 +6959,7 @@ var slackFirewall = {
|
|
|
6941
6959
|
},
|
|
6942
6960
|
{
|
|
6943
6961
|
name: "admin.workflows:write",
|
|
6962
|
+
description: "Manage workflow builder workflows in an Enterprise organization",
|
|
6944
6963
|
rules: [
|
|
6945
6964
|
"POST /admin.workflows.collaborators.add",
|
|
6946
6965
|
"POST /admin.workflows.collaborators.remove",
|
|
@@ -6949,6 +6968,7 @@ var slackFirewall = {
|
|
|
6949
6968
|
},
|
|
6950
6969
|
{
|
|
6951
6970
|
name: "assistant:write",
|
|
6971
|
+
description: "Act as an AI Assistant app",
|
|
6952
6972
|
rules: [
|
|
6953
6973
|
"POST /assistant.threads.setSuggestedPrompts",
|
|
6954
6974
|
"POST /assistant.threads.setTitle"
|
|
@@ -6956,10 +6976,12 @@ var slackFirewall = {
|
|
|
6956
6976
|
},
|
|
6957
6977
|
{
|
|
6958
6978
|
name: "bookmarks:read",
|
|
6979
|
+
description: "List bookmarks in channels",
|
|
6959
6980
|
rules: ["POST /bookmarks.list", "POST /workflows.featured.list"]
|
|
6960
6981
|
},
|
|
6961
6982
|
{
|
|
6962
6983
|
name: "bookmarks:write",
|
|
6984
|
+
description: "Create, edit, and remove bookmarks",
|
|
6963
6985
|
rules: [
|
|
6964
6986
|
"POST /bookmarks.add",
|
|
6965
6987
|
"POST /bookmarks.edit",
|
|
@@ -6971,10 +6993,12 @@ var slackFirewall = {
|
|
|
6971
6993
|
},
|
|
6972
6994
|
{
|
|
6973
6995
|
name: "calls:read",
|
|
6996
|
+
description: "View information about ongoing and past calls",
|
|
6974
6997
|
rules: ["POST /calls.info"]
|
|
6975
6998
|
},
|
|
6976
6999
|
{
|
|
6977
7000
|
name: "calls:write",
|
|
7001
|
+
description: "Start and manage calls in a workspace",
|
|
6978
7002
|
rules: [
|
|
6979
7003
|
"POST /calls.add",
|
|
6980
7004
|
"POST /calls.end",
|
|
@@ -6985,10 +7009,12 @@ var slackFirewall = {
|
|
|
6985
7009
|
},
|
|
6986
7010
|
{
|
|
6987
7011
|
name: "canvases:read",
|
|
7012
|
+
description: "Access contents of canvases created inside Slack",
|
|
6988
7013
|
rules: ["POST /canvases.sections.lookup"]
|
|
6989
7014
|
},
|
|
6990
7015
|
{
|
|
6991
7016
|
name: "canvases:write",
|
|
7017
|
+
description: "Create and edit canvases",
|
|
6992
7018
|
rules: [
|
|
6993
7019
|
"POST /canvases.access.delete",
|
|
6994
7020
|
"POST /canvases.access.set",
|
|
@@ -7000,14 +7026,17 @@ var slackFirewall = {
|
|
|
7000
7026
|
},
|
|
7001
7027
|
{
|
|
7002
7028
|
name: "channels:history",
|
|
7029
|
+
description: "View messages and other content in public channels that the app has been added to",
|
|
7003
7030
|
rules: ["GET /conversations.history", "GET /conversations.replies"]
|
|
7004
7031
|
},
|
|
7005
7032
|
{
|
|
7006
7033
|
name: "channels:join",
|
|
7034
|
+
description: "Join public channels in a workspace",
|
|
7007
7035
|
rules: ["POST /conversations.join"]
|
|
7008
7036
|
},
|
|
7009
7037
|
{
|
|
7010
7038
|
name: "channels:manage",
|
|
7039
|
+
description: "Manage public channels that the app has been added to and create new ones",
|
|
7011
7040
|
rules: [
|
|
7012
7041
|
"POST /conversations.archive",
|
|
7013
7042
|
"POST /conversations.close",
|
|
@@ -7025,6 +7054,7 @@ var slackFirewall = {
|
|
|
7025
7054
|
},
|
|
7026
7055
|
{
|
|
7027
7056
|
name: "channels:read",
|
|
7057
|
+
description: "View basic information about public channels in a workspace",
|
|
7028
7058
|
rules: [
|
|
7029
7059
|
"GET /conversations.info",
|
|
7030
7060
|
"GET /conversations.list",
|
|
@@ -7034,6 +7064,7 @@ var slackFirewall = {
|
|
|
7034
7064
|
},
|
|
7035
7065
|
{
|
|
7036
7066
|
name: "channels:write",
|
|
7067
|
+
description: "Manage a user's public channels and create new ones on a user's behalf",
|
|
7037
7068
|
rules: [
|
|
7038
7069
|
"POST /conversations.archive",
|
|
7039
7070
|
"POST /conversations.close",
|
|
@@ -7052,10 +7083,12 @@ var slackFirewall = {
|
|
|
7052
7083
|
},
|
|
7053
7084
|
{
|
|
7054
7085
|
name: "channels:write.invites",
|
|
7086
|
+
description: "Invite members to public channels",
|
|
7055
7087
|
rules: ["POST /conversations.invite"]
|
|
7056
7088
|
},
|
|
7057
7089
|
{
|
|
7058
7090
|
name: "channels:write.topic",
|
|
7091
|
+
description: "Set the topic and purpose of public channels",
|
|
7059
7092
|
rules: [
|
|
7060
7093
|
"POST /conversations.setPurpose",
|
|
7061
7094
|
"POST /conversations.setTopic"
|
|
@@ -7063,6 +7096,7 @@ var slackFirewall = {
|
|
|
7063
7096
|
},
|
|
7064
7097
|
{
|
|
7065
7098
|
name: "chat:write",
|
|
7099
|
+
description: "Send messages as the app",
|
|
7066
7100
|
rules: [
|
|
7067
7101
|
"POST /assistant.threads.setStatus",
|
|
7068
7102
|
"POST /chat.appendStream",
|
|
@@ -7079,6 +7113,7 @@ var slackFirewall = {
|
|
|
7079
7113
|
},
|
|
7080
7114
|
{
|
|
7081
7115
|
name: "client",
|
|
7116
|
+
description: "Full access to all client features (legacy, deprecated)",
|
|
7082
7117
|
rules: [
|
|
7083
7118
|
"POST /admin.workflows.triggers.types.permissions.lookup",
|
|
7084
7119
|
"POST /admin.workflows.triggers.types.permissions.set"
|
|
@@ -7086,6 +7121,7 @@ var slackFirewall = {
|
|
|
7086
7121
|
},
|
|
7087
7122
|
{
|
|
7088
7123
|
name: "conversations.connect:manage",
|
|
7124
|
+
description: "Manage Slack Connect channels (approve or decline invitations)",
|
|
7089
7125
|
rules: [
|
|
7090
7126
|
"POST /conversations.approveSharedInvite",
|
|
7091
7127
|
"GET /conversations.declineSharedInvite",
|
|
@@ -7101,6 +7137,7 @@ var slackFirewall = {
|
|
|
7101
7137
|
},
|
|
7102
7138
|
{
|
|
7103
7139
|
name: "conversations.connect:write",
|
|
7140
|
+
description: "Create Slack Connect invitations and accept invitations",
|
|
7104
7141
|
rules: [
|
|
7105
7142
|
"POST /conversations.acceptSharedInvite",
|
|
7106
7143
|
"GET /conversations.inviteShared"
|
|
@@ -7108,6 +7145,7 @@ var slackFirewall = {
|
|
|
7108
7145
|
},
|
|
7109
7146
|
{
|
|
7110
7147
|
name: "datastore:read",
|
|
7148
|
+
description: "Read data from Slack's hosted datastore",
|
|
7111
7149
|
rules: [
|
|
7112
7150
|
"POST /apps.datastore.bulkGet",
|
|
7113
7151
|
"POST /apps.datastore.count",
|
|
@@ -7117,6 +7155,7 @@ var slackFirewall = {
|
|
|
7117
7155
|
},
|
|
7118
7156
|
{
|
|
7119
7157
|
name: "datastore:write",
|
|
7158
|
+
description: "Write data to Slack's hosted datastore",
|
|
7120
7159
|
rules: [
|
|
7121
7160
|
"POST /apps.datastore.bulkDelete",
|
|
7122
7161
|
"POST /apps.datastore.bulkPut",
|
|
@@ -7127,10 +7166,12 @@ var slackFirewall = {
|
|
|
7127
7166
|
},
|
|
7128
7167
|
{
|
|
7129
7168
|
name: "dnd:read",
|
|
7169
|
+
description: "View Do Not Disturb settings for people in a workspace",
|
|
7130
7170
|
rules: ["GET /dnd.info", "GET /dnd.teamInfo"]
|
|
7131
7171
|
},
|
|
7132
7172
|
{
|
|
7133
7173
|
name: "dnd:write",
|
|
7174
|
+
description: "Edit a user's Do Not Disturb settings",
|
|
7134
7175
|
rules: [
|
|
7135
7176
|
"POST /dnd.endDnd",
|
|
7136
7177
|
"POST /dnd.endSnooze",
|
|
@@ -7139,14 +7180,17 @@ var slackFirewall = {
|
|
|
7139
7180
|
},
|
|
7140
7181
|
{
|
|
7141
7182
|
name: "emoji:read",
|
|
7183
|
+
description: "View custom emoji in a workspace",
|
|
7142
7184
|
rules: ["GET /emoji.list"]
|
|
7143
7185
|
},
|
|
7144
7186
|
{
|
|
7145
7187
|
name: "files:read",
|
|
7188
|
+
description: "View files shared in channels and conversations that the app has been added to",
|
|
7146
7189
|
rules: ["GET /files.info", "GET /files.list"]
|
|
7147
7190
|
},
|
|
7148
7191
|
{
|
|
7149
7192
|
name: "files:write",
|
|
7193
|
+
description: "Upload, edit, and delete files as the app",
|
|
7150
7194
|
rules: [
|
|
7151
7195
|
"POST /files.comments.delete",
|
|
7152
7196
|
"POST /files.completeUploadExternal",
|
|
@@ -7159,10 +7203,12 @@ var slackFirewall = {
|
|
|
7159
7203
|
},
|
|
7160
7204
|
{
|
|
7161
7205
|
name: "groups:history",
|
|
7206
|
+
description: "View messages and other content in private channels that the app has been added to",
|
|
7162
7207
|
rules: ["GET /conversations.history", "GET /conversations.replies"]
|
|
7163
7208
|
},
|
|
7164
7209
|
{
|
|
7165
7210
|
name: "groups:read",
|
|
7211
|
+
description: "View basic information about private channels that the app has been added to",
|
|
7166
7212
|
rules: [
|
|
7167
7213
|
"GET /conversations.info",
|
|
7168
7214
|
"GET /conversations.list",
|
|
@@ -7172,6 +7218,7 @@ var slackFirewall = {
|
|
|
7172
7218
|
},
|
|
7173
7219
|
{
|
|
7174
7220
|
name: "groups:write",
|
|
7221
|
+
description: "Manage private channels that the user is a member of and create new ones",
|
|
7175
7222
|
rules: [
|
|
7176
7223
|
"POST /conversations.archive",
|
|
7177
7224
|
"POST /conversations.close",
|
|
@@ -7189,10 +7236,12 @@ var slackFirewall = {
|
|
|
7189
7236
|
},
|
|
7190
7237
|
{
|
|
7191
7238
|
name: "groups:write.invites",
|
|
7239
|
+
description: "Invite members to private channels",
|
|
7192
7240
|
rules: ["POST /conversations.invite"]
|
|
7193
7241
|
},
|
|
7194
7242
|
{
|
|
7195
7243
|
name: "groups:write.topic",
|
|
7244
|
+
description: "Set the topic and purpose of private channels",
|
|
7196
7245
|
rules: [
|
|
7197
7246
|
"POST /conversations.setPurpose",
|
|
7198
7247
|
"POST /conversations.setTopic"
|
|
@@ -7200,18 +7249,22 @@ var slackFirewall = {
|
|
|
7200
7249
|
},
|
|
7201
7250
|
{
|
|
7202
7251
|
name: "hosting:read",
|
|
7252
|
+
description: "Read hosting environment information",
|
|
7203
7253
|
rules: ["POST /apps.activities.list"]
|
|
7204
7254
|
},
|
|
7205
7255
|
{
|
|
7206
7256
|
name: "identity:read",
|
|
7257
|
+
description: "View a user's Slack identity (Sign in with Slack)",
|
|
7207
7258
|
rules: ["GET /users.identity"]
|
|
7208
7259
|
},
|
|
7209
7260
|
{
|
|
7210
7261
|
name: "im:history",
|
|
7262
|
+
description: "View messages and other content in direct messages that the app has been added to",
|
|
7211
7263
|
rules: ["GET /conversations.history", "GET /conversations.replies"]
|
|
7212
7264
|
},
|
|
7213
7265
|
{
|
|
7214
7266
|
name: "im:read",
|
|
7267
|
+
description: "View basic information about direct messages that the app has access to",
|
|
7215
7268
|
rules: [
|
|
7216
7269
|
"GET /conversations.info",
|
|
7217
7270
|
"GET /conversations.list",
|
|
@@ -7221,6 +7274,7 @@ var slackFirewall = {
|
|
|
7221
7274
|
},
|
|
7222
7275
|
{
|
|
7223
7276
|
name: "im:write",
|
|
7277
|
+
description: "Start direct messages with people",
|
|
7224
7278
|
rules: [
|
|
7225
7279
|
"POST /conversations.archive",
|
|
7226
7280
|
"POST /conversations.close",
|
|
@@ -7238,6 +7292,7 @@ var slackFirewall = {
|
|
|
7238
7292
|
},
|
|
7239
7293
|
{
|
|
7240
7294
|
name: "im:write.topic",
|
|
7295
|
+
description: "Set the topic of direct messages",
|
|
7241
7296
|
rules: [
|
|
7242
7297
|
"POST /conversations.setPurpose",
|
|
7243
7298
|
"POST /conversations.setTopic"
|
|
@@ -7245,10 +7300,12 @@ var slackFirewall = {
|
|
|
7245
7300
|
},
|
|
7246
7301
|
{
|
|
7247
7302
|
name: "links:write",
|
|
7303
|
+
description: "Show previews of URLs in messages",
|
|
7248
7304
|
rules: ["POST /chat.unfurl"]
|
|
7249
7305
|
},
|
|
7250
7306
|
{
|
|
7251
7307
|
name: "lists:read",
|
|
7308
|
+
description: "View lists in a workspace",
|
|
7252
7309
|
rules: [
|
|
7253
7310
|
"POST /slackLists.download.get",
|
|
7254
7311
|
"POST /slackLists.download.start",
|
|
@@ -7258,6 +7315,7 @@ var slackFirewall = {
|
|
|
7258
7315
|
},
|
|
7259
7316
|
{
|
|
7260
7317
|
name: "lists:write",
|
|
7318
|
+
description: "Create and manage lists in a workspace",
|
|
7261
7319
|
rules: [
|
|
7262
7320
|
"POST /slackLists.access.delete",
|
|
7263
7321
|
"POST /slackLists.access.set",
|
|
@@ -7271,10 +7329,12 @@ var slackFirewall = {
|
|
|
7271
7329
|
},
|
|
7272
7330
|
{
|
|
7273
7331
|
name: "mpim:history",
|
|
7332
|
+
description: "View messages and other content in group direct messages that the app has been added to",
|
|
7274
7333
|
rules: ["GET /conversations.history", "GET /conversations.replies"]
|
|
7275
7334
|
},
|
|
7276
7335
|
{
|
|
7277
7336
|
name: "mpim:read",
|
|
7337
|
+
description: "View basic information about group direct messages that the app has been added to",
|
|
7278
7338
|
rules: [
|
|
7279
7339
|
"GET /conversations.info",
|
|
7280
7340
|
"GET /conversations.list",
|
|
@@ -7284,6 +7344,7 @@ var slackFirewall = {
|
|
|
7284
7344
|
},
|
|
7285
7345
|
{
|
|
7286
7346
|
name: "mpim:write",
|
|
7347
|
+
description: "Start group direct messages with people",
|
|
7287
7348
|
rules: [
|
|
7288
7349
|
"POST /conversations.archive",
|
|
7289
7350
|
"POST /conversations.close",
|
|
@@ -7301,6 +7362,7 @@ var slackFirewall = {
|
|
|
7301
7362
|
},
|
|
7302
7363
|
{
|
|
7303
7364
|
name: "mpim:write.topic",
|
|
7365
|
+
description: "Set the topic and purpose of group direct messages",
|
|
7304
7366
|
rules: [
|
|
7305
7367
|
"POST /conversations.setPurpose",
|
|
7306
7368
|
"POST /conversations.setTopic"
|
|
@@ -7308,30 +7370,37 @@ var slackFirewall = {
|
|
|
7308
7370
|
},
|
|
7309
7371
|
{
|
|
7310
7372
|
name: "openid",
|
|
7373
|
+
description: "View information about a user's identity (Sign in with Slack)",
|
|
7311
7374
|
rules: ["POST /openid.connect.userInfo"]
|
|
7312
7375
|
},
|
|
7313
7376
|
{
|
|
7314
7377
|
name: "pins:read",
|
|
7378
|
+
description: "View pinned content in channels and conversations that the app has been added to",
|
|
7315
7379
|
rules: ["GET /pins.list"]
|
|
7316
7380
|
},
|
|
7317
7381
|
{
|
|
7318
7382
|
name: "pins:write",
|
|
7383
|
+
description: "Add and remove pinned messages and files",
|
|
7319
7384
|
rules: ["POST /pins.add", "POST /pins.remove"]
|
|
7320
7385
|
},
|
|
7321
7386
|
{
|
|
7322
7387
|
name: "reactions:read",
|
|
7388
|
+
description: "View emoji reactions and their associated content in channels and conversations",
|
|
7323
7389
|
rules: ["GET /reactions.get", "GET /reactions.list"]
|
|
7324
7390
|
},
|
|
7325
7391
|
{
|
|
7326
7392
|
name: "reactions:write",
|
|
7393
|
+
description: "Add and edit emoji reactions",
|
|
7327
7394
|
rules: ["POST /reactions.add", "POST /reactions.remove"]
|
|
7328
7395
|
},
|
|
7329
7396
|
{
|
|
7330
7397
|
name: "reminders:read",
|
|
7398
|
+
description: "View reminders created by the app",
|
|
7331
7399
|
rules: ["GET /reminders.info", "GET /reminders.list"]
|
|
7332
7400
|
},
|
|
7333
7401
|
{
|
|
7334
7402
|
name: "reminders:write",
|
|
7403
|
+
description: "Add, remove, or complete reminders",
|
|
7335
7404
|
rules: [
|
|
7336
7405
|
"POST /reminders.add",
|
|
7337
7406
|
"POST /reminders.complete",
|
|
@@ -7340,14 +7409,17 @@ var slackFirewall = {
|
|
|
7340
7409
|
},
|
|
7341
7410
|
{
|
|
7342
7411
|
name: "remote_files:read",
|
|
7412
|
+
description: "View remote files added by the app in a workspace",
|
|
7343
7413
|
rules: ["GET /files.remote.info", "GET /files.remote.list"]
|
|
7344
7414
|
},
|
|
7345
7415
|
{
|
|
7346
7416
|
name: "remote_files:share",
|
|
7417
|
+
description: "Share remote files on a user's behalf",
|
|
7347
7418
|
rules: ["GET /files.remote.share"]
|
|
7348
7419
|
},
|
|
7349
7420
|
{
|
|
7350
7421
|
name: "remote_files:write",
|
|
7422
|
+
description: "Add, edit, and delete remote files on a user's behalf",
|
|
7351
7423
|
rules: [
|
|
7352
7424
|
"POST /files.remote.add",
|
|
7353
7425
|
"POST /files.remote.remove",
|
|
@@ -7356,6 +7428,7 @@ var slackFirewall = {
|
|
|
7356
7428
|
},
|
|
7357
7429
|
{
|
|
7358
7430
|
name: "search:read",
|
|
7431
|
+
description: "Search a workspace's content",
|
|
7359
7432
|
rules: [
|
|
7360
7433
|
"POST /assistant.search.info",
|
|
7361
7434
|
"GET /search.all",
|
|
@@ -7365,22 +7438,27 @@ var slackFirewall = {
|
|
|
7365
7438
|
},
|
|
7366
7439
|
{
|
|
7367
7440
|
name: "search:read.files",
|
|
7441
|
+
description: "Search for files in a workspace",
|
|
7368
7442
|
rules: ["POST /assistant.search.context"]
|
|
7369
7443
|
},
|
|
7370
7444
|
{
|
|
7371
7445
|
name: "search:read.im",
|
|
7446
|
+
description: "Search direct messages",
|
|
7372
7447
|
rules: ["POST /assistant.search.context"]
|
|
7373
7448
|
},
|
|
7374
7449
|
{
|
|
7375
7450
|
name: "search:read.mpim",
|
|
7451
|
+
description: "Search group direct messages",
|
|
7376
7452
|
rules: ["POST /assistant.search.context"]
|
|
7377
7453
|
},
|
|
7378
7454
|
{
|
|
7379
7455
|
name: "search:read.private",
|
|
7456
|
+
description: "Search private channels",
|
|
7380
7457
|
rules: ["POST /assistant.search.context"]
|
|
7381
7458
|
},
|
|
7382
7459
|
{
|
|
7383
7460
|
name: "search:read.public",
|
|
7461
|
+
description: "Search public channels",
|
|
7384
7462
|
rules: [
|
|
7385
7463
|
"POST /assistant.search.context",
|
|
7386
7464
|
"POST /assistant.search.info"
|
|
@@ -7388,26 +7466,32 @@ var slackFirewall = {
|
|
|
7388
7466
|
},
|
|
7389
7467
|
{
|
|
7390
7468
|
name: "search:read.users",
|
|
7469
|
+
description: "Search for users in a workspace",
|
|
7391
7470
|
rules: ["POST /assistant.search.context"]
|
|
7392
7471
|
},
|
|
7393
7472
|
{
|
|
7394
7473
|
name: "stars:read",
|
|
7474
|
+
description: "View starred messages and files",
|
|
7395
7475
|
rules: ["GET /stars.list"]
|
|
7396
7476
|
},
|
|
7397
7477
|
{
|
|
7398
7478
|
name: "stars:write",
|
|
7479
|
+
description: "Add or remove stars (saved items)",
|
|
7399
7480
|
rules: ["POST /stars.add", "POST /stars.remove"]
|
|
7400
7481
|
},
|
|
7401
7482
|
{
|
|
7402
7483
|
name: "team.billing:read",
|
|
7484
|
+
description: "View billing information for a workspace",
|
|
7403
7485
|
rules: ["POST /team.billing.info"]
|
|
7404
7486
|
},
|
|
7405
7487
|
{
|
|
7406
7488
|
name: "team.preferences:read",
|
|
7489
|
+
description: "View team preferences",
|
|
7407
7490
|
rules: ["POST /team.preferences.list"]
|
|
7408
7491
|
},
|
|
7409
7492
|
{
|
|
7410
7493
|
name: "team:read",
|
|
7494
|
+
description: "View the name, email domain, and icon for workspaces the app is connected to",
|
|
7411
7495
|
rules: [
|
|
7412
7496
|
"GET /team.externalTeams.list",
|
|
7413
7497
|
"GET /team.info",
|
|
@@ -7416,14 +7500,17 @@ var slackFirewall = {
|
|
|
7416
7500
|
},
|
|
7417
7501
|
{
|
|
7418
7502
|
name: "tokens.basic",
|
|
7503
|
+
description: "Execute methods with no required scope",
|
|
7419
7504
|
rules: ["GET /migration.exchange"]
|
|
7420
7505
|
},
|
|
7421
7506
|
{
|
|
7422
7507
|
name: "triggers:read",
|
|
7508
|
+
description: "View triggers in a workspace",
|
|
7423
7509
|
rules: ["POST /workflows.triggers.permissions.list"]
|
|
7424
7510
|
},
|
|
7425
7511
|
{
|
|
7426
7512
|
name: "triggers:write",
|
|
7513
|
+
description: "Create and manage triggers in a workspace",
|
|
7427
7514
|
rules: [
|
|
7428
7515
|
"POST /workflows.triggers.permissions.add",
|
|
7429
7516
|
"POST /workflows.triggers.permissions.remove",
|
|
@@ -7432,10 +7519,12 @@ var slackFirewall = {
|
|
|
7432
7519
|
},
|
|
7433
7520
|
{
|
|
7434
7521
|
name: "usergroups:read",
|
|
7522
|
+
description: "View user groups in a workspace",
|
|
7435
7523
|
rules: ["GET /usergroups.list", "GET /usergroups.users.list"]
|
|
7436
7524
|
},
|
|
7437
7525
|
{
|
|
7438
7526
|
name: "usergroups:write",
|
|
7527
|
+
description: "Create and manage user groups",
|
|
7439
7528
|
rules: [
|
|
7440
7529
|
"POST /usergroups.create",
|
|
7441
7530
|
"POST /usergroups.disable",
|
|
@@ -7446,10 +7535,12 @@ var slackFirewall = {
|
|
|
7446
7535
|
},
|
|
7447
7536
|
{
|
|
7448
7537
|
name: "users.profile:read",
|
|
7538
|
+
description: "View profile details of people in a workspace",
|
|
7449
7539
|
rules: ["GET /team.profile.get", "GET /users.profile.get"]
|
|
7450
7540
|
},
|
|
7451
7541
|
{
|
|
7452
7542
|
name: "users.profile:write",
|
|
7543
|
+
description: "Edit a user's profile information and status",
|
|
7453
7544
|
rules: [
|
|
7454
7545
|
"GET /users.deletePhoto",
|
|
7455
7546
|
"POST /users.profile.set",
|
|
@@ -7458,6 +7549,7 @@ var slackFirewall = {
|
|
|
7458
7549
|
},
|
|
7459
7550
|
{
|
|
7460
7551
|
name: "users:read",
|
|
7552
|
+
description: "View people in a workspace",
|
|
7461
7553
|
rules: [
|
|
7462
7554
|
"GET /bots.info",
|
|
7463
7555
|
"GET /users.getPresence",
|
|
@@ -7467,10 +7559,12 @@ var slackFirewall = {
|
|
|
7467
7559
|
},
|
|
7468
7560
|
{
|
|
7469
7561
|
name: "users:read.email",
|
|
7562
|
+
description: "View email addresses of people in a workspace",
|
|
7470
7563
|
rules: ["GET /users.lookupByEmail"]
|
|
7471
7564
|
},
|
|
7472
7565
|
{
|
|
7473
7566
|
name: "users:write",
|
|
7567
|
+
description: "Set a user's presence status",
|
|
7474
7568
|
rules: [
|
|
7475
7569
|
"POST /apps.user.connection.update",
|
|
7476
7570
|
"POST /users.setActive",
|
|
@@ -7621,7 +7715,7 @@ var slackCategories = {
|
|
|
7621
7715
|
"channels:write.topic": "Write",
|
|
7622
7716
|
"datastore:write": "Write",
|
|
7623
7717
|
"dnd:write": "Write",
|
|
7624
|
-
"files:write": "
|
|
7718
|
+
"files:write": "Send",
|
|
7625
7719
|
"groups:write": "Write",
|
|
7626
7720
|
"groups:write.invites": "Write",
|
|
7627
7721
|
"groups:write.topic": "Write",
|
|
@@ -8944,7 +9038,261 @@ var axiomFirewall = {
|
|
|
8944
9038
|
Authorization: "Bearer ${{ secrets.AXIOM_TOKEN }}"
|
|
8945
9039
|
}
|
|
8946
9040
|
},
|
|
8947
|
-
permissions: [
|
|
9041
|
+
permissions: [
|
|
9042
|
+
{
|
|
9043
|
+
name: "annotations|create",
|
|
9044
|
+
rules: ["POST /v2/annotations"]
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
name: "annotations|delete",
|
|
9048
|
+
rules: ["DELETE /v2/annotations/{id}"]
|
|
9049
|
+
},
|
|
9050
|
+
{
|
|
9051
|
+
name: "annotations|read",
|
|
9052
|
+
rules: ["GET /v2/annotations", "GET /v2/annotations/{id}"]
|
|
9053
|
+
},
|
|
9054
|
+
{
|
|
9055
|
+
name: "annotations|update",
|
|
9056
|
+
rules: ["PUT /v2/annotations/{id}"]
|
|
9057
|
+
},
|
|
9058
|
+
{
|
|
9059
|
+
name: "apiTokens|create",
|
|
9060
|
+
rules: ["POST /v2/tokens"]
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
name: "apiTokens|delete",
|
|
9064
|
+
rules: ["DELETE /v2/tokens/{id}"]
|
|
9065
|
+
},
|
|
9066
|
+
{
|
|
9067
|
+
name: "apiTokens|read",
|
|
9068
|
+
rules: ["GET /v2/tokens", "GET /v2/tokens/{id}"]
|
|
9069
|
+
},
|
|
9070
|
+
{
|
|
9071
|
+
name: "apiTokens|update",
|
|
9072
|
+
rules: ["POST /v2/tokens/{id}/regenerate"]
|
|
9073
|
+
},
|
|
9074
|
+
{
|
|
9075
|
+
name: "dashboards|create",
|
|
9076
|
+
rules: ["POST /v2/dashboards"]
|
|
9077
|
+
},
|
|
9078
|
+
{
|
|
9079
|
+
name: "dashboards|delete",
|
|
9080
|
+
rules: ["DELETE /v2/dashboards/uid/{uid}"]
|
|
9081
|
+
},
|
|
9082
|
+
{
|
|
9083
|
+
name: "dashboards|read",
|
|
9084
|
+
rules: ["GET /v2/dashboards", "GET /v2/dashboards/uid/{uid}"]
|
|
9085
|
+
},
|
|
9086
|
+
{
|
|
9087
|
+
name: "dashboards|update",
|
|
9088
|
+
rules: ["PUT /v2/dashboards/uid/{uid}"]
|
|
9089
|
+
},
|
|
9090
|
+
{
|
|
9091
|
+
name: "datasets|create",
|
|
9092
|
+
rules: ["POST /v2/datasets"]
|
|
9093
|
+
},
|
|
9094
|
+
{
|
|
9095
|
+
name: "datasets|delete",
|
|
9096
|
+
rules: ["DELETE /v2/datasets/{dataset_id}"]
|
|
9097
|
+
},
|
|
9098
|
+
{
|
|
9099
|
+
name: "datasets|read",
|
|
9100
|
+
rules: [
|
|
9101
|
+
"GET /v1/datasets",
|
|
9102
|
+
"GET /v1/datasets/{dataset_name}",
|
|
9103
|
+
"GET /v2/datasets",
|
|
9104
|
+
"GET /v2/datasets/{dataset_id}",
|
|
9105
|
+
"GET /v2/datasets/{dataset_id}/fields",
|
|
9106
|
+
"GET /v2/datasets/{dataset_id}/fields/{field_id}",
|
|
9107
|
+
"GET /v2/datasets/{dataset_id}/mapfields"
|
|
9108
|
+
]
|
|
9109
|
+
},
|
|
9110
|
+
{
|
|
9111
|
+
name: "datasets|update",
|
|
9112
|
+
rules: [
|
|
9113
|
+
"POST /v1/datasets",
|
|
9114
|
+
"PUT /v1/datasets/{dataset_name}",
|
|
9115
|
+
"DELETE /v1/datasets/{dataset_name}",
|
|
9116
|
+
"POST /v1/datasets/{dataset_name}/trim",
|
|
9117
|
+
"PUT /v2/datasets/{dataset_id}",
|
|
9118
|
+
"PUT /v2/datasets/{dataset_id}/fields/{field_id}",
|
|
9119
|
+
"POST /v2/datasets/{dataset_id}/mapfields",
|
|
9120
|
+
"PUT /v2/datasets/{dataset_id}/mapfields",
|
|
9121
|
+
"DELETE /v2/datasets/{dataset_id}/mapfields/{map_field_name}"
|
|
9122
|
+
]
|
|
9123
|
+
},
|
|
9124
|
+
{
|
|
9125
|
+
name: "ingest|create",
|
|
9126
|
+
rules: [
|
|
9127
|
+
"POST /v1/datasets/{dataset_name}/ingest",
|
|
9128
|
+
"POST /v1/ingest/{dataset-id}"
|
|
9129
|
+
]
|
|
9130
|
+
},
|
|
9131
|
+
{
|
|
9132
|
+
name: "monitors|create",
|
|
9133
|
+
rules: ["POST /v2/monitors"]
|
|
9134
|
+
},
|
|
9135
|
+
{
|
|
9136
|
+
name: "monitors|delete",
|
|
9137
|
+
rules: ["DELETE /v2/monitors/{id}"]
|
|
9138
|
+
},
|
|
9139
|
+
{
|
|
9140
|
+
name: "monitors|read",
|
|
9141
|
+
rules: [
|
|
9142
|
+
"GET /v2/monitors",
|
|
9143
|
+
"GET /v2/monitors/{id}",
|
|
9144
|
+
"GET /v2/monitors/{id}/history"
|
|
9145
|
+
]
|
|
9146
|
+
},
|
|
9147
|
+
{
|
|
9148
|
+
name: "monitors|update",
|
|
9149
|
+
rules: ["PUT /v2/monitors/{id}"]
|
|
9150
|
+
},
|
|
9151
|
+
{
|
|
9152
|
+
name: "notifiers|create",
|
|
9153
|
+
rules: ["POST /v2/notifiers"]
|
|
9154
|
+
},
|
|
9155
|
+
{
|
|
9156
|
+
name: "notifiers|delete",
|
|
9157
|
+
rules: ["DELETE /v2/notifiers/{id}"]
|
|
9158
|
+
},
|
|
9159
|
+
{
|
|
9160
|
+
name: "notifiers|read",
|
|
9161
|
+
rules: ["GET /v2/notifiers", "GET /v2/notifiers/{id}"]
|
|
9162
|
+
},
|
|
9163
|
+
{
|
|
9164
|
+
name: "notifiers|update",
|
|
9165
|
+
rules: ["PUT /v2/notifiers/{id}"]
|
|
9166
|
+
},
|
|
9167
|
+
{
|
|
9168
|
+
name: "orgs|create",
|
|
9169
|
+
rules: ["POST /v2/orgs"]
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
name: "orgs|read",
|
|
9173
|
+
rules: ["GET /v2/orgs", "GET /v2/orgs/{id}"]
|
|
9174
|
+
},
|
|
9175
|
+
{
|
|
9176
|
+
name: "orgs|update",
|
|
9177
|
+
rules: ["PUT /v2/orgs/{id}"]
|
|
9178
|
+
},
|
|
9179
|
+
{
|
|
9180
|
+
name: "query|read",
|
|
9181
|
+
rules: [
|
|
9182
|
+
"POST /v1/datasets/_apl?format=tabular",
|
|
9183
|
+
"POST /v1/datasets/{dataset_name}/query",
|
|
9184
|
+
"POST /v1/query/_apl?format=tabular",
|
|
9185
|
+
"POST /v1/query/_mpl",
|
|
9186
|
+
"POST /v1/query/batch",
|
|
9187
|
+
"GET /v1/query/metrics/info/datasets/{dataset}/metrics",
|
|
9188
|
+
"POST /v1/query/metrics/info/datasets/{dataset}/metrics",
|
|
9189
|
+
"GET /v1/query/metrics/info/datasets/{dataset}/metrics/{metric}/tags",
|
|
9190
|
+
"GET /v1/query/metrics/info/datasets/{dataset}/metrics/{metric}/tags/{tag}/values",
|
|
9191
|
+
"GET /v1/query/metrics/info/datasets/{dataset}/tags",
|
|
9192
|
+
"GET /v1/query/metrics/info/datasets/{dataset}/tags/{tag}/values"
|
|
9193
|
+
]
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
name: "rbac|create",
|
|
9197
|
+
rules: [
|
|
9198
|
+
"POST /v2/rbac/groups",
|
|
9199
|
+
"PUT /v2/rbac/groups/{id}",
|
|
9200
|
+
"DELETE /v2/rbac/groups/{id}",
|
|
9201
|
+
"POST /v2/rbac/roles",
|
|
9202
|
+
"PUT /v2/rbac/roles/{id}",
|
|
9203
|
+
"DELETE /v2/rbac/roles/{id}"
|
|
9204
|
+
]
|
|
9205
|
+
},
|
|
9206
|
+
{
|
|
9207
|
+
name: "rbac|read",
|
|
9208
|
+
rules: [
|
|
9209
|
+
"GET /v2/rbac/groups",
|
|
9210
|
+
"GET /v2/rbac/groups/{id}",
|
|
9211
|
+
"GET /v2/rbac/roles",
|
|
9212
|
+
"GET /v2/rbac/roles/{id}"
|
|
9213
|
+
]
|
|
9214
|
+
},
|
|
9215
|
+
{
|
|
9216
|
+
name: "starredQueries|create",
|
|
9217
|
+
rules: ["POST /v2/apl-starred-queries"]
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
name: "starredQueries|delete",
|
|
9221
|
+
rules: ["DELETE /v2/apl-starred-queries/{id}"]
|
|
9222
|
+
},
|
|
9223
|
+
{
|
|
9224
|
+
name: "starredQueries|read",
|
|
9225
|
+
rules: [
|
|
9226
|
+
"GET /v2/apl-starred-queries",
|
|
9227
|
+
"GET /v2/apl-starred-queries/{id}"
|
|
9228
|
+
]
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
name: "starredQueries|update",
|
|
9232
|
+
rules: ["PUT /v2/apl-starred-queries/{id}"]
|
|
9233
|
+
},
|
|
9234
|
+
{
|
|
9235
|
+
name: "trim|update",
|
|
9236
|
+
rules: ["POST /v2/datasets/{dataset_id}/trim"]
|
|
9237
|
+
},
|
|
9238
|
+
{
|
|
9239
|
+
name: "users|create",
|
|
9240
|
+
rules: ["POST /v2/users"]
|
|
9241
|
+
},
|
|
9242
|
+
{
|
|
9243
|
+
name: "users|delete",
|
|
9244
|
+
rules: ["DELETE /v2/users/{id}"]
|
|
9245
|
+
},
|
|
9246
|
+
{
|
|
9247
|
+
name: "users|read",
|
|
9248
|
+
rules: [
|
|
9249
|
+
"GET /v1/user",
|
|
9250
|
+
"GET /v2/user",
|
|
9251
|
+
"GET /v2/users",
|
|
9252
|
+
"GET /v2/users/{id}"
|
|
9253
|
+
]
|
|
9254
|
+
},
|
|
9255
|
+
{
|
|
9256
|
+
name: "users|update",
|
|
9257
|
+
rules: ["PUT /v2/user", "PUT /v2/users/{id}/role"]
|
|
9258
|
+
},
|
|
9259
|
+
{
|
|
9260
|
+
name: "vacuum|update",
|
|
9261
|
+
rules: ["POST /v2/datasets/{dataset_id}/vacuum"]
|
|
9262
|
+
},
|
|
9263
|
+
{
|
|
9264
|
+
name: "views|create",
|
|
9265
|
+
rules: ["POST /v2/views"]
|
|
9266
|
+
},
|
|
9267
|
+
{
|
|
9268
|
+
name: "views|delete",
|
|
9269
|
+
rules: ["DELETE /v2/views/{id}"]
|
|
9270
|
+
},
|
|
9271
|
+
{
|
|
9272
|
+
name: "views|read",
|
|
9273
|
+
rules: ["GET /v2/views", "GET /v2/views/{id}"]
|
|
9274
|
+
},
|
|
9275
|
+
{
|
|
9276
|
+
name: "views|update",
|
|
9277
|
+
rules: ["PUT /v2/views/{id}"]
|
|
9278
|
+
},
|
|
9279
|
+
{
|
|
9280
|
+
name: "virtualFields|create",
|
|
9281
|
+
rules: ["POST /v2/vfields"]
|
|
9282
|
+
},
|
|
9283
|
+
{
|
|
9284
|
+
name: "virtualFields|delete",
|
|
9285
|
+
rules: ["DELETE /v2/vfields/{id}"]
|
|
9286
|
+
},
|
|
9287
|
+
{
|
|
9288
|
+
name: "virtualFields|read",
|
|
9289
|
+
rules: ["GET /v2/vfields", "GET /v2/vfields/{id}"]
|
|
9290
|
+
},
|
|
9291
|
+
{
|
|
9292
|
+
name: "virtualFields|update",
|
|
9293
|
+
rules: ["PUT /v2/vfields/{id}"]
|
|
9294
|
+
}
|
|
9295
|
+
]
|
|
8948
9296
|
}
|
|
8949
9297
|
]
|
|
8950
9298
|
};
|
|
@@ -9284,7 +9632,670 @@ var deelFirewall = {
|
|
|
9284
9632
|
Authorization: "Bearer ${{ secrets.DEEL_TOKEN }}"
|
|
9285
9633
|
}
|
|
9286
9634
|
},
|
|
9287
|
-
permissions: [
|
|
9635
|
+
permissions: [
|
|
9636
|
+
{
|
|
9637
|
+
name: "accounting:read",
|
|
9638
|
+
rules: [
|
|
9639
|
+
"GET /rest/v2/invoices",
|
|
9640
|
+
"GET /rest/v2/invoices/deel",
|
|
9641
|
+
"GET /rest/v2/invoices/{id}/download",
|
|
9642
|
+
"GET /rest/v2/invoices/{invoice_id}",
|
|
9643
|
+
"GET /rest/v2/legal-entities",
|
|
9644
|
+
"GET /rest/v2/payments",
|
|
9645
|
+
"GET /rest/v2/payments/{payment_id}/breakdown"
|
|
9646
|
+
]
|
|
9647
|
+
},
|
|
9648
|
+
{
|
|
9649
|
+
name: "adjustments:read",
|
|
9650
|
+
rules: [
|
|
9651
|
+
"GET /rest/v2/adjustments/categories",
|
|
9652
|
+
"GET /rest/v2/adjustments/{id}",
|
|
9653
|
+
"GET /rest/v2/contracts/{contract_id}/adjustments"
|
|
9654
|
+
]
|
|
9655
|
+
},
|
|
9656
|
+
{
|
|
9657
|
+
name: "adjustments:write",
|
|
9658
|
+
rules: [
|
|
9659
|
+
"POST /rest/v2/adjustments",
|
|
9660
|
+
"PATCH /rest/v2/adjustments/{id}",
|
|
9661
|
+
"DELETE /rest/v2/adjustments/{id}"
|
|
9662
|
+
]
|
|
9663
|
+
},
|
|
9664
|
+
{
|
|
9665
|
+
name: "admin:worker",
|
|
9666
|
+
rules: [
|
|
9667
|
+
"POST /rest/v2/workers/session",
|
|
9668
|
+
"DELETE /rest/v2/workers/{worker_id}/session"
|
|
9669
|
+
]
|
|
9670
|
+
},
|
|
9671
|
+
{
|
|
9672
|
+
name: "ats:read",
|
|
9673
|
+
rules: [
|
|
9674
|
+
"GET /rest/v2/ats/application-sources",
|
|
9675
|
+
"GET /rest/v2/ats/applications",
|
|
9676
|
+
"GET /rest/v2/ats/applications/{application_id}",
|
|
9677
|
+
"GET /rest/v2/ats/attachments/{attachable_type_slug}/{attachable_id}/{attachment_type_slug}",
|
|
9678
|
+
"GET /rest/v2/ats/candidates",
|
|
9679
|
+
"GET /rest/v2/ats/departments",
|
|
9680
|
+
"GET /rest/v2/ats/email-templates",
|
|
9681
|
+
"GET /rest/v2/ats/employment-types",
|
|
9682
|
+
"GET /rest/v2/ats/hiring-members",
|
|
9683
|
+
"GET /rest/v2/ats/job-boards/{job_board_id}/job-postings",
|
|
9684
|
+
"GET /rest/v2/ats/job-postings/{job_posting_id}",
|
|
9685
|
+
"GET /rest/v2/ats/jobs",
|
|
9686
|
+
"GET /rest/v2/ats/locations",
|
|
9687
|
+
"GET /rest/v2/ats/offers",
|
|
9688
|
+
"GET /rest/v2/ats/reasons",
|
|
9689
|
+
"GET /rest/v2/ats/tags"
|
|
9690
|
+
]
|
|
9691
|
+
},
|
|
9692
|
+
{
|
|
9693
|
+
name: "ats:write",
|
|
9694
|
+
rules: [
|
|
9695
|
+
"POST /rest/v2/ats/applications",
|
|
9696
|
+
"POST /rest/v2/ats/applications/{application_id}/interview-plan-stages",
|
|
9697
|
+
"POST /rest/v2/ats/applications/{application_id}/notes",
|
|
9698
|
+
"POST /rest/v2/ats/candidates",
|
|
9699
|
+
"POST /rest/v2/ats/candidates/{candidate_id}/tags",
|
|
9700
|
+
"POST /rest/v2/ats/jobs"
|
|
9701
|
+
]
|
|
9702
|
+
},
|
|
9703
|
+
{
|
|
9704
|
+
name: "auth:write",
|
|
9705
|
+
rules: ["POST /rest/v2/managers/magic-links"]
|
|
9706
|
+
},
|
|
9707
|
+
{
|
|
9708
|
+
name: "benefits:read",
|
|
9709
|
+
rules: [
|
|
9710
|
+
"GET /rest/v2/benefits/legal-entities/{id}/401k/plans",
|
|
9711
|
+
"GET /rest/v2/benefits/legal-entities/{legal_entity_id}/contracts/{contract_id}/plans/{plan_id}",
|
|
9712
|
+
"GET /rest/v2/benefits/legal-entities/{legal_entity_id}/paystubs",
|
|
9713
|
+
"GET /rest/v2/eor/benefits",
|
|
9714
|
+
"GET /rest/v2/eor/worker/benefits",
|
|
9715
|
+
"POST /rest/v2/workers/amendments/{amendment_id}/sign"
|
|
9716
|
+
]
|
|
9717
|
+
},
|
|
9718
|
+
{
|
|
9719
|
+
name: "benefits:write",
|
|
9720
|
+
rules: [
|
|
9721
|
+
"POST /rest/v2/benefits/legal-entities/{id}/401k/plans/clean-up",
|
|
9722
|
+
"POST /rest/v2/benefits/legal-entities/{id}/benefits/401k/activate",
|
|
9723
|
+
"POST /rest/v2/benefits/legal-entities/{legal_entity_id}/401k/plans",
|
|
9724
|
+
"PUT /rest/v2/benefits/legal-entities/{legal_entity_id}/401k/plans/{plan_id}",
|
|
9725
|
+
"POST /rest/v2/benefits/legal-entities/{legal_entity_id}/contracts/{contract_id}/plans/{plan_id}"
|
|
9726
|
+
]
|
|
9727
|
+
},
|
|
9728
|
+
{
|
|
9729
|
+
name: "candidates:write",
|
|
9730
|
+
rules: ["POST /rest/v2/candidates"]
|
|
9731
|
+
},
|
|
9732
|
+
{
|
|
9733
|
+
name: "contracts:read",
|
|
9734
|
+
rules: [
|
|
9735
|
+
"GET /rest/v2/contract-templates",
|
|
9736
|
+
"GET /rest/v2/contracts",
|
|
9737
|
+
"GET /rest/v2/contracts/custom_fields",
|
|
9738
|
+
"GET /rest/v2/contracts/custom_fields/{id}",
|
|
9739
|
+
"GET /rest/v2/contracts/{contract_id}",
|
|
9740
|
+
"GET /rest/v2/contracts/{contract_id}/amendments",
|
|
9741
|
+
"GET /rest/v2/contracts/{contract_id}/equity_withholding_estimate",
|
|
9742
|
+
"GET /rest/v2/contracts/{contract_id}/invite",
|
|
9743
|
+
"GET /rest/v2/contracts/{contract_id}/payment_cycles",
|
|
9744
|
+
"GET /rest/v2/contracts/{contract_id}/preview",
|
|
9745
|
+
"GET /rest/v2/contracts/{contract_id}/tasks",
|
|
9746
|
+
"GET /rest/v2/employee-info/contract-types/{type}/countries/{country}",
|
|
9747
|
+
"GET /rest/v2/eor/additional-costs/{country}",
|
|
9748
|
+
"GET /rest/v2/eor/contracts/{contract_id}/amendments",
|
|
9749
|
+
"GET /rest/v2/eor/contracts/{contract_id}/amendments/validation/settings",
|
|
9750
|
+
"GET /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}",
|
|
9751
|
+
"GET /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/effective-date-limitations",
|
|
9752
|
+
"GET /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/pdf",
|
|
9753
|
+
"GET /rest/v2/eor/contracts/{contract_id}/details",
|
|
9754
|
+
"GET /rest/v2/eor/contracts/{contract_id}/documents/{type}",
|
|
9755
|
+
"GET /rest/v2/eor/contracts/{contract_id}/hrx-documents",
|
|
9756
|
+
"GET /rest/v2/eor/contracts/{contract_id}/hrx-documents/{document_id}",
|
|
9757
|
+
"GET /rest/v2/eor/contracts/{contract_id}/offboarding",
|
|
9758
|
+
"GET /rest/v2/eor/contracts/{contract_id}/offboarding/attachments/{attachment_id}",
|
|
9759
|
+
"GET /rest/v2/eor/contracts/{contract_id}/offboarding/required-information",
|
|
9760
|
+
"GET /rest/v2/eor/contracts/{contract_id}/offboarding/restricted-dates",
|
|
9761
|
+
"GET /rest/v2/eor/contracts/{contract_id}/offboarding/time-offs",
|
|
9762
|
+
"GET /rest/v2/eor/contracts/{contract_id}/project-assignment",
|
|
9763
|
+
"GET /rest/v2/eor/contracts/{contract_id}/project-assignment/checkin",
|
|
9764
|
+
"POST /rest/v2/eor/contracts/{contract_id}/project-assignment/checkin",
|
|
9765
|
+
"GET /rest/v2/eor/start-date",
|
|
9766
|
+
"GET /rest/v2/eor/validations/{country_code}",
|
|
9767
|
+
"GET /rest/v2/eor/{contract_id}/benefits",
|
|
9768
|
+
"POST /rest/v2/eor/{oid}/terminations/regular",
|
|
9769
|
+
"POST /rest/v2/eor/{oid}/terminations/resignation",
|
|
9770
|
+
"GET /rest/v2/eor/{oid}/terminations/{terminationId}",
|
|
9771
|
+
"GET /rest/v2/offboarding/tracker",
|
|
9772
|
+
"GET /rest/v2/offboarding/tracker/hris_profile/{oid}",
|
|
9773
|
+
"GET /rest/v2/offboarding/tracker/{id}",
|
|
9774
|
+
"GET /rest/v2/onboarding/tracker",
|
|
9775
|
+
"GET /rest/v2/onboarding/tracker/hris_profile/{hris_profile_id}",
|
|
9776
|
+
"GET /rest/v2/onboarding/tracker/{tracker_id}"
|
|
9777
|
+
]
|
|
9778
|
+
},
|
|
9779
|
+
{
|
|
9780
|
+
name: "contracts:write",
|
|
9781
|
+
rules: [
|
|
9782
|
+
"POST /rest/v2/contracts",
|
|
9783
|
+
"POST /rest/v2/contracts/gp",
|
|
9784
|
+
"PATCH /rest/v2/contracts/{contract_id}",
|
|
9785
|
+
"GET /rest/v2/contracts/{contract_id}/amendments",
|
|
9786
|
+
"POST /rest/v2/contracts/{contract_id}/amendments",
|
|
9787
|
+
"PUT /rest/v2/contracts/{contract_id}/custom_fields",
|
|
9788
|
+
"DELETE /rest/v2/contracts/{contract_id}/custom_fields/{id}",
|
|
9789
|
+
"POST /rest/v2/contracts/{contract_id}/documents",
|
|
9790
|
+
"POST /rest/v2/contracts/{contract_id}/invitations",
|
|
9791
|
+
"DELETE /rest/v2/contracts/{contract_id}/invitations",
|
|
9792
|
+
"POST /rest/v2/contracts/{contract_id}/signatures",
|
|
9793
|
+
"POST /rest/v2/contracts/{contract_id}/tasks",
|
|
9794
|
+
"POST /rest/v2/contracts/{contract_id}/tasks/many/reviews",
|
|
9795
|
+
"DELETE /rest/v2/contracts/{contract_id}/tasks/{task_id}",
|
|
9796
|
+
"POST /rest/v2/contracts/{contract_id}/tasks/{task_id}/reviews",
|
|
9797
|
+
"POST /rest/v2/contracts/{contract_id}/terminations",
|
|
9798
|
+
"DELETE /rest/v2/contracts/{contract_id}/terminations",
|
|
9799
|
+
"POST /rest/v2/eor",
|
|
9800
|
+
"PATCH /rest/v2/eor/contract/{contract_id}",
|
|
9801
|
+
"POST /rest/v2/eor/contract/{oid}/cancel",
|
|
9802
|
+
"PATCH /rest/v2/eor/contract/{oid}/delay-onboarding",
|
|
9803
|
+
"POST /rest/v2/eor/contracts/{contract_id}/amendments",
|
|
9804
|
+
"POST /rest/v2/eor/contracts/{contract_id}/amendments/validate",
|
|
9805
|
+
"PATCH /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}",
|
|
9806
|
+
"DELETE /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}",
|
|
9807
|
+
"POST /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/accept",
|
|
9808
|
+
"POST /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/confirm",
|
|
9809
|
+
"POST /rest/v2/eor/contracts/{contract_id}/amendments/{amendment_id}/sign",
|
|
9810
|
+
"POST /rest/v2/eor/contracts/{contract_id}/documents/{type}/sign",
|
|
9811
|
+
"PATCH /rest/v2/eor/contracts/{contract_id}/employee-information",
|
|
9812
|
+
"POST /rest/v2/eor/contracts/{contract_id}/offboarding/resignation",
|
|
9813
|
+
"POST /rest/v2/eor/contracts/{contract_id}/offboarding/resignations/review-pto",
|
|
9814
|
+
"POST /rest/v2/eor/contracts/{contract_id}/offboarding/review-client-sign-offs",
|
|
9815
|
+
"POST /rest/v2/eor/contracts/{contract_id}/offboarding/termination",
|
|
9816
|
+
"POST /rest/v2/eor/contracts/{contract_id}/project-assignment/accept",
|
|
9817
|
+
"POST /rest/v2/eor/contracts/{contract_id}/project-assignment/checkin",
|
|
9818
|
+
"POST /rest/v2/eor/job-scopes/validate",
|
|
9819
|
+
"POST /rest/v2/eor/{oid}/terminations/regular",
|
|
9820
|
+
"POST /rest/v2/eor/{oid}/terminations/resignation",
|
|
9821
|
+
"POST /rest/v2/equity/exercise",
|
|
9822
|
+
"PATCH /rest/v2/equity/exercise/{public_id}"
|
|
9823
|
+
]
|
|
9824
|
+
},
|
|
9825
|
+
{
|
|
9826
|
+
name: "equities:write",
|
|
9827
|
+
rules: ["POST /rest/v2/equities-tokens/tax-events"]
|
|
9828
|
+
},
|
|
9829
|
+
{
|
|
9830
|
+
name: "forms:read",
|
|
9831
|
+
rules: [
|
|
9832
|
+
"POST /rest/v2/forms/eor/create-contract/definitions",
|
|
9833
|
+
"GET /rest/v2/forms/eor/create-contract/{country_code}",
|
|
9834
|
+
"GET /rest/v2/forms/eor/worker-additional-fields/{country_code}",
|
|
9835
|
+
"GET /rest/v2/forms/gp/worker-additional-fields/{country_code}"
|
|
9836
|
+
]
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
name: "global-payroll:read",
|
|
9840
|
+
rules: [
|
|
9841
|
+
"GET /rest/v2/contracts/{contract_id}/equity_withholding_estimate",
|
|
9842
|
+
"GET /rest/v2/gp/legal-entities/{legal_entity_id}/reports",
|
|
9843
|
+
"GET /rest/v2/gp/reports/{id}/gross_to_net",
|
|
9844
|
+
"GET /rest/v2/gp/reports/{id}/gross_to_net/csv"
|
|
9845
|
+
]
|
|
9846
|
+
},
|
|
9847
|
+
{
|
|
9848
|
+
name: "global-payroll:write",
|
|
9849
|
+
rules: ["POST /rest/v2/gp/workers/{worker_id}/terminations"]
|
|
9850
|
+
},
|
|
9851
|
+
{
|
|
9852
|
+
name: "groups:read",
|
|
9853
|
+
rules: [
|
|
9854
|
+
"GET /rest/v2/groups",
|
|
9855
|
+
"POST /rest/v2/groups",
|
|
9856
|
+
"PATCH /rest/v2/groups/{id}"
|
|
9857
|
+
]
|
|
9858
|
+
},
|
|
9859
|
+
{
|
|
9860
|
+
name: "groups:write",
|
|
9861
|
+
rules: [
|
|
9862
|
+
"POST /rest/v2/groups",
|
|
9863
|
+
"PATCH /rest/v2/groups/{id}",
|
|
9864
|
+
"DELETE /rest/v2/groups/{id}",
|
|
9865
|
+
"POST /rest/v2/groups/{id}/clone"
|
|
9866
|
+
]
|
|
9867
|
+
},
|
|
9868
|
+
{
|
|
9869
|
+
name: "immigration:read",
|
|
9870
|
+
rules: [
|
|
9871
|
+
"GET /rest/v2/immigration/client/cases",
|
|
9872
|
+
"GET /rest/v2/immigration/client/cases/{id}",
|
|
9873
|
+
"GET /rest/v2/immigration/documents/{id}",
|
|
9874
|
+
"GET /rest/v2/immigration/visa-requirement/business",
|
|
9875
|
+
"GET /rest/v2/immigration/visa-types/{country_code}"
|
|
9876
|
+
]
|
|
9877
|
+
},
|
|
9878
|
+
{
|
|
9879
|
+
name: "immigration:write",
|
|
9880
|
+
rules: ["POST /rest/v2/immigration/client/cases"]
|
|
9881
|
+
},
|
|
9882
|
+
{
|
|
9883
|
+
name: "invoice-adjustments:read",
|
|
9884
|
+
rules: [
|
|
9885
|
+
"GET /rest/v2/contracts/{contract_id}/ic-invoicing-taxes",
|
|
9886
|
+
"GET /rest/v2/contracts/{contract_id}/invoice-adjustments",
|
|
9887
|
+
"GET /rest/v2/invoice-adjustments",
|
|
9888
|
+
"GET /rest/v2/invoice-adjustments/{id}"
|
|
9889
|
+
]
|
|
9890
|
+
},
|
|
9891
|
+
{
|
|
9892
|
+
name: "invoice-adjustments:write",
|
|
9893
|
+
rules: [
|
|
9894
|
+
"POST /rest/v2/contracts/{contract_id}/ic-invoicing-taxes",
|
|
9895
|
+
"PATCH /rest/v2/contracts/{contract_id}/ic-invoicing-taxes",
|
|
9896
|
+
"DELETE /rest/v2/contracts/{contract_id}/ic-invoicing-taxes/{tax_type}",
|
|
9897
|
+
"POST /rest/v2/invoice-adjustments",
|
|
9898
|
+
"PATCH /rest/v2/invoice-adjustments/{id}",
|
|
9899
|
+
"DELETE /rest/v2/invoice-adjustments/{id}",
|
|
9900
|
+
"POST /rest/v2/invoice-adjustments/{id}/reviews"
|
|
9901
|
+
]
|
|
9902
|
+
},
|
|
9903
|
+
{
|
|
9904
|
+
name: "it-assets:read",
|
|
9905
|
+
rules: [
|
|
9906
|
+
"GET /rest/v2/it/assets",
|
|
9907
|
+
"GET /rest/v2/it/assets/{asset_id}"
|
|
9908
|
+
]
|
|
9909
|
+
},
|
|
9910
|
+
{
|
|
9911
|
+
name: "it-orders:read",
|
|
9912
|
+
rules: [
|
|
9913
|
+
"GET /rest/v2/it/orders",
|
|
9914
|
+
"GET /rest/v2/it/orders/{order_id}"
|
|
9915
|
+
]
|
|
9916
|
+
},
|
|
9917
|
+
{
|
|
9918
|
+
name: "it-policies:read",
|
|
9919
|
+
rules: ["GET /rest/v2/it/policies"]
|
|
9920
|
+
},
|
|
9921
|
+
{
|
|
9922
|
+
name: "knowledge-hub:read",
|
|
9923
|
+
rules: ["GET /rest/v2/knowledge-hub/country-guide/{country_code}"]
|
|
9924
|
+
},
|
|
9925
|
+
{
|
|
9926
|
+
name: "legal-entity:read",
|
|
9927
|
+
rules: [
|
|
9928
|
+
"GET /rest/v2/industries",
|
|
9929
|
+
"POST /rest/v2/legal-entities",
|
|
9930
|
+
"PATCH /rest/v2/legal-entities/{id}",
|
|
9931
|
+
"DELETE /rest/v2/legal-entities/{id}",
|
|
9932
|
+
"GET /rest/v2/legal-entities/{legal_entity_id}/cost-centers",
|
|
9933
|
+
"GET /rest/v2/legal-entities/{legal_entity_id}/payroll-events",
|
|
9934
|
+
"GET /rest/v2/lookups"
|
|
9935
|
+
]
|
|
9936
|
+
},
|
|
9937
|
+
{
|
|
9938
|
+
name: "legal-entity:write",
|
|
9939
|
+
rules: [
|
|
9940
|
+
"POST /rest/v2/legal-entities",
|
|
9941
|
+
"PATCH /rest/v2/legal-entities/{id}",
|
|
9942
|
+
"DELETE /rest/v2/legal-entities/{id}"
|
|
9943
|
+
]
|
|
9944
|
+
},
|
|
9945
|
+
{
|
|
9946
|
+
name: "lookups:read",
|
|
9947
|
+
rules: [
|
|
9948
|
+
"GET /rest/v2/lookups/countries",
|
|
9949
|
+
"GET /rest/v2/lookups/currencies",
|
|
9950
|
+
"GET /rest/v2/lookups/job-titles",
|
|
9951
|
+
"GET /rest/v2/lookups/seniorities",
|
|
9952
|
+
"GET /rest/v2/lookups/time-off-types"
|
|
9953
|
+
]
|
|
9954
|
+
},
|
|
9955
|
+
{
|
|
9956
|
+
name: "milestones:read",
|
|
9957
|
+
rules: [
|
|
9958
|
+
"GET /rest/v2/contracts/{contract_id}/milestones",
|
|
9959
|
+
"GET /rest/v2/contracts/{contract_id}/milestones/{milestone_id}"
|
|
9960
|
+
]
|
|
9961
|
+
},
|
|
9962
|
+
{
|
|
9963
|
+
name: "milestones:write",
|
|
9964
|
+
rules: [
|
|
9965
|
+
"POST /rest/v2/contracts/{contract_id}/milestones",
|
|
9966
|
+
"DELETE /rest/v2/contracts/{contract_id}/milestones/{milestone_id}"
|
|
9967
|
+
]
|
|
9968
|
+
},
|
|
9969
|
+
{
|
|
9970
|
+
name: "off-cycle-payments:read",
|
|
9971
|
+
rules: [
|
|
9972
|
+
"GET /rest/v2/contracts/{contract_id}/off-cycle-payments",
|
|
9973
|
+
"GET /rest/v2/contracts/{contract_id}/off-cycle-payments/{id}"
|
|
9974
|
+
]
|
|
9975
|
+
},
|
|
9976
|
+
{
|
|
9977
|
+
name: "off-cycle-payments:write",
|
|
9978
|
+
rules: ["POST /rest/v2/contracts/{contract_id}/off-cycle-payments"]
|
|
9979
|
+
},
|
|
9980
|
+
{
|
|
9981
|
+
name: "organizations:read",
|
|
9982
|
+
rules: [
|
|
9983
|
+
"GET /rest/v2/benefits/legal-entities/{id}",
|
|
9984
|
+
"GET /rest/v2/benefits/legal-entities/{id}/pay-stub",
|
|
9985
|
+
"GET /rest/v2/benefits/legal-entities/{id}/year-to-date-pay",
|
|
9986
|
+
"GET /rest/v2/departments",
|
|
9987
|
+
"GET /rest/v2/eor/job-scopes",
|
|
9988
|
+
"GET /rest/v2/hris/organization-structures/teams/{team_id}/custom-fields",
|
|
9989
|
+
"PATCH /rest/v2/hris/organization-structures/teams/{team_id}/custom-fields",
|
|
9990
|
+
"GET /rest/v2/hris/organization_structures",
|
|
9991
|
+
"GET /rest/v2/hris/organization_structures/external/{external_id}",
|
|
9992
|
+
"GET /rest/v2/hris/organization_structures/{hrisOrgStr_id}",
|
|
9993
|
+
"GET /rest/v2/hris/worker_relations/types",
|
|
9994
|
+
"GET /rest/v2/legal-entities",
|
|
9995
|
+
"GET /rest/v2/managers",
|
|
9996
|
+
"GET /rest/v2/organizations",
|
|
9997
|
+
"GET /rest/v2/roles",
|
|
9998
|
+
"GET /rest/v2/teams",
|
|
9999
|
+
"GET /rest/v2/working-locations"
|
|
10000
|
+
]
|
|
10001
|
+
},
|
|
10002
|
+
{
|
|
10003
|
+
name: "organizations:write",
|
|
10004
|
+
rules: [
|
|
10005
|
+
"POST /rest/v2/hris/organization_structures",
|
|
10006
|
+
"PATCH /rest/v2/hris/organization_structures/external/{external_id}",
|
|
10007
|
+
"DELETE /rest/v2/hris/organization_structures/external/{external_id}",
|
|
10008
|
+
"PATCH /rest/v2/hris/organization_structures/{hrisOrgStr_id}",
|
|
10009
|
+
"DELETE /rest/v2/hris/organization_structures/{hrisOrgStr_id}",
|
|
10010
|
+
"POST /rest/v2/hris/worker_relations/types",
|
|
10011
|
+
"PATCH /rest/v2/hris/worker_relations/types/external/{externalId}",
|
|
10012
|
+
"DELETE /rest/v2/hris/worker_relations/types/external/{externalId}",
|
|
10013
|
+
"PATCH /rest/v2/hris/worker_relations/types/{typeId}",
|
|
10014
|
+
"DELETE /rest/v2/hris/worker_relations/types/{typeId}",
|
|
10015
|
+
"POST /rest/v2/managers",
|
|
10016
|
+
"POST /rest/v2/organizations/children",
|
|
10017
|
+
"POST /rest/v2/roles",
|
|
10018
|
+
"PATCH /rest/v2/roles/{roleId}"
|
|
10019
|
+
]
|
|
10020
|
+
},
|
|
10021
|
+
{
|
|
10022
|
+
name: "payslips:read",
|
|
10023
|
+
rules: [
|
|
10024
|
+
"GET /rest/v2/eor/workers/{worker_id}/payslips",
|
|
10025
|
+
"GET /rest/v2/eor/workers/{worker_id}/payslips/{payslip_id}/download",
|
|
10026
|
+
"GET /rest/v2/gp/workers/{id}/payslips",
|
|
10027
|
+
"GET /rest/v2/reports/payroll/cycles/{cycle_id}/gross-to-net"
|
|
10028
|
+
]
|
|
10029
|
+
},
|
|
10030
|
+
{
|
|
10031
|
+
name: "people:read",
|
|
10032
|
+
rules: [
|
|
10033
|
+
"GET /rest/v2/benefits/legal-entities/{id}/employees/{employee_id}",
|
|
10034
|
+
"GET /rest/v2/gp/workers/{worker_id}/banks",
|
|
10035
|
+
"GET /rest/v2/gp/workers/{worker_id}/banks/guide",
|
|
10036
|
+
"GET /rest/v2/offboarding/tracker",
|
|
10037
|
+
"GET /rest/v2/offboarding/tracker/hris_profile/{oid}",
|
|
10038
|
+
"GET /rest/v2/offboarding/tracker/{id}",
|
|
10039
|
+
"GET /rest/v2/onboarding/tracker",
|
|
10040
|
+
"GET /rest/v2/onboarding/tracker/hris_profile/{hris_profile_id}",
|
|
10041
|
+
"GET /rest/v2/onboarding/tracker/{tracker_id}",
|
|
10042
|
+
"GET /rest/v2/people",
|
|
10043
|
+
"GET /rest/v2/people/custom_fields",
|
|
10044
|
+
"GET /rest/v2/people/custom_fields/{id}",
|
|
10045
|
+
"GET /rest/v2/people/external/{worker_id}/personal",
|
|
10046
|
+
"GET /rest/v2/people/me",
|
|
10047
|
+
"GET /rest/v2/people/{hris_profile_id}",
|
|
10048
|
+
"GET /rest/v2/people/{worker_id}/custom_fields",
|
|
10049
|
+
"GET /rest/v2/people/{worker_id}/personal"
|
|
10050
|
+
]
|
|
10051
|
+
},
|
|
10052
|
+
{
|
|
10053
|
+
name: "people:write",
|
|
10054
|
+
rules: [
|
|
10055
|
+
"POST /rest/v2/eor/worker",
|
|
10056
|
+
"POST /rest/v2/gp/workers/contracts/{contract_id}/additional-information",
|
|
10057
|
+
"PATCH /rest/v2/gp/workers/contracts/{contract_id}/additional-information",
|
|
10058
|
+
"PATCH /rest/v2/gp/workers/{worker_id}/address",
|
|
10059
|
+
"POST /rest/v2/gp/workers/{worker_id}/banks",
|
|
10060
|
+
"PATCH /rest/v2/gp/workers/{worker_id}/banks/{bank_id}",
|
|
10061
|
+
"PATCH /rest/v2/gp/workers/{worker_id}/compensation",
|
|
10062
|
+
"PATCH /rest/v2/gp/workers/{worker_id}/employee-information",
|
|
10063
|
+
"PATCH /rest/v2/gp/workers/{worker_id}/pto-policy",
|
|
10064
|
+
"POST /rest/v2/people",
|
|
10065
|
+
"PATCH /rest/v2/people/external/{worker_id}/personal",
|
|
10066
|
+
"PUT /rest/v2/people/{id}/department",
|
|
10067
|
+
"PUT /rest/v2/people/{id}/working-location",
|
|
10068
|
+
"PUT /rest/v2/people/{worker_id}/custom_fields",
|
|
10069
|
+
"DELETE /rest/v2/people/{worker_id}/custom_fields/{id}",
|
|
10070
|
+
"PATCH /rest/v2/people/{worker_id}/personal",
|
|
10071
|
+
"POST /rest/v2/pwac"
|
|
10072
|
+
]
|
|
10073
|
+
},
|
|
10074
|
+
{
|
|
10075
|
+
name: "profile:read",
|
|
10076
|
+
rules: [
|
|
10077
|
+
"GET /rest/v2/hris/positions/profile/{hrisProfileId}",
|
|
10078
|
+
"GET /rest/v2/hris/worker_relations/profile/external/{profileId}",
|
|
10079
|
+
"GET /rest/v2/hris/worker_relations/profile/{hrisProfileOid}",
|
|
10080
|
+
"PATCH /rest/v2/profiles"
|
|
10081
|
+
]
|
|
10082
|
+
},
|
|
10083
|
+
{
|
|
10084
|
+
name: "profile:write",
|
|
10085
|
+
rules: [
|
|
10086
|
+
"POST /rest/v2/hris/positions/apply_changes",
|
|
10087
|
+
"POST /rest/v2/hris/worker_relations/profile",
|
|
10088
|
+
"POST /rest/v2/hris/worker_relations/profile/external",
|
|
10089
|
+
"DELETE /rest/v2/hris/worker_relations/profile/external/{profileId}",
|
|
10090
|
+
"PUT /rest/v2/hris/worker_relations/profile/external/{profileId}/child",
|
|
10091
|
+
"PUT /rest/v2/hris/worker_relations/profile/external/{profileId}/parent",
|
|
10092
|
+
"DELETE /rest/v2/hris/worker_relations/profile/{hrisProfileOid}",
|
|
10093
|
+
"PUT /rest/v2/hris/worker_relations/profile/{hrisProfileOid}/child",
|
|
10094
|
+
"PUT /rest/v2/hris/worker_relations/profile/{hrisProfileOid}/parent",
|
|
10095
|
+
"PATCH /rest/v2/profiles"
|
|
10096
|
+
]
|
|
10097
|
+
},
|
|
10098
|
+
{
|
|
10099
|
+
name: "screenings:read",
|
|
10100
|
+
rules: [
|
|
10101
|
+
"GET /rest/v2/screenings/aml/{entity_type}/{entity_id}",
|
|
10102
|
+
"GET /rest/v2/screenings/kyc/details",
|
|
10103
|
+
"GET /rest/v2/screenings/verification-method"
|
|
10104
|
+
]
|
|
10105
|
+
},
|
|
10106
|
+
{
|
|
10107
|
+
name: "screenings:write",
|
|
10108
|
+
rules: ["POST /rest/v2/veriff/session"]
|
|
10109
|
+
},
|
|
10110
|
+
{
|
|
10111
|
+
name: "tasks:read",
|
|
10112
|
+
rules: ["GET /rest/v2/organizations/tasks"]
|
|
10113
|
+
},
|
|
10114
|
+
{
|
|
10115
|
+
name: "tasks:write",
|
|
10116
|
+
rules: ["PATCH /rest/v2/tasks/{task_id}"]
|
|
10117
|
+
},
|
|
10118
|
+
{
|
|
10119
|
+
name: "time-off:read",
|
|
10120
|
+
rules: [
|
|
10121
|
+
"GET /rest/v2/time_offs",
|
|
10122
|
+
"GET /rest/v2/time_offs/dailies",
|
|
10123
|
+
"GET /rest/v2/time_offs/policy-validation-templates",
|
|
10124
|
+
"GET /rest/v2/time_offs/profile/{hris_profile_id}",
|
|
10125
|
+
"GET /rest/v2/time_offs/profile/{hris_profile_id}/entitlements",
|
|
10126
|
+
"GET /rest/v2/time_offs/profile/{hris_profile_id}/policies",
|
|
10127
|
+
"GET /rest/v2/time_offs/time-off-events",
|
|
10128
|
+
"POST /rest/v2/time_offs/validate"
|
|
10129
|
+
]
|
|
10130
|
+
},
|
|
10131
|
+
{
|
|
10132
|
+
name: "time-off:write",
|
|
10133
|
+
rules: [
|
|
10134
|
+
"POST /rest/v2/time_offs",
|
|
10135
|
+
"POST /rest/v2/time_offs/global-payroll/sync",
|
|
10136
|
+
"POST /rest/v2/time_offs/review",
|
|
10137
|
+
"PATCH /rest/v2/time_offs/{time_off_id}",
|
|
10138
|
+
"DELETE /rest/v2/time_offs/{time_off_id}"
|
|
10139
|
+
]
|
|
10140
|
+
},
|
|
10141
|
+
{
|
|
10142
|
+
name: "time-tracking:read",
|
|
10143
|
+
rules: [
|
|
10144
|
+
"GET /rest/v2/time-tracking/timesheets/{timesheet_id}",
|
|
10145
|
+
"GET /rest/v2/time_tracking/shift_rates",
|
|
10146
|
+
"GET /rest/v2/time_tracking/shift_rates/{external_id}",
|
|
10147
|
+
"GET /rest/v2/time_tracking/shifts",
|
|
10148
|
+
"GET /rest/v2/time_tracking/shifts/{external_id}"
|
|
10149
|
+
]
|
|
10150
|
+
},
|
|
10151
|
+
{
|
|
10152
|
+
name: "time-tracking:write",
|
|
10153
|
+
rules: [
|
|
10154
|
+
"POST /rest/v2/time-tracking/timesheets/upload-url",
|
|
10155
|
+
"POST /rest/v2/time-tracking/timesheets/{timesheet_id}/review",
|
|
10156
|
+
"POST /rest/v2/time_tracking/shift_rates",
|
|
10157
|
+
"PATCH /rest/v2/time_tracking/shift_rates/{external_id}",
|
|
10158
|
+
"DELETE /rest/v2/time_tracking/shift_rates/{external_id}",
|
|
10159
|
+
"POST /rest/v2/time_tracking/shifts",
|
|
10160
|
+
"POST /rest/v2/time_tracking/shifts/bulk-delete",
|
|
10161
|
+
"POST /rest/v2/time_tracking/shifts/raw",
|
|
10162
|
+
"PATCH /rest/v2/time_tracking/shifts/{external_id}",
|
|
10163
|
+
"DELETE /rest/v2/time_tracking/shifts/{external_id}"
|
|
10164
|
+
]
|
|
10165
|
+
},
|
|
10166
|
+
{
|
|
10167
|
+
name: "timesheets:read",
|
|
10168
|
+
rules: [
|
|
10169
|
+
"GET /rest/v2/contracts/{contract_id}/timesheets",
|
|
10170
|
+
"GET /rest/v2/contracts/{contract_id}/timesheets/presets",
|
|
10171
|
+
"GET /rest/v2/timesheets",
|
|
10172
|
+
"GET /rest/v2/timesheets/presets/{id}",
|
|
10173
|
+
"GET /rest/v2/timesheets/root-presets",
|
|
10174
|
+
"GET /rest/v2/timesheets/root-presets/{id}",
|
|
10175
|
+
"GET /rest/v2/timesheets/{id}"
|
|
10176
|
+
]
|
|
10177
|
+
},
|
|
10178
|
+
{
|
|
10179
|
+
name: "timesheets:write",
|
|
10180
|
+
rules: [
|
|
10181
|
+
"POST /rest/v2/timesheets",
|
|
10182
|
+
"POST /rest/v2/timesheets/presets",
|
|
10183
|
+
"PATCH /rest/v2/timesheets/presets/{id}",
|
|
10184
|
+
"DELETE /rest/v2/timesheets/presets/{id}",
|
|
10185
|
+
"POST /rest/v2/timesheets/root-presets",
|
|
10186
|
+
"PATCH /rest/v2/timesheets/{id}",
|
|
10187
|
+
"DELETE /rest/v2/timesheets/{id}",
|
|
10188
|
+
"POST /rest/v2/timesheets/{id}/reviews"
|
|
10189
|
+
]
|
|
10190
|
+
},
|
|
10191
|
+
{
|
|
10192
|
+
name: "treasury-vendorbill:write",
|
|
10193
|
+
rules: [
|
|
10194
|
+
"POST /rest/v2/accounts-payable/vendor-bills",
|
|
10195
|
+
"POST /rest/v2/accounts-payable/vendor-bills/{vendor_bill_id}/attachments"
|
|
10196
|
+
]
|
|
10197
|
+
},
|
|
10198
|
+
{
|
|
10199
|
+
name: "webhooks:read",
|
|
10200
|
+
rules: [
|
|
10201
|
+
"GET /rest/v2/webhooks",
|
|
10202
|
+
"GET /rest/v2/webhooks/events/types",
|
|
10203
|
+
"GET /rest/v2/webhooks/{id}"
|
|
10204
|
+
]
|
|
10205
|
+
},
|
|
10206
|
+
{
|
|
10207
|
+
name: "webhooks:write",
|
|
10208
|
+
rules: [
|
|
10209
|
+
"POST /rest/v2/webhooks",
|
|
10210
|
+
"PATCH /rest/v2/webhooks/{id}",
|
|
10211
|
+
"DELETE /rest/v2/webhooks/{id}"
|
|
10212
|
+
]
|
|
10213
|
+
},
|
|
10214
|
+
{
|
|
10215
|
+
name: "worker:read",
|
|
10216
|
+
rules: [
|
|
10217
|
+
"GET /rest/v2/contracts/{contract_id}/preview",
|
|
10218
|
+
"GET /rest/v2/daas/payslips",
|
|
10219
|
+
"GET /rest/v2/engage/learning/actionable-journeys",
|
|
10220
|
+
"GET /rest/v2/eor/contracts/{contract_id}/hrx-documents",
|
|
10221
|
+
"GET /rest/v2/eor/contracts/{contract_id}/hrx-documents/{document_id}",
|
|
10222
|
+
"GET /rest/v2/eor/contracts/{contract_id}/offboarding",
|
|
10223
|
+
"GET /rest/v2/eor/workers/banks-guide/country/{country}/currency/{currency}",
|
|
10224
|
+
"GET /rest/v2/eor/workers/banks/guide",
|
|
10225
|
+
"GET /rest/v2/eor/workers/compliance-documents",
|
|
10226
|
+
"GET /rest/v2/eor/workers/compliance-documents/{document_id}/download",
|
|
10227
|
+
"GET /rest/v2/eor/workers/compliance-documents/{document_id}/templates/download",
|
|
10228
|
+
"GET /rest/v2/eor/workers/contracts/{contract_id}/employee-agreement/download",
|
|
10229
|
+
"GET /rest/v2/eor/workers/contracts/{contract_id}/hr-documents",
|
|
10230
|
+
"GET /rest/v2/eor/workers/contracts/{contract_id}/offboarding/resignation-letter",
|
|
10231
|
+
"GET /rest/v2/eor/workers/contracts/{contract_id}/offer-letter",
|
|
10232
|
+
"GET /rest/v2/eor/workers/resignations",
|
|
10233
|
+
"GET /rest/v2/eor/workers/tax-documents",
|
|
10234
|
+
"GET /rest/v2/escalations/workers/me/hrx",
|
|
10235
|
+
"GET /rest/v2/immigration/workers/{worker_id}/cases/{case_id}/required-document",
|
|
10236
|
+
"GET /rest/v2/immigration/workers/{worker_id}/onboarding-case",
|
|
10237
|
+
"GET /rest/v2/immigration/workers/{worker_id}/required-documents",
|
|
10238
|
+
"GET /rest/v2/invoice-adjustments/{id}",
|
|
10239
|
+
"POST /rest/v2/magic-link",
|
|
10240
|
+
"GET /rest/v2/payouts/auto-withdrawal-setting",
|
|
10241
|
+
"GET /rest/v2/payouts/balances",
|
|
10242
|
+
"GET /rest/v2/payouts/contractors/methods",
|
|
10243
|
+
"POST /rest/v2/payouts/contractors/methods",
|
|
10244
|
+
"GET /rest/v2/payouts/contractors/methods/bank_transfers/requirements",
|
|
10245
|
+
"GET /rest/v2/payouts/contractors/methods/bank_transfers/supported_routes",
|
|
10246
|
+
"PUT /rest/v2/payouts/contractors/methods/{id}",
|
|
10247
|
+
"POST /rest/v2/payouts/contractors/settings/auto_withdraw",
|
|
10248
|
+
"GET /rest/v2/payouts/employees/methods",
|
|
10249
|
+
"POST /rest/v2/payouts/employees/methods",
|
|
10250
|
+
"POST /rest/v2/payouts/employees/methods/bank_transfers/requirements",
|
|
10251
|
+
"DELETE /rest/v2/payouts/employees/methods/{id}",
|
|
10252
|
+
"GET /rest/v2/people/me",
|
|
10253
|
+
"GET /rest/v2/screenings/verification-method",
|
|
10254
|
+
"POST /rest/v2/workers/amendments/{amendment_id}/sign",
|
|
10255
|
+
"GET /rest/v2/workers/contracts/{contract_id}/pdf"
|
|
10256
|
+
]
|
|
10257
|
+
},
|
|
10258
|
+
{
|
|
10259
|
+
name: "worker:write",
|
|
10260
|
+
rules: [
|
|
10261
|
+
"PATCH /rest/v2/daas/banks/{bank_id}",
|
|
10262
|
+
"POST /rest/v2/eor/contracts/{contract_id}/offboarding/review-employee-sign-offs",
|
|
10263
|
+
"POST /rest/v2/eor/mailboxes/change-password",
|
|
10264
|
+
"POST /rest/v2/eor/workers/banks",
|
|
10265
|
+
"POST /rest/v2/eor/workers/compliance-documents/{document_id}",
|
|
10266
|
+
"POST /rest/v2/eor/workers/compliance-documents/{document_id}/acknowledgement",
|
|
10267
|
+
"POST /rest/v2/eor/workers/contracts/{contract_id}/additional-information",
|
|
10268
|
+
"PATCH /rest/v2/eor/workers/contracts/{contract_id}/additional-information",
|
|
10269
|
+
"POST /rest/v2/eor/workers/contracts/{contract_id}/offboarding",
|
|
10270
|
+
"POST /rest/v2/eor/workers/contracts/{contract_id}/offboarding/resignation-letter/sign",
|
|
10271
|
+
"POST /rest/v2/eor/workers/contracts/{contract_id}/signatures",
|
|
10272
|
+
"POST /rest/v2/immigration/workers/documents",
|
|
10273
|
+
"POST /rest/v2/immigration/workers/{worker_id}/cases/{case_id}/required-document/{document_request_id}",
|
|
10274
|
+
"POST /rest/v2/invoice-adjustments",
|
|
10275
|
+
"PATCH /rest/v2/invoice-adjustments/{id}",
|
|
10276
|
+
"PATCH /rest/v2/payouts/auto-withdrawal-setting",
|
|
10277
|
+
"GET /rest/v2/payouts/contractors/methods",
|
|
10278
|
+
"POST /rest/v2/payouts/contractors/methods",
|
|
10279
|
+
"GET /rest/v2/payouts/contractors/methods/bank_transfers/requirements",
|
|
10280
|
+
"GET /rest/v2/payouts/contractors/methods/bank_transfers/supported_routes",
|
|
10281
|
+
"PUT /rest/v2/payouts/contractors/methods/{id}",
|
|
10282
|
+
"POST /rest/v2/payouts/contractors/settings/auto_withdraw",
|
|
10283
|
+
"GET /rest/v2/payouts/employees/methods",
|
|
10284
|
+
"POST /rest/v2/payouts/employees/methods",
|
|
10285
|
+
"POST /rest/v2/payouts/employees/methods/bank_transfers/requirements",
|
|
10286
|
+
"DELETE /rest/v2/payouts/employees/methods/{id}",
|
|
10287
|
+
"POST /rest/v2/payouts/withdrawals",
|
|
10288
|
+
"POST /rest/v2/screenings/kyc/external",
|
|
10289
|
+
"POST /rest/v2/screenings/manual-verification",
|
|
10290
|
+
"POST /rest/v2/time_offs",
|
|
10291
|
+
"PATCH /rest/v2/time_offs/{time_off_id}",
|
|
10292
|
+
"POST /rest/v2/veriff/session",
|
|
10293
|
+
"POST /rest/v2/workers/amendments/{amendment_id}/sign",
|
|
10294
|
+
"POST /rest/v2/workers/contracts/{contract_id}/reject",
|
|
10295
|
+
"POST /rest/v2/workers/contracts/{contract_id}/signatures"
|
|
10296
|
+
]
|
|
10297
|
+
}
|
|
10298
|
+
]
|
|
9288
10299
|
}
|
|
9289
10300
|
]
|
|
9290
10301
|
};
|
|
@@ -18003,14 +19014,57 @@ var zeroAgentCustomSkillSchema = z26.object({
|
|
|
18003
19014
|
displayName: z26.string().max(256).nullable(),
|
|
18004
19015
|
description: z26.string().max(1024).nullable()
|
|
18005
19016
|
});
|
|
18006
|
-
var
|
|
19017
|
+
var skillFileEntrySchema = z26.object({
|
|
19018
|
+
path: z26.string().min(1).max(256).refine(
|
|
19019
|
+
(p) => {
|
|
19020
|
+
return !p.startsWith("/");
|
|
19021
|
+
},
|
|
19022
|
+
{ message: "Path must be relative" }
|
|
19023
|
+
).refine(
|
|
19024
|
+
(p) => {
|
|
19025
|
+
return !p.includes("..");
|
|
19026
|
+
},
|
|
19027
|
+
{
|
|
19028
|
+
message: "Path must not contain .."
|
|
19029
|
+
}
|
|
19030
|
+
),
|
|
18007
19031
|
content: z26.string()
|
|
18008
19032
|
});
|
|
19033
|
+
var SKILL_FILES_MAX_BYTES = 5 * 1024 * 1024;
|
|
19034
|
+
var SKILL_FILES_MAX_COUNT = 500;
|
|
19035
|
+
var zeroAgentSkillFilesRequestSchema = z26.object({
|
|
19036
|
+
files: z26.array(skillFileEntrySchema).min(1, "At least one file is required").max(
|
|
19037
|
+
SKILL_FILES_MAX_COUNT,
|
|
19038
|
+
`Maximum ${SKILL_FILES_MAX_COUNT} files allowed`
|
|
19039
|
+
).refine(
|
|
19040
|
+
(files) => {
|
|
19041
|
+
return files.some((f) => {
|
|
19042
|
+
return f.path === "SKILL.md";
|
|
19043
|
+
});
|
|
19044
|
+
},
|
|
19045
|
+
{
|
|
19046
|
+
message: "SKILL.md is required"
|
|
19047
|
+
}
|
|
19048
|
+
).refine(
|
|
19049
|
+
(files) => {
|
|
19050
|
+
const total = files.reduce((sum, f) => {
|
|
19051
|
+
return sum + new TextEncoder().encode(f.content).length;
|
|
19052
|
+
}, 0);
|
|
19053
|
+
return total <= SKILL_FILES_MAX_BYTES;
|
|
19054
|
+
},
|
|
19055
|
+
{ message: "Total file size must not exceed 5MB" }
|
|
19056
|
+
)
|
|
19057
|
+
});
|
|
19058
|
+
var skillFileMetadataSchema = z26.object({
|
|
19059
|
+
path: z26.string(),
|
|
19060
|
+
size: z26.number()
|
|
19061
|
+
});
|
|
18009
19062
|
var zeroAgentSkillContentResponseSchema = z26.object({
|
|
18010
19063
|
name: z26.string(),
|
|
18011
19064
|
displayName: z26.string().nullable(),
|
|
18012
19065
|
description: z26.string().nullable(),
|
|
18013
|
-
content: z26.string().nullable()
|
|
19066
|
+
content: z26.string().nullable(),
|
|
19067
|
+
files: z26.array(skillFileMetadataSchema).nullable()
|
|
18014
19068
|
});
|
|
18015
19069
|
var zeroAgentSkillListResponseSchema = z26.array(
|
|
18016
19070
|
zeroAgentCustomSkillSchema
|
|
@@ -18031,7 +19085,7 @@ var zeroSkillsCollectionContract = c17.router({
|
|
|
18031
19085
|
method: "POST",
|
|
18032
19086
|
path: "/api/zero/skills",
|
|
18033
19087
|
headers: authHeadersSchema,
|
|
18034
|
-
body:
|
|
19088
|
+
body: zeroAgentSkillFilesRequestSchema.extend({
|
|
18035
19089
|
name: zeroAgentCustomSkillNameSchema,
|
|
18036
19090
|
displayName: z26.string().max(256).optional(),
|
|
18037
19091
|
description: z26.string().max(1024).optional()
|
|
@@ -18065,7 +19119,7 @@ var zeroSkillsDetailContract = c17.router({
|
|
|
18065
19119
|
path: "/api/zero/skills/:name",
|
|
18066
19120
|
headers: authHeadersSchema,
|
|
18067
19121
|
pathParams: z26.object({ name: zeroAgentCustomSkillNameSchema }),
|
|
18068
|
-
body:
|
|
19122
|
+
body: zeroAgentSkillFilesRequestSchema,
|
|
18069
19123
|
responses: {
|
|
18070
19124
|
200: zeroAgentSkillContentResponseSchema,
|
|
18071
19125
|
401: apiErrorSchema,
|
|
@@ -20726,11 +21780,11 @@ async function getZeroOrgMembers() {
|
|
|
20726
21780
|
}
|
|
20727
21781
|
handleError(result, "Failed to get organization members");
|
|
20728
21782
|
}
|
|
20729
|
-
async function inviteZeroOrgMember(email) {
|
|
21783
|
+
async function inviteZeroOrgMember(email, role = "member") {
|
|
20730
21784
|
const config = await getClientConfig();
|
|
20731
21785
|
const client = initClient11(zeroOrgInviteContract, config);
|
|
20732
21786
|
const result = await client.invite({
|
|
20733
|
-
body: { email }
|
|
21787
|
+
body: { email, role }
|
|
20734
21788
|
});
|
|
20735
21789
|
if (result.status === 200) {
|
|
20736
21790
|
return;
|
|
@@ -22199,4 +23253,4 @@ export {
|
|
|
22199
23253
|
pollEvents,
|
|
22200
23254
|
showNextSteps
|
|
22201
23255
|
};
|
|
22202
|
-
//# sourceMappingURL=chunk-
|
|
23256
|
+
//# sourceMappingURL=chunk-OYO75U5W.js.map
|