@distilled.cloud/slack 1.0.0-rc.18 → 1.0.0-rc.20
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/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/admin.d.ts +594 -356
- package/lib/services/admin.d.ts.map +1 -1
- package/lib/services/admin.js +149 -140
- package/lib/services/admin.js.map +1 -1
- package/lib/services/agents.d.ts +89 -97
- package/lib/services/agents.d.ts.map +1 -1
- package/lib/services/agents.js +1 -1
- package/lib/services/agents.js.map +1 -1
- package/lib/services/api.d.ts +2 -2
- package/lib/services/api.d.ts.map +1 -1
- package/lib/services/api.js +1 -1
- package/lib/services/api.js.map +1 -1
- package/lib/services/apps.d.ts +74 -74
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +32 -32
- package/lib/services/apps.js.map +1 -1
- package/lib/services/assistant.d.ts +55 -46
- package/lib/services/assistant.d.ts.map +1 -1
- package/lib/services/assistant.js +1 -1
- package/lib/services/assistant.js.map +1 -1
- package/lib/services/auth.d.ts +27 -27
- package/lib/services/auth.d.ts.map +1 -1
- package/lib/services/auth.js +1 -1
- package/lib/services/auth.js.map +1 -1
- package/lib/services/blocks.d.ts +3 -3
- package/lib/services/blocks.d.ts.map +1 -1
- package/lib/services/blocks.js +1 -1
- package/lib/services/blocks.js.map +1 -1
- package/lib/services/bookmarks.d.ts +19 -19
- package/lib/services/bookmarks.d.ts.map +1 -1
- package/lib/services/bookmarks.js +1 -1
- package/lib/services/bookmarks.js.map +1 -1
- package/lib/services/bots.d.ts +23 -23
- package/lib/services/bots.d.ts.map +1 -1
- package/lib/services/bots.js +1 -1
- package/lib/services/bots.js.map +1 -1
- package/lib/services/calls.d.ts +10 -10
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +1 -1
- package/lib/services/calls.js.map +1 -1
- package/lib/services/canvases.d.ts +18 -18
- package/lib/services/canvases.d.ts.map +1 -1
- package/lib/services/canvases.js +1 -1
- package/lib/services/canvases.js.map +1 -1
- package/lib/services/chat.d.ts +103 -103
- package/lib/services/chat.d.ts.map +1 -1
- package/lib/services/chat.js +1 -1
- package/lib/services/chat.js.map +1 -1
- package/lib/services/conversations.d.ts +109 -103
- package/lib/services/conversations.d.ts.map +1 -1
- package/lib/services/conversations.js +38 -38
- package/lib/services/conversations.js.map +1 -1
- package/lib/services/dialog.js +1 -1
- package/lib/services/dialog.js.map +1 -1
- package/lib/services/dnd.d.ts +14 -14
- package/lib/services/dnd.d.ts.map +1 -1
- package/lib/services/dnd.js +1 -1
- package/lib/services/dnd.js.map +1 -1
- package/lib/services/emoji.d.ts +6 -6
- package/lib/services/emoji.d.ts.map +1 -1
- package/lib/services/emoji.js +1 -1
- package/lib/services/emoji.js.map +1 -1
- package/lib/services/entity.d.ts +14 -14
- package/lib/services/entity.d.ts.map +1 -1
- package/lib/services/entity.js +1 -1
- package/lib/services/entity.js.map +1 -1
- package/lib/services/files.d.ts +106 -106
- package/lib/services/files.d.ts.map +1 -1
- package/lib/services/files.js +26 -26
- package/lib/services/files.js.map +1 -1
- package/lib/services/functions.d.ts +37 -37
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +1 -0
- package/lib/services/lists.d.ts +47 -45
- package/lib/services/lists.d.ts.map +1 -1
- package/lib/services/lists.js +1 -1
- package/lib/services/lists.js.map +1 -1
- package/lib/services/migration.d.ts +3 -3
- package/lib/services/migration.d.ts.map +1 -1
- package/lib/services/migration.js +1 -1
- package/lib/services/migration.js.map +1 -1
- package/lib/services/oauth.d.ts +102 -102
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +1 -1
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/openid.d.ts +40 -40
- package/lib/services/openid.d.ts.map +1 -1
- package/lib/services/openid.js +1 -1
- package/lib/services/openid.js.map +1 -1
- package/lib/services/pins.d.ts +9 -9
- package/lib/services/pins.d.ts.map +1 -1
- package/lib/services/pins.js +1 -1
- package/lib/services/pins.js.map +1 -1
- package/lib/services/reactions.d.ts +23 -23
- package/lib/services/reactions.d.ts.map +1 -1
- package/lib/services/reactions.js +1 -1
- package/lib/services/reactions.js.map +1 -1
- package/lib/services/reminders.d.ts +8 -8
- package/lib/services/reminders.d.ts.map +1 -1
- package/lib/services/reminders.js +1 -1
- package/lib/services/reminders.js.map +1 -1
- package/lib/services/rtm.d.ts +11 -11
- package/lib/services/rtm.d.ts.map +1 -1
- package/lib/services/rtm.js +1 -1
- package/lib/services/rtm.js.map +1 -1
- package/lib/services/search.d.ts +84 -80
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +1 -1
- package/lib/services/search.js.map +1 -1
- package/lib/services/slackbot.d.ts +366 -0
- package/lib/services/slackbot.d.ts.map +1 -0
- package/lib/services/slackbot.js +2 -0
- package/lib/services/slackbot.js.map +1 -0
- package/lib/services/stars.d.ts +16 -16
- package/lib/services/stars.d.ts.map +1 -1
- package/lib/services/stars.js +1 -1
- package/lib/services/stars.js.map +1 -1
- package/lib/services/team.d.ts +39 -37
- package/lib/services/team.d.ts.map +1 -1
- package/lib/services/team.js +1 -1
- package/lib/services/team.js.map +1 -1
- package/lib/services/tooling.js +1 -1
- package/lib/services/tooling.js.map +1 -1
- package/lib/services/usergroups.d.ts +30 -30
- package/lib/services/usergroups.d.ts.map +1 -1
- package/lib/services/usergroups.js +1 -1
- package/lib/services/usergroups.js.map +1 -1
- package/lib/services/users.d.ts +37 -37
- package/lib/services/users.d.ts.map +1 -1
- package/lib/services/users.js +1 -1
- package/lib/services/users.js.map +1 -1
- package/lib/services/views.d.ts +9 -9
- package/lib/services/views.d.ts.map +1 -1
- package/lib/services/views.js +1 -1
- package/lib/services/views.js.map +1 -1
- package/lib/services/workflows.d.ts +16 -16
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +1 -1
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/admin.js +2 -2
- package/lib/services.lazy/apps.js +1 -1
- package/lib/services.lazy/conversations.js +1 -1
- package/lib/services.lazy/files.js +1 -1
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/slackbot.js +1 -0
- package/package.json +6 -6
- package/src/protocol.ts +3 -5
- package/src/services/admin.ts +1609 -1016
- package/src/services/agents.ts +93 -103
- package/src/services/api.ts +2 -2
- package/src/services/apps.ts +74 -74
- package/src/services/assistant.ts +88 -56
- package/src/services/auth.ts +27 -27
- package/src/services/blocks.ts +3 -3
- package/src/services/bookmarks.ts +19 -19
- package/src/services/bots.ts +23 -23
- package/src/services/calls.ts +10 -10
- package/src/services/canvases.ts +50 -46
- package/src/services/chat.ts +103 -103
- package/src/services/conversations.ts +126 -115
- package/src/services/dnd.ts +14 -14
- package/src/services/emoji.ts +6 -6
- package/src/services/entity.ts +14 -14
- package/src/services/files.ts +106 -106
- package/src/services/functions.ts +37 -37
- package/src/services/index.ts +1 -0
- package/src/services/lists.ts +49 -46
- package/src/services/migration.ts +3 -3
- package/src/services/oauth.ts +102 -102
- package/src/services/openid.ts +40 -40
- package/src/services/pins.ts +9 -9
- package/src/services/reactions.ts +23 -23
- package/src/services/reminders.ts +8 -8
- package/src/services/rtm.ts +11 -11
- package/src/services/search.ts +123 -130
- package/src/services/slackbot.ts +766 -0
- package/src/services/stars.ts +16 -16
- package/src/services/team.ts +42 -37
- package/src/services/usergroups.ts +30 -30
- package/src/services/users.ts +37 -37
- package/src/services/views.ts +9 -9
- package/src/services/workflows.ts +16 -16
|
@@ -5,26 +5,26 @@ export type { SlackOpError, SlackOpContext };
|
|
|
5
5
|
export type AddDistributionsPermissionsRequestUserIdsList = Array<string>;
|
|
6
6
|
export interface AddDistributionsPermissionsRequest {
|
|
7
7
|
/** The encoded ID of the function */
|
|
8
|
-
function_id?: string;
|
|
8
|
+
function_id?: string | undefined;
|
|
9
9
|
/** The callback ID defined in the function's definition file */
|
|
10
|
-
function_callback_id?: string;
|
|
10
|
+
function_callback_id?: string | undefined;
|
|
11
11
|
/** The encoded ID of the app */
|
|
12
|
-
function_app_id?: string;
|
|
12
|
+
function_app_id?: string | undefined;
|
|
13
13
|
/** List of encoded user IDs */
|
|
14
|
-
user_ids?: AddDistributionsPermissionsRequestUserIdsList;
|
|
14
|
+
user_ids?: AddDistributionsPermissionsRequestUserIdsList | undefined;
|
|
15
15
|
}
|
|
16
16
|
export type AddDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
17
17
|
export interface AddDistributionsPermissionsResponseUsersItem {
|
|
18
|
-
user_id?: string;
|
|
19
|
-
username?: string;
|
|
20
|
-
email?: string;
|
|
18
|
+
user_id?: string | undefined;
|
|
19
|
+
username?: string | undefined;
|
|
20
|
+
email?: string | undefined;
|
|
21
21
|
}
|
|
22
22
|
export type AddDistributionsPermissionsResponseUsersList = Array<AddDistributionsPermissionsResponseUsersItem>;
|
|
23
23
|
export interface AddDistributionsPermissionsResponse {
|
|
24
24
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
25
25
|
ok: boolean;
|
|
26
26
|
permission_type: AddDistributionsPermissionsResponsePermissionType;
|
|
27
|
-
users?: AddDistributionsPermissionsResponseUsersList;
|
|
27
|
+
users?: AddDistributionsPermissionsResponseUsersList | undefined;
|
|
28
28
|
}
|
|
29
29
|
export interface CompleteErrorRequest {
|
|
30
30
|
/** Context identifier that maps to the executed function */
|
|
@@ -52,11 +52,11 @@ export interface CompleteSuccessResponse {
|
|
|
52
52
|
}
|
|
53
53
|
export interface ExportWorkflowsStepsResponseRequest {
|
|
54
54
|
/** The workflow ID, starts with Wf* */
|
|
55
|
-
workflow_id?: string;
|
|
55
|
+
workflow_id?: string | undefined;
|
|
56
56
|
/** The workflow encoded ID or workflow reference */
|
|
57
|
-
workflow?: string;
|
|
57
|
+
workflow?: string | undefined;
|
|
58
58
|
/** The app tied to the workflow reference. */
|
|
59
|
-
workflow_app_id?: string;
|
|
59
|
+
workflow_app_id?: string | undefined;
|
|
60
60
|
/** The ID of the OpenForm step to export. */
|
|
61
61
|
step_id: string;
|
|
62
62
|
}
|
|
@@ -66,11 +66,11 @@ export interface ExportWorkflowsStepsResponseResponse {
|
|
|
66
66
|
}
|
|
67
67
|
export interface ListDistributionsPermissionsRequest {
|
|
68
68
|
/** The encoded ID of the function */
|
|
69
|
-
function_id?: string;
|
|
69
|
+
function_id?: string | undefined;
|
|
70
70
|
/** The callback ID defined in the function's definition file */
|
|
71
|
-
function_callback_id?: string;
|
|
71
|
+
function_callback_id?: string | undefined;
|
|
72
72
|
/** The encoded ID of the app */
|
|
73
|
-
function_app_id?: string;
|
|
73
|
+
function_app_id?: string | undefined;
|
|
74
74
|
}
|
|
75
75
|
export type ListDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
76
76
|
export type ListDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
@@ -83,19 +83,19 @@ export interface ListDistributionsPermissionsResponse {
|
|
|
83
83
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
84
84
|
ok: boolean;
|
|
85
85
|
permission_type: ListDistributionsPermissionsResponsePermissionType;
|
|
86
|
-
users?: ListDistributionsPermissionsResponseUsersList;
|
|
86
|
+
users?: ListDistributionsPermissionsResponseUsersList | undefined;
|
|
87
87
|
/** List of team IDs allowed with named_entities permission. */
|
|
88
|
-
team_ids?: ListDistributionsPermissionsResponseTeamIdsList;
|
|
88
|
+
team_ids?: ListDistributionsPermissionsResponseTeamIdsList | undefined;
|
|
89
89
|
/** List of org IDs allowed with named_entities permission. */
|
|
90
|
-
org_ids?: ListDistributionsPermissionsResponseOrgIdsList;
|
|
90
|
+
org_ids?: ListDistributionsPermissionsResponseOrgIdsList | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface ListWorkflowsStepsRequest {
|
|
93
93
|
/** The workflow ID, starts with Wf* */
|
|
94
|
-
workflow_id?: string;
|
|
94
|
+
workflow_id?: string | undefined;
|
|
95
95
|
/** The workflow encoded ID or workflow reference */
|
|
96
|
-
workflow?: string;
|
|
96
|
+
workflow?: string | undefined;
|
|
97
97
|
/** The app tied to the workflow reference. */
|
|
98
|
-
workflow_app_id?: string;
|
|
98
|
+
workflow_app_id?: string | undefined;
|
|
99
99
|
/** The ID of the function to query */
|
|
100
100
|
function_id: string;
|
|
101
101
|
}
|
|
@@ -109,13 +109,13 @@ export interface ListWorkflowsStepsResponse {
|
|
|
109
109
|
export type RemoveDistributionsPermissionsRequestUserIdsList = Array<string>;
|
|
110
110
|
export interface RemoveDistributionsPermissionsRequest {
|
|
111
111
|
/** The encoded ID of the function */
|
|
112
|
-
function_id?: string;
|
|
112
|
+
function_id?: string | undefined;
|
|
113
113
|
/** The callback ID defined in the function's definition file */
|
|
114
|
-
function_callback_id?: string;
|
|
114
|
+
function_callback_id?: string | undefined;
|
|
115
115
|
/** The encoded ID of the app. */
|
|
116
|
-
function_app_id?: string;
|
|
116
|
+
function_app_id?: string | undefined;
|
|
117
117
|
/** List of encoded user IDs */
|
|
118
|
-
user_ids?: RemoveDistributionsPermissionsRequestUserIdsList;
|
|
118
|
+
user_ids?: RemoveDistributionsPermissionsRequestUserIdsList | undefined;
|
|
119
119
|
}
|
|
120
120
|
export type RemoveDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
121
121
|
export type RemoveDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
@@ -124,7 +124,7 @@ export interface RemoveDistributionsPermissionsResponse {
|
|
|
124
124
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
125
125
|
ok: boolean;
|
|
126
126
|
permission_type: RemoveDistributionsPermissionsResponsePermissionType;
|
|
127
|
-
users?: RemoveDistributionsPermissionsResponseUsersList;
|
|
127
|
+
users?: RemoveDistributionsPermissionsResponseUsersList | undefined;
|
|
128
128
|
}
|
|
129
129
|
/** The type of permission that defines how the function can be distributed */
|
|
130
130
|
export type SetDistributionsPermissionsRequestPermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
@@ -136,19 +136,19 @@ export type SetDistributionsPermissionsRequestTeamIdsList = Array<string>;
|
|
|
136
136
|
export type SetDistributionsPermissionsRequestOrgIdsList = Array<string>;
|
|
137
137
|
export interface SetDistributionsPermissionsRequest {
|
|
138
138
|
/** The encoded ID of the function */
|
|
139
|
-
function_id?: string;
|
|
139
|
+
function_id?: string | undefined;
|
|
140
140
|
/** The callback ID defined in the function's definition file */
|
|
141
|
-
function_callback_id?: string;
|
|
141
|
+
function_callback_id?: string | undefined;
|
|
142
142
|
/** The encoded ID of the app */
|
|
143
|
-
function_app_id?: string;
|
|
143
|
+
function_app_id?: string | undefined;
|
|
144
144
|
/** The type of permission that defines how the function can be distributed */
|
|
145
|
-
permission_type?: SetDistributionsPermissionsRequestPermissionType | (string & {});
|
|
145
|
+
permission_type?: SetDistributionsPermissionsRequestPermissionType | (string & {}) | undefined;
|
|
146
146
|
/** List of encoded user IDs */
|
|
147
|
-
user_ids?: SetDistributionsPermissionsRequestUserIdsList;
|
|
147
|
+
user_ids?: SetDistributionsPermissionsRequestUserIdsList | undefined;
|
|
148
148
|
/** List of team IDs to allow for named_entities permission */
|
|
149
|
-
team_ids?: SetDistributionsPermissionsRequestTeamIdsList;
|
|
149
|
+
team_ids?: SetDistributionsPermissionsRequestTeamIdsList | undefined;
|
|
150
150
|
/** List of org IDs to allow for named_entities permission */
|
|
151
|
-
org_ids?: SetDistributionsPermissionsRequestOrgIdsList;
|
|
151
|
+
org_ids?: SetDistributionsPermissionsRequestOrgIdsList | undefined;
|
|
152
152
|
}
|
|
153
153
|
export type SetDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
154
154
|
export type SetDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
@@ -161,14 +161,14 @@ export interface SetDistributionsPermissionsResponse {
|
|
|
161
161
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
162
162
|
ok: boolean;
|
|
163
163
|
permission_type: SetDistributionsPermissionsResponsePermissionType;
|
|
164
|
-
users?: SetDistributionsPermissionsResponseUsersList;
|
|
164
|
+
users?: SetDistributionsPermissionsResponseUsersList | undefined;
|
|
165
165
|
/** List of team IDs allowed with named_entities permission. */
|
|
166
|
-
team_ids?: SetDistributionsPermissionsResponseTeamIdsList;
|
|
166
|
+
team_ids?: SetDistributionsPermissionsResponseTeamIdsList | undefined;
|
|
167
167
|
/** List of org IDs allowed with named_entities permission. */
|
|
168
|
-
org_ids?: SetDistributionsPermissionsResponseOrgIdsList;
|
|
168
|
+
org_ids?: SetDistributionsPermissionsResponseOrgIdsList | undefined;
|
|
169
169
|
}
|
|
170
170
|
export type AddDistributionsPermissionsError = SlackOpError;
|
|
171
|
-
/** Grant users access to a custom slack function if its permission_type is set to named_entities Required scopes -- configuration: `app_configurations:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `access_denied` -- This actor does not have access to the permissions on this resource. - `function_not_found` -- This function does not exist. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `user_not_found` -- One or more of the named entities was not found. - `app_not_found` -- This app does not exist. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.add */
|
|
171
|
+
/** Grant users access to a custom slack function if its permission_type is set to named_entities Required scopes -- configuration: `app_configurations:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `access_denied` -- This actor does not have access to the permissions on this resource. - `function_not_found` -- This function does not exist. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `user_not_found` -- One or more of the named entities was not found. - `app_not_found` -- This app does not exist. - `app_edit_disabled` -- The app is managed in Salesforce, so access to its functions can't be changed here. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.add */
|
|
172
172
|
export declare const addDistributionsPermissions: API.OperationMethod<AddDistributionsPermissionsRequest, AddDistributionsPermissionsResponse, AddDistributionsPermissionsError, SlackOpContext>;
|
|
173
173
|
export type CompleteErrorError = SlackOpError;
|
|
174
174
|
/** Signal that a function failed to complete Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `function_execution_not_found` -- The specified function execution cannot be found. - `access_denied` -- This actor does not have access to this function execution. - `execution_not_in_running_state` -- The function execution is no longer in a state to be completed. See https://docs.slack.dev/reference/methods/functions.completeError */
|
|
@@ -189,6 +189,6 @@ export type RemoveDistributionsPermissionsError = SlackOpError;
|
|
|
189
189
|
/** Revoke user access to a custom slack function if permission_type set to named_entities Required scopes -- configuration: `app_configurations:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `access_denied` -- This actor does not have access to the permissions on this resource. - `function_not_found` -- This function does not exist. - `user_not_found` -- One or more of the named entities was not found. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `app_not_found` -- This app does not exist. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.remove */
|
|
190
190
|
export declare const removeDistributionsPermissions: API.OperationMethod<RemoveDistributionsPermissionsRequest, RemoveDistributionsPermissionsResponse, RemoveDistributionsPermissionsError, SlackOpContext>;
|
|
191
191
|
export type SetDistributionsPermissionsError = SlackOpError;
|
|
192
|
-
/** Set the access type of a custom slack function and define the users, team or org ids to be granted access if permission_type is set to named_entities Required scopes -- configuration: `app_configurations:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `access_denied` -- This actor does not have access to the permissions on this resource. - `function_not_found` -- This function does not exist. - `invalid_named_entities` -- One or more of the named entities was not found - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `user_not_found` -- One or more of the named entities was not found. - `app_not_found` -- This app does not exist. - `permission_type_required` -- `permission_type` is a required input. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.set */
|
|
192
|
+
/** Set the access type of a custom slack function and define the users, team or org ids to be granted access if permission_type is set to named_entities Required scopes -- configuration: `app_configurations:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method` -- This method does not exist. - `access_denied` -- This actor does not have access to the permissions on this resource. - `function_not_found` -- This function does not exist. - `invalid_named_entities` -- One or more of the named entities was not found - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `user_not_found` -- One or more of the named entities was not found. - `app_not_found` -- This app does not exist. - `permission_type_required` -- `permission_type` is a required input. - `app_edit_disabled` -- The app is managed in Salesforce, so access to its functions can't be changed here. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.set */
|
|
193
193
|
export declare const setDistributionsPermissions: API.OperationMethod<SetDistributionsPermissionsRequest, SetDistributionsPermissionsResponse, SetDistributionsPermissionsError, SlackOpContext>;
|
|
194
194
|
//# sourceMappingURL=functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/services/functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAe7C,+BAA+B;AAC/B,MAAM,MAAM,6CAA6C,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAC1E,MAAM,WAAW,kCAAkC;IACjD,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/services/functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAKjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cA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BAA4B,EAAE,GAAG,CAAC,eAAe,CAC5D,mCAAmC,EACnC,oCAAoC,EACpC,iCAAiC,EACjC,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC;AACnD,mwBAAmwB;AACnwB,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,eAAe,CAClD,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,mCAAmC,GAAG,YAAY,CAAC;AAC/D,kvBAAkvB;AAClvB,eAAO,MAAM,8BAA8B,EAAE,GAAG,CAAC,eAAe,CAC9D,qCAAqC,EACrC,sCAAsC,EACtC,mCAAmC,EACnC,cAAc,CASb,CAAC;AAEJ,MAAM,MAAM,gCAAgC,GAAG,YAAY,CAAC;AAC5D,gjCAAgjC;AAChjC,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,eAAe,CAC3D,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,cAAc,CASb,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Nc as e,Oc as t,Xc as n,Zc as r,_c as i,a,c as o,ed as s,errors$SlackError as c,errors$SlackRateLimited as l,gd as u,k as d,ld as f,m as p,md as m,protocol$SlackProtocol as h,retry$Retry as g,traits$Http as _}from"../_bundle/sdk.js";const v={system:`slack-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`},{header:`x-slack-req-id`,name:`http.response.header.x-slack-req-id`,transform:`list`}],prefix:`Slack`,service:`Functions`,propagate:`w3c`};const y=/*@__PURE__*/ p(e=>e===a?d(`AddDistributionsPermissions`,`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$6(>2)@"%Request";$5({function_id:$3($2),function_callback_id:$3($2),function_app_id:$3($2),user_ids:$3(#4:0)}).pipe($1({method:"POST",uri:"/functions.distributions.permissions.add",code:200}))`,[u,_,r,f,__d0,i,m,__d1,c,l,h,g,v]):o(y,e));const b=/*@__PURE__*/ p(e=>e===a?d(`CompleteError`,`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9,telemetry:$10,span:"%"};$4(>2)@"%Request";$3({function_execution_id:$2,error:$2}).pipe($1({method:"POST",uri:"/functions.completeError",code:200}))`,[u,_,r,i,m,__d2,c,l,h,g,v]):o(b,e));const x=/*@__PURE__*/ p(e=>e===a?d(`CompleteSuccess`,`{input:#2,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$3($1,$2);$6(>3)@"%Request";$5({function_execution_id:$1,outputs:#1}).pipe($4({method:"POST",uri:"/functions.completeSuccess",code:200}))`,[u,r,s,n,_,i,m,__d2,c,l,h,g,v]):o(x,e));const S=/*@__PURE__*/ p(e=>e===a?d(`ExportWorkflowsStepsResponse`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({workflow_id:$3($2),workflow:$3($2),workflow_app_id:$3($2),step_id:$2}).pipe($1({method:"POST",uri:"/functions.workflows.steps.responses.export",code:200}))`,[u,_,r,f,i,m,__d2,c,l,h,g,v]):o(S,e));const C=/*@__PURE__*/ p(e=>e===a?d(`ListDistributionsPermissions`,`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10,telemetry:$11,span:"%"};$5(>2)@"%Request";$4({function_id:$3($2),function_callback_id:$3($2),function_app_id:$3($2)}).pipe($1({method:"POST",uri:"/functions.distributions.permissions.list",code:200}))`,[u,_,r,f,i,m,__d3,c,l,h,g,v]):o(C,e));const w=/*@__PURE__*/ p(n=>n===a?d(`ListWorkflowsSteps`,`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12,telemetry:$13,span:"%"};$5(>4)@"%Request";$7($6);$5(>5)@"%Response";$4({workflow_id:$3($2),workflow:$3($2),workflow_app_id:$3($2),function_id:$2}).pipe($1({method:"POST",uri:"/functions.workflows.steps.list",code:200}));$4({ok:$8,steps_versions:#2})`,[u,_,r,f,i,m,s,e,t,c,l,h,g,v]):o(w,n));const T=/*@__PURE__*/ p(e=>e===a?d(`RemoveDistributionsPermissions`,`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$6(>2)@"%Request";$5({function_id:$3($2),function_callback_id:$3($2),function_app_id:$3($2),user_ids:$3(#4:0)}).pipe($1({method:"POST",uri:"/functions.distributions.permissions.remove",code:200}))`,[u,_,r,f,__d0,i,m,__d1,c,l,h,g,v]):o(T,e));const E=/*@__PURE__*/ p(e=>e===a?d(`SetDistributionsPermissions`,`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11,telemetry:$12,span:"%"};$6(>2)@"%Request";$5({function_id:$3($2),function_callback_id:$3($2),function_app_id:$3($2),permission_type:$3($2),user_ids:$3(#4:0),team_ids:$3(#4:0),org_ids:$3(#4:0)}).pipe($1({method:"POST",uri:"/functions.distributions.permissions.set",code:200}))`,[u,_,r,f,__d0,i,m,__d3,c,l,h,g,v]):o(E,e));function __d0(){return[`$2($1);$5(>3)@"AddDistributionsPermissionsResponseUsersItem";$2(#1);$4({user_id:$3($1),username:$3($1),email:$3($1)})`,[u,r,e,f,i,m]]}function __d1(){return[`$6(>1)@"AddDistributionsPermissionsResponse";$5({ok:$1,permission_type:$2,users:$4(#3:2)})`,[u,t,r,__d0,f,i,m]]}function __d2(){return[`$3(>1)@"CompleteErrorResponse";$2({ok:$1})`,[u,t,i,m]]}function __d3(){return[`$6(>1)@"ListDistributionsPermissionsResponse";$5({ok:$1,permission_type:$2,users:$4(#3:2),team_ids:$4(#3:0),org_ids:$4(#3:0)})`,[u,t,r,__d0,f,i,m]]}export{y as addDistributionsPermissions,b as completeError,x as completeSuccess,S as exportWorkflowsStepsResponse,C as listDistributionsPermissions,w as listWorkflowsSteps,T as removeDistributionsPermissions,E as setDistributionsPermissions};
|
|
2
2
|
//# sourceMappingURL=functions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Unknown","S.Record","S.Array","S.Boolean","Array","Boolean","Record","String","Struct","
|
|
1
|
+
{"version":3,"file":"functions.js","names":["API.D","API.named","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Unknown","S.Record","S.Array","S.Boolean","Array","Boolean","Record","String","Struct","call","Unknown","SlackError","SlackRateLimited","at","named","optional","op","suspend","SlackProtocol","Retry","Http","TELEMETRY","addDistributionsPermissions","i","D","completeError","completeSuccess","exportWorkflowsStepsResponse","listDistributionsPermissions","listWorkflowsSteps","removeDistributionsPermissions","setDistributionsPermissions"],"sources":["../../src/services/functions.ts"],"mappings":"gPAYA,MAAM+B,EAAY,CAChB,OAAQ,YACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,EACnF,CAAE,OAAQ,iBAAkB,KAAM,sCAAuC,UAAW,MAAO,CAC7F,EACA,OAAQ,QACR,QAAS,YACT,UAAW,KACb,EAmMA,MAAaC,EAKK,gBAAQ,GAAgBC,IAAMjC,EAAQC,EAAU,8BAA+B,wRAAyR,CAACC,EAAQC,EAAQC,EAAUC,EAAY,KAAMC,EAAUC,EAAW,KAAMc,EAAYC,EAAkBM,EAAepB,EAAauB,CAAS,CAAC,EAAItB,EAASuB,EAA6BC,CAAC,CAAC,EAIljB,MAAaE,EAKK,gBAAQ,GAAgBF,IAAMjC,EAAQC,EAAU,gBAAiB,gNAAiN,CAACC,EAAQC,EAAQC,EAAUE,EAAUC,EAAW,KAAMc,EAAYC,EAAkBM,EAAepB,EAAauB,CAAS,CAAC,EAAItB,EAAS0B,EAAeF,CAAC,CAAC,EAI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,EAAepB,EAAauB,CAAS,CAAC,EAAItB,EAASgC,EAA6BR,CAAC,CAAC,EAM5mB,SAAS,MAAY,CACnB,MAAO,CAAC,wHAAyH,CAAC/B,EAAQE,EAAUQ,EAASP,EAAYC,EAAUC,CAAS,CAAC,CAC/L,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,6FAA8F,CAACL,EAAQW,EAAWT,EAAU,KAAMC,EAAYC,EAAUC,CAAS,CAAC,CAC5K,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,6CAA8C,CAACL,EAAQW,EAAWP,EAAUC,CAAS,CAAC,CAChG,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,iIAAkI,CAACL,EAAQW,EAAWT,EAAU,KAAMC,EAAYC,EAAUC,CAAS,CAAC,CAChN"}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * as reactions from "./reactions.ts";
|
|
|
26
26
|
export * as reminders from "./reminders.ts";
|
|
27
27
|
export * as rtm from "./rtm.ts";
|
|
28
28
|
export * as search from "./search.ts";
|
|
29
|
+
export * as slackbot from "./slackbot.ts";
|
|
29
30
|
export * as stars from "./stars.ts";
|
|
30
31
|
export * as team from "./team.ts";
|
|
31
32
|
export * as tooling from "./tooling.ts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,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CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC"}
|
package/lib/services/index.js
CHANGED
|
@@ -26,6 +26,7 @@ export * as reactions from "./reactions.js";
|
|
|
26
26
|
export * as reminders from "./reminders.js";
|
|
27
27
|
export * as rtm from "./rtm.js";
|
|
28
28
|
export * as search from "./search.js";
|
|
29
|
+
export * as slackbot from "./slackbot.js";
|
|
29
30
|
export * as stars from "./stars.js";
|
|
30
31
|
export * as team from "./team.js";
|
|
31
32
|
export * as tooling from "./tooling.js";
|
package/lib/services/lists.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ export interface CreateItemRequest {
|
|
|
7
7
|
/** ID of the List to add the item to. */
|
|
8
8
|
list_id: string;
|
|
9
9
|
/** ID of the record to make a copy of. */
|
|
10
|
-
duplicated_item_id?: string;
|
|
10
|
+
duplicated_item_id?: string | undefined;
|
|
11
11
|
/** ID of the parent record for this subtask. */
|
|
12
|
-
parent_item_id?: string;
|
|
12
|
+
parent_item_id?: string | undefined;
|
|
13
13
|
/** Initial item data. */
|
|
14
|
-
initial_fields?: CreateItemRequestInitialFieldsList;
|
|
14
|
+
initial_fields?: CreateItemRequestInitialFieldsList | undefined;
|
|
15
15
|
}
|
|
16
16
|
export interface CreateItemResponse {
|
|
17
17
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
@@ -26,15 +26,15 @@ export interface CreateSlackListRequest {
|
|
|
26
26
|
/** Name of the List. */
|
|
27
27
|
name: string;
|
|
28
28
|
/** A rich text description of the List. */
|
|
29
|
-
description_blocks?: CreateSlackListRequestDescriptionBlocksList;
|
|
29
|
+
description_blocks?: CreateSlackListRequestDescriptionBlocksList | undefined;
|
|
30
30
|
/** Column definition for the List. */
|
|
31
|
-
schema?: CreateSlackListRequestSchemaList;
|
|
31
|
+
schema?: CreateSlackListRequestSchemaList | undefined;
|
|
32
32
|
/** ID of the List to copy. */
|
|
33
|
-
copy_from_list_id?: string;
|
|
33
|
+
copy_from_list_id?: string | undefined;
|
|
34
34
|
/** Boolean indicating whether to include records when a List is copied. */
|
|
35
|
-
include_copied_list_records?: boolean;
|
|
35
|
+
include_copied_list_records?: boolean | undefined;
|
|
36
36
|
/** Boolean indicating whether the List should be used to track todo tasks. */
|
|
37
|
-
todo_mode?: boolean;
|
|
37
|
+
todo_mode?: boolean | undefined;
|
|
38
38
|
}
|
|
39
39
|
export interface CreateSlackListResponse {
|
|
40
40
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
@@ -42,7 +42,7 @@ export interface CreateSlackListResponse {
|
|
|
42
42
|
/** The ID of the List created. */
|
|
43
43
|
list_id: string;
|
|
44
44
|
/** The metadata of the List created. */
|
|
45
|
-
list_metadata?: unknown;
|
|
45
|
+
list_metadata?: unknown | undefined;
|
|
46
46
|
}
|
|
47
47
|
/** List of channels you wish to update access for. Can only be used if `user_ids` is not provided. */
|
|
48
48
|
export type DeleteAccessRequestChannelIdsList = Array<string>;
|
|
@@ -52,9 +52,9 @@ export interface DeleteAccessRequest {
|
|
|
52
52
|
/** Encoded ID of the List. */
|
|
53
53
|
list_id: string;
|
|
54
54
|
/** List of channels you wish to update access for. Can only be used if `user_ids` is not provided. */
|
|
55
|
-
channel_ids?: DeleteAccessRequestChannelIdsList;
|
|
55
|
+
channel_ids?: DeleteAccessRequestChannelIdsList | undefined;
|
|
56
56
|
/** List of users you wish to update access for. Can only be used if `channel_ids` is not provided. */
|
|
57
|
-
user_ids?: DeleteAccessRequestUserIdsList;
|
|
57
|
+
user_ids?: DeleteAccessRequestUserIdsList | undefined;
|
|
58
58
|
}
|
|
59
59
|
/** The channel IDs that could not be updated. */
|
|
60
60
|
export type DeleteAccessResponseFailedToUpdateChannelIdsList = Array<string>;
|
|
@@ -64,9 +64,9 @@ export interface DeleteAccessResponse {
|
|
|
64
64
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
65
65
|
ok: boolean;
|
|
66
66
|
/** The channel IDs that could not be updated. */
|
|
67
|
-
failed_to_update_channel_ids?: DeleteAccessResponseFailedToUpdateChannelIdsList;
|
|
67
|
+
failed_to_update_channel_ids?: DeleteAccessResponseFailedToUpdateChannelIdsList | undefined;
|
|
68
68
|
/** The user IDs that could not be updated. */
|
|
69
|
-
failed_to_update_user_ids?: DeleteAccessResponseFailedToUpdateUserIdsList;
|
|
69
|
+
failed_to_update_user_ids?: DeleteAccessResponseFailedToUpdateUserIdsList | undefined;
|
|
70
70
|
}
|
|
71
71
|
export interface DeleteItemRequest {
|
|
72
72
|
/** ID of the List containing the item. */
|
|
@@ -94,11 +94,13 @@ export interface DownloadGetRequest {
|
|
|
94
94
|
/** The ID of the recently started job to export the List. */
|
|
95
95
|
job_id: string;
|
|
96
96
|
/** Format the export was started with. Must match the `format` passed to `slackLists.download.start`. Defaults to `csv`. */
|
|
97
|
-
format?: string;
|
|
97
|
+
format?: string | undefined;
|
|
98
98
|
/** Must match the `include_threads` passed to `slackLists.download.start`. The returned `download_url` carries this through so the served export matches what was generated. Only applies when `format` is `json`. */
|
|
99
|
-
include_threads?: boolean;
|
|
99
|
+
include_threads?: boolean | undefined;
|
|
100
100
|
/** Must match the `include_attachments` passed to `slackLists.download.start`. The returned `download_url` carries this through so the served export matches what was generated. Only applies when `format` is `json`. */
|
|
101
|
-
include_attachments?: boolean;
|
|
101
|
+
include_attachments?: boolean | undefined;
|
|
102
|
+
/** Must match the `include_archived` passed to `slackLists.download.start`. The returned `download_url` carries this through so the served export includes archived items when they were requested. */
|
|
103
|
+
include_archived?: boolean | undefined;
|
|
102
104
|
}
|
|
103
105
|
export interface DownloadGetResponse {
|
|
104
106
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
@@ -106,24 +108,24 @@ export interface DownloadGetResponse {
|
|
|
106
108
|
/** Current status of the export job. */
|
|
107
109
|
status: unknown;
|
|
108
110
|
/** The URL at which to download the CSV. */
|
|
109
|
-
download_url?: string;
|
|
111
|
+
download_url?: string | undefined;
|
|
110
112
|
}
|
|
111
113
|
export interface DownloadStartRequest {
|
|
112
114
|
/** ID of the List to export. */
|
|
113
115
|
list_id: string;
|
|
114
|
-
include_archived?: boolean;
|
|
116
|
+
include_archived?: boolean | undefined;
|
|
115
117
|
/** Format of the export. Defaults to `csv` for backward compatibility. Use `json` for a complete, hierarchical export. */
|
|
116
|
-
format?: string;
|
|
118
|
+
format?: string | undefined;
|
|
117
119
|
/** Include each item's conversation thread in the export. Only applies when `format` is `json`. */
|
|
118
|
-
include_threads?: boolean;
|
|
120
|
+
include_threads?: boolean | undefined;
|
|
119
121
|
/** Include file attachment metadata and access paths in the export. Only applies when `format` is `json`. */
|
|
120
|
-
include_attachments?: boolean;
|
|
122
|
+
include_attachments?: boolean | undefined;
|
|
121
123
|
}
|
|
122
124
|
export interface DownloadStartResponse {
|
|
123
125
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
124
126
|
ok: boolean;
|
|
125
127
|
/** The ID of the recently started job to export the List. */
|
|
126
|
-
job_id:
|
|
128
|
+
job_id: string;
|
|
127
129
|
}
|
|
128
130
|
export interface ItemsInfoRequest {
|
|
129
131
|
/** ID of the List. */
|
|
@@ -131,7 +133,7 @@ export interface ItemsInfoRequest {
|
|
|
131
133
|
/** ID of the row to get. */
|
|
132
134
|
id: string;
|
|
133
135
|
/** Set to `true` to include `is_subscribed` data for the returned List row. */
|
|
134
|
-
include_is_subscribed?: boolean;
|
|
136
|
+
include_is_subscribed?: boolean | undefined;
|
|
135
137
|
}
|
|
136
138
|
export type ItemsInfoResponseSubtasksList = Array<unknown>;
|
|
137
139
|
export interface ItemsInfoResponse {
|
|
@@ -139,35 +141,35 @@ export interface ItemsInfoResponse {
|
|
|
139
141
|
ok: boolean;
|
|
140
142
|
list: unknown;
|
|
141
143
|
record: unknown;
|
|
142
|
-
parent_task?: unknown;
|
|
143
|
-
subtasks?: ItemsInfoResponseSubtasksList;
|
|
144
|
+
parent_task?: unknown | undefined;
|
|
145
|
+
subtasks?: ItemsInfoResponseSubtasksList | undefined;
|
|
144
146
|
}
|
|
145
147
|
export interface ListItemsRequest {
|
|
146
148
|
/** ID of the List. */
|
|
147
149
|
list_id: string;
|
|
148
|
-
/** The maximum number of records to return. */
|
|
149
|
-
limit?: number;
|
|
150
|
+
/** The maximum number of records to return, up to the list row limit of 5000. */
|
|
151
|
+
limit?: number | undefined;
|
|
150
152
|
/** Next cursor for pagination. */
|
|
151
|
-
cursor?: string;
|
|
153
|
+
cursor?: string | undefined;
|
|
152
154
|
/** Boolean indicating whether archived items or normal items should be returned. */
|
|
153
|
-
archived?: boolean;
|
|
155
|
+
archived?: boolean | undefined;
|
|
154
156
|
/** Set to `true` to also return the parent `list` object, including its title, column schema, and total row count. Defaults to `false` to keep the response small. */
|
|
155
|
-
include_list?: boolean;
|
|
157
|
+
include_list?: boolean | undefined;
|
|
156
158
|
}
|
|
157
159
|
export type ListItemsResponseItemsList = Array<unknown>;
|
|
158
160
|
/** Pagination metadata. An empty `next_cursor` means the last page. */
|
|
159
161
|
export interface ListItemsResponseResponseMetadata {
|
|
160
162
|
/** Cursor for the next page -- pass as `cursor` on the next call. */
|
|
161
|
-
next_cursor?: string;
|
|
163
|
+
next_cursor?: string | undefined;
|
|
162
164
|
}
|
|
163
165
|
export interface ListItemsResponse {
|
|
164
166
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
165
167
|
ok: boolean;
|
|
166
168
|
items: ListItemsResponseItemsList;
|
|
167
169
|
/** Pagination metadata. An empty `next_cursor` means the last page. */
|
|
168
|
-
response_metadata?: ListItemsResponseResponseMetadata;
|
|
170
|
+
response_metadata?: ListItemsResponseResponseMetadata | undefined;
|
|
169
171
|
/** The parent list. Only returned when `include_list` is `true`. `list_limits` carries `row_count` and no other key: the number of items matching this request's `archived` value, counting Slack-suggested items that `items` itself does not return, so it can exceed the number of items you can page through. Sharing and access fields (`channels`, `groups`, `ims`, `access`) are omitted; call `files.info` if you need those or the full set of list limits. */
|
|
170
|
-
list?: unknown;
|
|
172
|
+
list?: unknown | undefined;
|
|
171
173
|
}
|
|
172
174
|
/** List of channels you wish to update access for. Can only be used if `user_ids` is not provided. */
|
|
173
175
|
export type SetAccessRequestChannelIdsList = Array<string>;
|
|
@@ -179,9 +181,9 @@ export interface SetAccessRequest {
|
|
|
179
181
|
/** Desired level of access. */
|
|
180
182
|
access_level: string;
|
|
181
183
|
/** List of channels you wish to update access for. Can only be used if `user_ids` is not provided. */
|
|
182
|
-
channel_ids?: SetAccessRequestChannelIdsList;
|
|
184
|
+
channel_ids?: SetAccessRequestChannelIdsList | undefined;
|
|
183
185
|
/** List of users you wish to update access for. Can only be used if `channel_ids` is not provided. */
|
|
184
|
-
user_ids?: SetAccessRequestUserIdsList;
|
|
186
|
+
user_ids?: SetAccessRequestUserIdsList | undefined;
|
|
185
187
|
}
|
|
186
188
|
/** The channel IDs that could not be updated. */
|
|
187
189
|
export type SetAccessResponseFailedToUpdateChannelIdsList = Array<string>;
|
|
@@ -191,9 +193,9 @@ export interface SetAccessResponse {
|
|
|
191
193
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
192
194
|
ok: boolean;
|
|
193
195
|
/** The channel IDs that could not be updated. */
|
|
194
|
-
failed_to_update_channel_ids?: SetAccessResponseFailedToUpdateChannelIdsList;
|
|
196
|
+
failed_to_update_channel_ids?: SetAccessResponseFailedToUpdateChannelIdsList | undefined;
|
|
195
197
|
/** The user IDs that could not be updated. */
|
|
196
|
-
failed_to_update_user_ids?: SetAccessResponseFailedToUpdateUserIdsList;
|
|
198
|
+
failed_to_update_user_ids?: SetAccessResponseFailedToUpdateUserIdsList | undefined;
|
|
197
199
|
}
|
|
198
200
|
/** Cells to update. */
|
|
199
201
|
export type UpdateItemRequestCellsList = Array<unknown>;
|
|
@@ -213,30 +215,30 @@ export interface UpdateSlackListRequest {
|
|
|
213
215
|
/** The ID of the List to update. */
|
|
214
216
|
id: string;
|
|
215
217
|
/** The updated name of the List. */
|
|
216
|
-
name?: string;
|
|
218
|
+
name?: string | undefined;
|
|
217
219
|
/** A rich text description of the List. */
|
|
218
|
-
description_blocks?: UpdateSlackListRequestDescriptionBlocksList;
|
|
220
|
+
description_blocks?: UpdateSlackListRequestDescriptionBlocksList | undefined;
|
|
219
221
|
/** Boolean indicating whether the List should be in todo mode. */
|
|
220
|
-
todo_mode?: boolean;
|
|
222
|
+
todo_mode?: boolean | undefined;
|
|
221
223
|
}
|
|
222
224
|
export interface UpdateSlackListResponse {
|
|
223
225
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
224
226
|
ok: boolean;
|
|
225
227
|
}
|
|
226
228
|
export type CreateItemError = SlackOpError;
|
|
227
|
-
/** Add a new item to an existing List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `over_row_maximum` -- Cannot create more items over the maximum. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `duplicated_item_not_found` -- The item to duplicate cannot be found. - `invalid_option_id` -- Option ID provided does not match column definition. - `invalid_args` -- The provided arguments are invalid. - `uneditable_column` -- Initial values provided for an uneditable column. - `invalid_input_type` -- The field value type does not match the column type. - `invalid_column_id` -- The column ID provided does not exist in the List. - `over_cell_fields_limit` -- Too many values provided for a single field. - `file_not_found` -- The attachment file could not be found. - `invalid_vote_value` -- Invalid value provided for a vote column. See https://docs.slack.dev/reference/methods/slackLists.items.create */
|
|
229
|
+
/** Add a new item to an existing List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `over_row_maximum` -- Cannot create more items over the maximum. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `duplicated_item_not_found` -- The item to duplicate cannot be found. - `invalid_option_id` -- Option ID provided does not match column definition. - `invalid_args` -- The provided arguments are invalid. - `uneditable_column` -- Initial values provided for an uneditable column. - `invalid_input_type` -- The field value type does not match the column type. - `invalid_column_id` -- The column ID provided does not exist in the List. - `over_cell_fields_limit` -- Too many values provided for a single field. - `file_not_found` -- The attachment file could not be found. - `invalid_vote_value` -- Invalid value provided for a vote column. - `invalid_date` -- Date supplied is invalid. - `invalid_email` -- Email supplied is invalid. - `invalid_phone_number` -- Invalid phone number provided. - `invalid_message` -- Invalid message provided. - `invalid_attachment` -- Invalid attachment provided. - `invalid_text_block` -- Rich text payload supplied is invalid. - `invalid_timestamp` -- Timestamp supplied is invalid. - `invalid_reference` -- Invalid reference provided; a reference cell holds one record or message. - `channel_not_found` -- The channel cannot be found. - `restricted_action` -- A team preference prevents this action. - `permission_denied` -- The user does not have permission to perform this action (for example, frontline members cannot create List items). See https://docs.slack.dev/reference/methods/slackLists.items.create */
|
|
228
230
|
export declare const createItem: API.OperationMethod<CreateItemRequest, CreateItemResponse, CreateItemError, SlackOpContext>;
|
|
229
231
|
export type CreateSlackListError = SlackOpError;
|
|
230
|
-
/** Create a List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `permission_denied` -- The user does not have permission to perform this action. - `invalid_schema` -- The schema was invalid. - `invalid_primary_column` -- Missing or more than one primary column. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `over_list_file_maximum` -- Cannot create any more List files. - `over_title_length_maximum` -- Title can not exceed defined length. - `invalid_column_type` -- Column type not allowed. - `missing_arg_copy_from_list_id` -- Missing argument `copy_from_list_id`. - `invalid_copy_and_schema_args` -- Cannot provide both `copy_from_list_id` and `schema`. - `over_column_maximum` -- Cannot create List with more than allowed column count. See https://docs.slack.dev/reference/methods/slackLists.create */
|
|
232
|
+
/** Create a List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `permission_denied` -- The user does not have permission to perform this action. - `invalid_schema` -- The schema was invalid. - `invalid_primary_column` -- Missing or more than one primary column. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `over_list_file_maximum` -- Cannot create any more List files. - `over_title_length_maximum` -- Title can not exceed defined length. - `invalid_column_type` -- Column type not allowed. - `missing_arg_copy_from_list_id` -- Missing argument `copy_from_list_id`. - `invalid_copy_and_schema_args` -- Cannot provide both `copy_from_list_id` and `schema`. - `over_column_maximum` -- Cannot create List with more than allowed column count. - `list_not_found` -- The List was not found. - `invalid_view_metadata` -- A view on the List to copy has settings that cannot be read, so the List cannot be copied. See https://docs.slack.dev/reference/methods/slackLists.create */
|
|
231
233
|
export declare const createSlackList: API.OperationMethod<CreateSlackListRequest, CreateSlackListResponse, CreateSlackListError, SlackOpContext>;
|
|
232
234
|
export type DeleteAccessError = SlackOpError;
|
|
233
235
|
/** Revoke access to a List for specified entities. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `lists_disabled_user_team` -- Lists is disabled on user's team. - `list_not_found` -- The List you wish to update permissions for is not available. - `channel_not_found` -- A channel could not be found. - `failed_to_update_user_ids` -- Failed to update the specified user IDs. - `invalid_parameters` -- One of `user_ids` or `channel_ids` must be defined, but not both. - `restricted_action` -- User does not have permission to perform this action. - `user_not_found` -- A user could not be found. See https://docs.slack.dev/reference/methods/slackLists.access.delete */
|
|
234
236
|
export declare const deleteAccess: API.OperationMethod<DeleteAccessRequest, DeleteAccessResponse, DeleteAccessError, SlackOpContext>;
|
|
235
237
|
export type DeleteItemError = SlackOpError;
|
|
236
|
-
/** Deletes an item from an existing List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `record_not_found` -- The record was not found in the List. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. See https://docs.slack.dev/reference/methods/slackLists.items.delete */
|
|
238
|
+
/** Deletes an item from an existing List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `record_not_found` -- The record was not found in the List. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `permission_denied` -- The user does not have permission to perform this action (for example, frontline members cannot delete List items). See https://docs.slack.dev/reference/methods/slackLists.items.delete */
|
|
237
239
|
export declare const deleteItem: API.OperationMethod<DeleteItemRequest, DeleteItemResponse, DeleteItemError, SlackOpContext>;
|
|
238
240
|
export type DeleteMultipleError = SlackOpError;
|
|
239
|
-
/** Deletes multiple items from an existing List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. See https://docs.slack.dev/reference/methods/slackLists.items.deleteMultiple */
|
|
241
|
+
/** Deletes multiple items from an existing List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `permission_denied` -- The user does not have permission to perform this action (for example, frontline members cannot delete List items). See https://docs.slack.dev/reference/methods/slackLists.items.deleteMultiple */
|
|
240
242
|
export declare const deleteMultiple: API.OperationMethod<DeleteMultipleRequest, DeleteMultipleResponse, DeleteMultipleError, SlackOpContext>;
|
|
241
243
|
export type DownloadGetError = SlackOpError;
|
|
242
244
|
/** Retrieve List download URL from an export job to download List contents. Required scopes -- bot: `lists:read`; user: `lists:read` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `permission_denied` -- The bot does not have permission to perform this action. - `unknown_method` -- Feature not enabled for this team. - `job_not_found` -- Could not find an export job matching that ID. See https://docs.slack.dev/reference/methods/slackLists.download.get */
|
|
@@ -257,6 +259,6 @@ export type UpdateItemError = SlackOpError;
|
|
|
257
259
|
/** Updates cells in a List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `row_not_found` -- The row was not found. - `column_not_found` -- The column was not found. - `file_not_found` -- Invalid file ID for this List. - `invalid_input_type` -- Supplied value key or value type is invalid for the given column type. - `invalid_row_id` -- Invalid row ID for this List. - `invalid_column_id` -- Invalid column ID for this List. - `permission_denied` -- The user does not have permission to perform this action. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `channel_not_found` -- The channel cannot be found. - `uneditable_column` -- The column cannot be updated. - `invalid_blocks` -- Rich text payload supplied is invalid. - `invalid_text_block` -- Rich text payload supplied is invalid. - `invalid_email` -- Email supplied is invalid. - `invalid_link` -- Message archive link supplied is invalid. - `invalid_date` -- Date supplied is invalid. - `invalid_option_id` -- Option supplied is invalid. - `row_id_not_provided` -- The `row_id` or `row_id_to_create` field must be provided. - `column_id_not_provided` -- The `column_id` or `column_id_to_create` field must be provided. - `over_cell_fields_limit` -- The supplied cell fields are over the cell field maximum. - `invalid_message` -- Invalid message provided. - `invalid_attachment` -- Invalid attachment provided. - `invalid_phone_number` -- Invalid phone number provided. - `invalid_vote_value` -- Invalid vote value is supplied. See https://docs.slack.dev/reference/methods/slackLists.items.update */
|
|
258
260
|
export declare const updateItem: API.OperationMethod<UpdateItemRequest, UpdateItemResponse, UpdateItemError, SlackOpContext>;
|
|
259
261
|
export type UpdateSlackListError = SlackOpError;
|
|
260
|
-
/** Update a List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `list_edits_update_error` -- Failed to update List metadata. - `list_editor_upsert_error` -- Failed to upsert List editor. - `over_title_length_maximum` -- Title can not exceed defined length. - `file_channel_rename_error` -- Failed to rename file channel based on file title. - `unexpected_description_blocks_arg` -- Unexpected description blocks argument. - `missing_arguments` -- No arguments were provided to update the List. See https://docs.slack.dev/reference/methods/slackLists.update */
|
|
262
|
+
/** Update a List. Required scopes -- bot: `lists:write`; user: `lists:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `list_not_found` -- The List was not found. - `team_not_found` -- The team cannot be found. - `user_not_found` -- The user cannot be found. - `list_edits_update_error` -- Failed to update List metadata. - `list_editor_upsert_error` -- Failed to upsert List editor. - `over_title_length_maximum` -- Title can not exceed defined length. - `file_channel_rename_error` -- Failed to rename file channel based on file title. - `unexpected_description_blocks_arg` -- Unexpected description blocks argument. - `missing_arguments` -- No arguments were provided to update the List. - `permission_denied` -- The user does not have permission to perform this action. See https://docs.slack.dev/reference/methods/slackLists.update */
|
|
261
263
|
export declare const updateSlackList: API.OperationMethod<UpdateSlackListRequest, UpdateSlackListResponse, UpdateSlackListError, SlackOpContext>;
|
|
262
264
|
//# sourceMappingURL=lists.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lists.d.ts","sourceRoot":"","sources":["../../src/services/lists.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAMjD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAe7C,yBAAyB;AACzB,MAAM,MAAM,kCAAkC,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AAChE,MAAM,WAAW,iBAAiB;IAChC,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,kBAAkB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"lists.d.ts","sourceRoot":"","sources":["../../src/services/lists.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK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