@distilled.cloud/slack 1.0.0-rc.15 → 1.0.0-rc.17
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/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +1 -53
- package/lib/errors.d.ts +31 -31
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -59
- package/lib/index.d.ts +1 -1
- package/lib/index.js +0 -10
- package/lib/index.lazy.js +7 -0
- package/lib/pagination.d.ts +2 -2
- package/lib/pagination.js +1 -31
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -231
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -45
- package/lib/services/admin.d.ts +123 -575
- package/lib/services/admin.d.ts.map +1 -1
- package/lib/services/admin.js +141 -2884
- package/lib/services/admin.js.map +1 -1
- package/lib/services/agents.d.ts +13 -55
- package/lib/services/agents.d.ts.map +1 -1
- package/lib/services/agents.js +1 -314
- package/lib/services/agents.js.map +1 -1
- package/lib/services/api.d.ts +0 -4
- package/lib/services/api.d.ts.map +1 -1
- package/lib/services/api.js +1 -23
- package/lib/services/api.js.map +1 -1
- package/lib/services/apps.d.ts +25 -106
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +35 -515
- package/lib/services/apps.js.map +1 -1
- package/lib/services/assistant.d.ts +6 -40
- package/lib/services/assistant.d.ts.map +1 -1
- package/lib/services/assistant.js +1 -209
- package/lib/services/assistant.js.map +1 -1
- package/lib/services/auth.d.ts +4 -15
- package/lib/services/auth.d.ts.map +1 -1
- package/lib/services/auth.js +1 -96
- package/lib/services/auth.js.map +1 -1
- package/lib/services/blocks.d.ts +1 -7
- package/lib/services/blocks.d.ts.map +1 -1
- package/lib/services/blocks.js +1 -26
- package/lib/services/blocks.js.map +1 -1
- package/lib/services/bookmarks.d.ts +4 -15
- package/lib/services/bookmarks.d.ts.map +1 -1
- package/lib/services/bookmarks.js +1 -81
- package/lib/services/bookmarks.js.map +1 -1
- package/lib/services/bots.d.ts +1 -9
- package/lib/services/bots.d.ts.map +1 -1
- package/lib/services/bots.js +1 -59
- package/lib/services/bots.js.map +1 -1
- package/lib/services/calls.d.ts +6 -22
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +1 -115
- package/lib/services/calls.js.map +1 -1
- package/lib/services/canvases.d.ts +7 -35
- package/lib/services/canvases.d.ts.map +1 -1
- package/lib/services/canvases.js +1 -140
- package/lib/services/canvases.js.map +1 -1
- package/lib/services/chat.d.ts +14 -83
- package/lib/services/chat.d.ts.map +1 -1
- package/lib/services/chat.js +1 -387
- package/lib/services/chat.js.map +1 -1
- package/lib/services/conversations.d.ts +31 -116
- package/lib/services/conversations.d.ts.map +1 -1
- package/lib/services/conversations.js +40 -696
- package/lib/services/conversations.js.map +1 -1
- package/lib/services/dialog.d.ts +1 -4
- package/lib/services/dialog.d.ts.map +1 -1
- package/lib/services/dialog.js +1 -22
- package/lib/services/dialog.js.map +1 -1
- package/lib/services/dnd.d.ts +5 -17
- package/lib/services/dnd.d.ts.map +1 -1
- package/lib/services/dnd.js +1 -96
- package/lib/services/dnd.js.map +1 -1
- package/lib/services/emoji.d.ts +1 -8
- package/lib/services/emoji.d.ts.map +1 -1
- package/lib/services/emoji.js +1 -34
- package/lib/services/emoji.js.map +1 -1
- package/lib/services/entity.d.ts +4 -16
- package/lib/services/entity.d.ts.map +1 -1
- package/lib/services/entity.js +1 -76
- package/lib/services/entity.js.map +1 -1
- package/lib/services/files.d.ts +16 -80
- package/lib/services/files.d.ts.map +1 -1
- package/lib/services/files.js +1 -439
- package/lib/services/files.js.map +1 -1
- package/lib/services/functions.d.ts +8 -49
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +1 -208
- package/lib/services/functions.js.map +1 -1
- package/lib/services/index.js +0 -2
- package/lib/services/lists.d.ts +13 -55
- package/lib/services/lists.d.ts.map +1 -1
- package/lib/services/lists.js +1 -254
- package/lib/services/lists.js.map +1 -1
- package/lib/services/migration.d.ts +1 -7
- package/lib/services/migration.d.ts.map +1 -1
- package/lib/services/migration.js +1 -32
- package/lib/services/migration.js.map +1 -1
- package/lib/services/oauth.d.ts +7 -43
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +1 -294
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/openid.d.ts +3 -10
- package/lib/services/openid.d.ts.map +1 -1
- package/lib/services/openid.js +1 -84
- package/lib/services/openid.js.map +1 -1
- package/lib/services/pins.d.ts +3 -13
- package/lib/services/pins.d.ts.map +1 -1
- package/lib/services/pins.js +1 -66
- package/lib/services/pins.js.map +1 -1
- package/lib/services/reactions.d.ts +5 -17
- package/lib/services/reactions.d.ts.map +1 -1
- package/lib/services/reactions.js +1 -102
- package/lib/services/reactions.js.map +1 -1
- package/lib/services/reminders.d.ts +5 -17
- package/lib/services/reminders.d.ts.map +1 -1
- package/lib/services/reminders.js +1 -88
- package/lib/services/reminders.js.map +1 -1
- package/lib/services/rtm.d.ts +2 -11
- package/lib/services/rtm.d.ts.map +1 -1
- package/lib/services/rtm.js +1 -61
- package/lib/services/rtm.js.map +1 -1
- package/lib/services/search.d.ts +4 -35
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +1 -172
- package/lib/services/search.js.map +1 -1
- package/lib/services/stars.d.ts +4 -26
- package/lib/services/stars.d.ts.map +1 -1
- package/lib/services/stars.js +1 -134
- package/lib/services/stars.js.map +1 -1
- package/lib/services/team.d.ts +11 -63
- package/lib/services/team.d.ts.map +1 -1
- package/lib/services/team.js +1 -295
- package/lib/services/team.js.map +1 -1
- package/lib/services/tooling.d.ts +2 -5
- package/lib/services/tooling.d.ts.map +1 -1
- package/lib/services/tooling.js +1 -33
- package/lib/services/tooling.js.map +1 -1
- package/lib/services/usergroups.d.ts +7 -31
- package/lib/services/usergroups.d.ts.map +1 -1
- package/lib/services/usergroups.js +1 -151
- package/lib/services/usergroups.js.map +1 -1
- package/lib/services/users.d.ts +14 -48
- package/lib/services/users.d.ts.map +1 -1
- package/lib/services/users.js +1 -255
- package/lib/services/users.js.map +1 -1
- package/lib/services/views.d.ts +4 -14
- package/lib/services/views.d.ts.map +1 -1
- package/lib/services/views.js +1 -78
- package/lib/services/views.js.map +1 -1
- package/lib/services/workflows.d.ts +8 -51
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +1 -193
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/admin.js +3 -0
- package/lib/services.lazy/agents.js +1 -0
- package/lib/services.lazy/api.js +1 -0
- package/lib/services.lazy/apps.js +3 -0
- package/lib/services.lazy/assistant.js +1 -0
- package/lib/services.lazy/auth.js +1 -0
- package/lib/services.lazy/blocks.js +1 -0
- package/lib/services.lazy/bookmarks.js +1 -0
- package/lib/services.lazy/bots.js +1 -0
- package/lib/services.lazy/calls.js +1 -0
- package/lib/services.lazy/canvases.js +1 -0
- package/lib/services.lazy/chat.js +1 -0
- package/lib/services.lazy/conversations.js +3 -0
- package/lib/services.lazy/dialog.js +1 -0
- package/lib/services.lazy/dnd.js +1 -0
- package/lib/services.lazy/emoji.js +1 -0
- package/lib/services.lazy/entity.js +1 -0
- package/lib/services.lazy/files.js +1 -0
- package/lib/services.lazy/functions.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/lists.js +1 -0
- package/lib/services.lazy/migration.js +1 -0
- package/lib/services.lazy/oauth.js +1 -0
- package/lib/services.lazy/openid.js +1 -0
- package/lib/services.lazy/pins.js +1 -0
- package/lib/services.lazy/reactions.js +1 -0
- package/lib/services.lazy/reminders.js +1 -0
- package/lib/services.lazy/rtm.js +1 -0
- package/lib/services.lazy/search.js +1 -0
- package/lib/services.lazy/stars.js +1 -0
- package/lib/services.lazy/team.js +1 -0
- package/lib/services.lazy/tooling.js +1 -0
- package/lib/services.lazy/usergroups.js +1 -0
- package/lib/services.lazy/users.js +1 -0
- package/lib/services.lazy/views.js +1 -0
- package/lib/services.lazy/workflows.js +1 -0
- package/lib/traits.d.ts +1 -1
- package/lib/traits.js +1 -12
- package/package.json +10 -8
- package/src/credentials.ts +20 -21
- package/src/errors.ts +31 -27
- package/src/index.ts +1 -1
- package/src/pagination.ts +2 -2
- package/src/protocol.ts +30 -29
- package/src/retry.ts +6 -6
- package/src/services/admin.ts +2717 -3451
- package/src/services/agents.ts +380 -370
- package/src/services/api.ts +31 -21
- package/src/services/apps.ts +569 -621
- package/src/services/assistant.ts +235 -270
- package/src/services/auth.ts +118 -100
- package/src/services/blocks.ts +33 -29
- package/src/services/bookmarks.ts +101 -83
- package/src/services/bots.ts +74 -67
- package/src/services/calls.ts +118 -124
- package/src/services/canvases.ts +171 -178
- package/src/services/chat.ts +428 -496
- package/src/services/conversations.ts +675 -761
- package/src/services/dialog.ts +30 -17
- package/src/services/dnd.ts +125 -99
- package/src/services/emoji.ts +46 -42
- package/src/services/entity.ts +94 -92
- package/src/services/files.ts +536 -531
- package/src/services/functions.ts +209 -274
- package/src/services/lists.ts +289 -304
- package/src/services/migration.ts +39 -37
- package/src/services/oauth.ts +345 -361
- package/src/services/openid.ts +137 -122
- package/src/services/pins.ts +83 -70
- package/src/services/reactions.ts +119 -103
- package/src/services/reminders.ts +112 -90
- package/src/services/rtm.ts +73 -65
- package/src/services/search.ts +193 -244
- package/src/services/stars.ts +101 -160
- package/src/services/team.ts +333 -369
- package/src/services/tooling.ts +43 -30
- package/src/services/usergroups.ts +175 -179
- package/src/services/users.ts +301 -268
- package/src/services/views.ts +85 -80
- package/src/services/workflows.ts +184 -269
- package/src/traits.ts +1 -1
- package/lib/credentials.js.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/pagination.js.map +0 -1
- package/lib/protocol.js.map +0 -1
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -288
- package/lib/protocol.test.js.map +0 -1
- package/lib/retry.js.map +0 -1
- package/lib/services/index.js.map +0 -1
- package/lib/traits.js.map +0 -1
- package/src/protocol.test.ts +0 -372
- /package/lib/{index.js.map → index.lazy.js.map} +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
3
2
|
import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
4
3
|
export type { SlackOpError, SlackOpContext };
|
|
5
4
|
/** List of encoded user IDs */
|
|
6
5
|
export type AddDistributionsPermissionsRequestUserIdsList = Array<string>;
|
|
7
|
-
export declare const AddDistributionsPermissionsRequestUserIdsList: S.Schema<AddDistributionsPermissionsRequestUserIdsList>;
|
|
8
6
|
export interface AddDistributionsPermissionsRequest {
|
|
9
7
|
/** The encoded ID of the function */
|
|
10
8
|
function_id?: string;
|
|
@@ -15,53 +13,43 @@ export interface AddDistributionsPermissionsRequest {
|
|
|
15
13
|
/** List of encoded user IDs */
|
|
16
14
|
user_ids?: AddDistributionsPermissionsRequestUserIdsList;
|
|
17
15
|
}
|
|
18
|
-
export declare const AddDistributionsPermissionsRequest: S.Schema<AddDistributionsPermissionsRequest>;
|
|
19
16
|
export type AddDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
20
|
-
export declare const AddDistributionsPermissionsResponsePermissionType: any;
|
|
21
17
|
export interface AddDistributionsPermissionsResponseUsersItem {
|
|
22
18
|
user_id?: string;
|
|
23
19
|
username?: string;
|
|
24
20
|
email?: string;
|
|
25
21
|
}
|
|
26
|
-
export declare const AddDistributionsPermissionsResponseUsersItem: S.Schema<AddDistributionsPermissionsResponseUsersItem>;
|
|
27
22
|
export type AddDistributionsPermissionsResponseUsersList = Array<AddDistributionsPermissionsResponseUsersItem>;
|
|
28
|
-
export declare const AddDistributionsPermissionsResponseUsersList: S.Schema<AddDistributionsPermissionsResponseUsersList>;
|
|
29
23
|
export interface AddDistributionsPermissionsResponse {
|
|
30
24
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
31
25
|
ok: boolean;
|
|
32
26
|
permission_type: AddDistributionsPermissionsResponsePermissionType;
|
|
33
27
|
users?: AddDistributionsPermissionsResponseUsersList;
|
|
34
28
|
}
|
|
35
|
-
export declare const AddDistributionsPermissionsResponse: S.Schema<AddDistributionsPermissionsResponse>;
|
|
36
29
|
export interface CompleteErrorRequest {
|
|
37
30
|
/** Context identifier that maps to the executed function */
|
|
38
31
|
function_execution_id: string;
|
|
39
32
|
/** A human-readable error message that contains information about why the function failed to complete */
|
|
40
33
|
error: string;
|
|
41
34
|
}
|
|
42
|
-
export declare const CompleteErrorRequest: S.Schema<CompleteErrorRequest>;
|
|
43
35
|
export interface CompleteErrorResponse {
|
|
44
36
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
45
37
|
ok: boolean;
|
|
46
38
|
}
|
|
47
|
-
export declare const CompleteErrorResponse: S.Schema<CompleteErrorResponse>;
|
|
48
39
|
/** A JSON-based object that conforms to the [output parameters](https://docs.slack.dev/deno-slack-sdk/guides/creating-custom-functions#input-output) schema for the custom function defined in the manifest */
|
|
49
40
|
export type CompleteSuccessRequestOutputsMap = {
|
|
50
41
|
[key: string]: unknown | undefined;
|
|
51
42
|
};
|
|
52
|
-
export declare const CompleteSuccessRequestOutputsMap: S.Schema<CompleteSuccessRequestOutputsMap>;
|
|
53
43
|
export interface CompleteSuccessRequest {
|
|
54
44
|
/** Context identifier that maps to the executed function */
|
|
55
45
|
function_execution_id: string;
|
|
56
46
|
/** A JSON-based object that conforms to the [output parameters](https://docs.slack.dev/deno-slack-sdk/guides/creating-custom-functions#input-output) schema for the custom function defined in the manifest */
|
|
57
47
|
outputs: CompleteSuccessRequestOutputsMap;
|
|
58
48
|
}
|
|
59
|
-
export declare const CompleteSuccessRequest: S.Schema<CompleteSuccessRequest>;
|
|
60
49
|
export interface CompleteSuccessResponse {
|
|
61
50
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
62
51
|
ok: boolean;
|
|
63
52
|
}
|
|
64
|
-
export declare const CompleteSuccessResponse: S.Schema<CompleteSuccessResponse>;
|
|
65
53
|
export interface ExportWorkflowsStepsResponseRequest {
|
|
66
54
|
/** The workflow ID, starts with Wf* */
|
|
67
55
|
workflow_id?: string;
|
|
@@ -72,12 +60,10 @@ export interface ExportWorkflowsStepsResponseRequest {
|
|
|
72
60
|
/** The ID of the OpenForm step to export. */
|
|
73
61
|
step_id: string;
|
|
74
62
|
}
|
|
75
|
-
export declare const ExportWorkflowsStepsResponseRequest: S.Schema<ExportWorkflowsStepsResponseRequest>;
|
|
76
63
|
export interface ExportWorkflowsStepsResponseResponse {
|
|
77
64
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
78
65
|
ok: boolean;
|
|
79
66
|
}
|
|
80
|
-
export declare const ExportWorkflowsStepsResponseResponse: S.Schema<ExportWorkflowsStepsResponseResponse>;
|
|
81
67
|
export interface ListDistributionsPermissionsRequest {
|
|
82
68
|
/** The encoded ID of the function */
|
|
83
69
|
function_id?: string;
|
|
@@ -86,19 +72,13 @@ export interface ListDistributionsPermissionsRequest {
|
|
|
86
72
|
/** The encoded ID of the app */
|
|
87
73
|
function_app_id?: string;
|
|
88
74
|
}
|
|
89
|
-
export declare const ListDistributionsPermissionsRequest: S.Schema<ListDistributionsPermissionsRequest>;
|
|
90
75
|
export type ListDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
91
|
-
export declare const ListDistributionsPermissionsResponsePermissionType: any;
|
|
92
76
|
export type ListDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
93
|
-
export declare const ListDistributionsPermissionsResponseUsersItem: S.Schema<AddDistributionsPermissionsResponseUsersItem>;
|
|
94
77
|
export type ListDistributionsPermissionsResponseUsersList = Array<AddDistributionsPermissionsResponseUsersItem>;
|
|
95
|
-
export declare const ListDistributionsPermissionsResponseUsersList: S.Schema<ListDistributionsPermissionsResponseUsersList>;
|
|
96
78
|
/** List of team IDs allowed with named_entities permission. */
|
|
97
79
|
export type ListDistributionsPermissionsResponseTeamIdsList = Array<string>;
|
|
98
|
-
export declare const ListDistributionsPermissionsResponseTeamIdsList: S.Schema<ListDistributionsPermissionsResponseTeamIdsList>;
|
|
99
80
|
/** List of org IDs allowed with named_entities permission. */
|
|
100
81
|
export type ListDistributionsPermissionsResponseOrgIdsList = Array<string>;
|
|
101
|
-
export declare const ListDistributionsPermissionsResponseOrgIdsList: S.Schema<ListDistributionsPermissionsResponseOrgIdsList>;
|
|
102
82
|
export interface ListDistributionsPermissionsResponse {
|
|
103
83
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
104
84
|
ok: boolean;
|
|
@@ -109,7 +89,6 @@ export interface ListDistributionsPermissionsResponse {
|
|
|
109
89
|
/** List of org IDs allowed with named_entities permission. */
|
|
110
90
|
org_ids?: ListDistributionsPermissionsResponseOrgIdsList;
|
|
111
91
|
}
|
|
112
|
-
export declare const ListDistributionsPermissionsResponse: S.Schema<ListDistributionsPermissionsResponse>;
|
|
113
92
|
export interface ListWorkflowsStepsRequest {
|
|
114
93
|
/** The workflow ID, starts with Wf* */
|
|
115
94
|
workflow_id?: string;
|
|
@@ -120,18 +99,14 @@ export interface ListWorkflowsStepsRequest {
|
|
|
120
99
|
/** The ID of the function to query */
|
|
121
100
|
function_id: string;
|
|
122
101
|
}
|
|
123
|
-
export declare const ListWorkflowsStepsRequest: S.Schema<ListWorkflowsStepsRequest>;
|
|
124
102
|
export type ListWorkflowsStepsResponseStepsVersionsList = Array<unknown>;
|
|
125
|
-
export declare const ListWorkflowsStepsResponseStepsVersionsList: S.Schema<ListWorkflowsStepsResponseStepsVersionsList>;
|
|
126
103
|
export interface ListWorkflowsStepsResponse {
|
|
127
104
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
128
105
|
ok: boolean;
|
|
129
106
|
steps_versions: ListWorkflowsStepsResponseStepsVersionsList;
|
|
130
107
|
}
|
|
131
|
-
export declare const ListWorkflowsStepsResponse: S.Schema<ListWorkflowsStepsResponse>;
|
|
132
108
|
/** List of encoded user IDs */
|
|
133
109
|
export type RemoveDistributionsPermissionsRequestUserIdsList = Array<string>;
|
|
134
|
-
export declare const RemoveDistributionsPermissionsRequestUserIdsList: S.Schema<RemoveDistributionsPermissionsRequestUserIdsList>;
|
|
135
110
|
export interface RemoveDistributionsPermissionsRequest {
|
|
136
111
|
/** The encoded ID of the function */
|
|
137
112
|
function_id?: string;
|
|
@@ -142,32 +117,23 @@ export interface RemoveDistributionsPermissionsRequest {
|
|
|
142
117
|
/** List of encoded user IDs */
|
|
143
118
|
user_ids?: RemoveDistributionsPermissionsRequestUserIdsList;
|
|
144
119
|
}
|
|
145
|
-
export declare const RemoveDistributionsPermissionsRequest: S.Schema<RemoveDistributionsPermissionsRequest>;
|
|
146
120
|
export type RemoveDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
147
|
-
export declare const RemoveDistributionsPermissionsResponsePermissionType: any;
|
|
148
121
|
export type RemoveDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
149
|
-
export declare const RemoveDistributionsPermissionsResponseUsersItem: S.Schema<AddDistributionsPermissionsResponseUsersItem>;
|
|
150
122
|
export type RemoveDistributionsPermissionsResponseUsersList = Array<AddDistributionsPermissionsResponseUsersItem>;
|
|
151
|
-
export declare const RemoveDistributionsPermissionsResponseUsersList: S.Schema<RemoveDistributionsPermissionsResponseUsersList>;
|
|
152
123
|
export interface RemoveDistributionsPermissionsResponse {
|
|
153
124
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
154
125
|
ok: boolean;
|
|
155
126
|
permission_type: RemoveDistributionsPermissionsResponsePermissionType;
|
|
156
127
|
users?: RemoveDistributionsPermissionsResponseUsersList;
|
|
157
128
|
}
|
|
158
|
-
export declare const RemoveDistributionsPermissionsResponse: S.Schema<RemoveDistributionsPermissionsResponse>;
|
|
159
129
|
/** The type of permission that defines how the function can be distributed */
|
|
160
130
|
export type SetDistributionsPermissionsRequestPermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
161
|
-
export declare const SetDistributionsPermissionsRequestPermissionType: any;
|
|
162
131
|
/** List of encoded user IDs */
|
|
163
132
|
export type SetDistributionsPermissionsRequestUserIdsList = Array<string>;
|
|
164
|
-
export declare const SetDistributionsPermissionsRequestUserIdsList: S.Schema<SetDistributionsPermissionsRequestUserIdsList>;
|
|
165
133
|
/** List of team IDs to allow for named_entities permission */
|
|
166
134
|
export type SetDistributionsPermissionsRequestTeamIdsList = Array<string>;
|
|
167
|
-
export declare const SetDistributionsPermissionsRequestTeamIdsList: S.Schema<SetDistributionsPermissionsRequestTeamIdsList>;
|
|
168
135
|
/** List of org IDs to allow for named_entities permission */
|
|
169
136
|
export type SetDistributionsPermissionsRequestOrgIdsList = Array<string>;
|
|
170
|
-
export declare const SetDistributionsPermissionsRequestOrgIdsList: S.Schema<SetDistributionsPermissionsRequestOrgIdsList>;
|
|
171
137
|
export interface SetDistributionsPermissionsRequest {
|
|
172
138
|
/** The encoded ID of the function */
|
|
173
139
|
function_id?: string;
|
|
@@ -184,19 +150,13 @@ export interface SetDistributionsPermissionsRequest {
|
|
|
184
150
|
/** List of org IDs to allow for named_entities permission */
|
|
185
151
|
org_ids?: SetDistributionsPermissionsRequestOrgIdsList;
|
|
186
152
|
}
|
|
187
|
-
export declare const SetDistributionsPermissionsRequest: S.Schema<SetDistributionsPermissionsRequest>;
|
|
188
153
|
export type SetDistributionsPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities" | "system";
|
|
189
|
-
export declare const SetDistributionsPermissionsResponsePermissionType: any;
|
|
190
154
|
export type SetDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
191
|
-
export declare const SetDistributionsPermissionsResponseUsersItem: S.Schema<AddDistributionsPermissionsResponseUsersItem>;
|
|
192
155
|
export type SetDistributionsPermissionsResponseUsersList = Array<AddDistributionsPermissionsResponseUsersItem>;
|
|
193
|
-
export declare const SetDistributionsPermissionsResponseUsersList: S.Schema<SetDistributionsPermissionsResponseUsersList>;
|
|
194
156
|
/** List of team IDs allowed with named_entities permission. */
|
|
195
157
|
export type SetDistributionsPermissionsResponseTeamIdsList = Array<string>;
|
|
196
|
-
export declare const SetDistributionsPermissionsResponseTeamIdsList: S.Schema<SetDistributionsPermissionsResponseTeamIdsList>;
|
|
197
158
|
/** List of org IDs allowed with named_entities permission. */
|
|
198
159
|
export type SetDistributionsPermissionsResponseOrgIdsList = Array<string>;
|
|
199
|
-
export declare const SetDistributionsPermissionsResponseOrgIdsList: S.Schema<SetDistributionsPermissionsResponseOrgIdsList>;
|
|
200
160
|
export interface SetDistributionsPermissionsResponse {
|
|
201
161
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
202
162
|
ok: boolean;
|
|
@@ -207,29 +167,28 @@ export interface SetDistributionsPermissionsResponse {
|
|
|
207
167
|
/** List of org IDs allowed with named_entities permission. */
|
|
208
168
|
org_ids?: SetDistributionsPermissionsResponseOrgIdsList;
|
|
209
169
|
}
|
|
210
|
-
export declare const SetDistributionsPermissionsResponse: S.Schema<SetDistributionsPermissionsResponse>;
|
|
211
170
|
export type AddDistributionsPermissionsError = SlackOpError;
|
|
212
|
-
/** Grant users access to a custom slack function if its permission_type is set to named_entities Required scopes
|
|
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 */
|
|
213
172
|
export declare const addDistributionsPermissions: API.OperationMethod<AddDistributionsPermissionsRequest, AddDistributionsPermissionsResponse, AddDistributionsPermissionsError, SlackOpContext>;
|
|
214
173
|
export type CompleteErrorError = SlackOpError;
|
|
215
|
-
/** Signal that a function failed to complete Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method`
|
|
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 */
|
|
216
175
|
export declare const completeError: API.OperationMethod<CompleteErrorRequest, CompleteErrorResponse, CompleteErrorError, SlackOpContext>;
|
|
217
176
|
export type CompleteSuccessError = SlackOpError;
|
|
218
|
-
/** Signal the successful completion of a function Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method`
|
|
177
|
+
/** Signal the successful completion of a function 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. - `parameter_validation_failed` -- There were problems when validating the outputs against the Function parameters. See API response for more details. See https://docs.slack.dev/reference/methods/functions.completeSuccess */
|
|
219
178
|
export declare const completeSuccess: API.OperationMethod<CompleteSuccessRequest, CompleteSuccessResponse, CompleteSuccessError, SlackOpContext>;
|
|
220
179
|
export type ExportWorkflowsStepsResponseError = SlackOpError;
|
|
221
|
-
/** Download form responses of a workflow Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method`
|
|
180
|
+
/** Download form responses of a workflow 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 functions on this team. - `workflows_export_csv_not_enabled` -- Downloading form responses is not allowed. Admin pref needs to be enabled. - `unknown_workflow_id` -- The passed in workflow_id is invalid. - `unknown_step_id` -- The passed in step_id is invalid. - `invalid_arguments` -- The arguments passed in are invalid. - `unknown_app_id` -- The passed in workflow_app_id is invalid. See https://docs.slack.dev/reference/methods/functions.workflows.steps.responses.export */
|
|
222
181
|
export declare const exportWorkflowsStepsResponse: API.OperationMethod<ExportWorkflowsStepsResponseRequest, ExportWorkflowsStepsResponseResponse, ExportWorkflowsStepsResponseError, SlackOpContext>;
|
|
223
182
|
export type ListDistributionsPermissionsError = SlackOpError;
|
|
224
|
-
/** List the access type of a custom slack function and include the users, team or org ids with access if its permission_type is set to named_entities Required scopes
|
|
183
|
+
/** List the access type of a custom slack function and include the users, team or org ids with access if its permission_type is set to named_entities Required scopes -- configuration: `app_configurations:read` 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. - `app_not_found` -- This app does not exist. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.list */
|
|
225
184
|
export declare const listDistributionsPermissions: API.OperationMethod<ListDistributionsPermissionsRequest, ListDistributionsPermissionsResponse, ListDistributionsPermissionsError, SlackOpContext>;
|
|
226
185
|
export type ListWorkflowsStepsError = SlackOpError;
|
|
227
|
-
/** List the steps of a specific function of a workflow's versions Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `unknown_method`
|
|
186
|
+
/** List the steps of a specific function of a workflow's versions 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 functions on this team. - `unknown_workflow_id` -- The passed in workflow_id is invalid. - `unknown_function_id` -- The passed in function_id is invalid. - `invalid_arguments` -- The arguments passed in are invalid. - `unknown_app_id` -- The passed in workflow_app_id is invalid. - `missing_step_ids` -- The passed in workflow is missing step IDs - `cannot_fetch_versions` -- Encountered unexpected error while trying to fetch versions See https://docs.slack.dev/reference/methods/functions.workflows.steps.list */
|
|
228
187
|
export declare const listWorkflowsSteps: API.OperationMethod<ListWorkflowsStepsRequest, ListWorkflowsStepsResponse, ListWorkflowsStepsError, SlackOpContext>;
|
|
229
188
|
export type RemoveDistributionsPermissionsError = SlackOpError;
|
|
230
|
-
/** Revoke user access to a custom slack function if permission_type set to named_entities Required scopes
|
|
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 */
|
|
231
190
|
export declare const removeDistributionsPermissions: API.OperationMethod<RemoveDistributionsPermissionsRequest, RemoveDistributionsPermissionsResponse, RemoveDistributionsPermissionsError, SlackOpContext>;
|
|
232
191
|
export type SetDistributionsPermissionsError = SlackOpError;
|
|
233
|
-
/** 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
|
|
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 */
|
|
234
193
|
export declare const setDistributionsPermissions: API.OperationMethod<SetDistributionsPermissionsRequest, SetDistributionsPermissionsResponse, SetDistributionsPermissionsError, SlackOpContext>;
|
|
235
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;
|
|
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;IACrB,gEAAgE;IAChE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gCAAgC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,6CAA6C,CAAC;CAC1D;AACD,MAAM,MAAM,iDAAiD,GACzD,UAAU,GACV,mBAAmB,GACnB,gBAAgB,GAChB,QAAQ,CAAC;AACb,MAAM,WAAW,4CAA4C;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,MAAM,4CAA4C,GACtD,KAAK,CAAC,4CAA4C,CAAC,CAAC;AACtD,MAAM,WAAW,mCAAmC;IAClD,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,eAAe,EAAE,iDAAiD,CAAC;IACnE,KAAK,CAAC,EAAE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,EAAE,GAAG,CAAC,eAAe,CAC5D,mCAAmC,EACnC,oCAAoC,EACpC,iCAAiC,EACjC,cAAc,CAOb,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,CAOb,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,CAOb,CAAC;AAEJ,MAAM,MAAM,gCAAgC,GAAG,YAAY,CAAC;AAC5D,m8BAAm8B;AACn8B,eAAO,MAAM,2BAA2B,EAAE,GAAG,CAAC,eAAe,CAC3D,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,cAAc,CAOb,CAAC"}
|
|
@@ -1,209 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (docs.slack.dev JSON twins). Do not edit.
|
|
3
|
-
import * as S from "@distilled.cloud/core/schema";
|
|
4
|
-
import { SlackError, SlackRateLimited } from "../errors.js";
|
|
5
|
-
import { SlackProtocol } from "../protocol.js";
|
|
6
|
-
import * as Retry from "../retry.js";
|
|
7
|
-
import * as T from "../traits.js";
|
|
8
|
-
export const AddDistributionsPermissionsRequestUserIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
9
|
-
export const AddDistributionsPermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
10
|
-
function_id: S.optional(S.String),
|
|
11
|
-
function_callback_id: S.optional(S.String),
|
|
12
|
-
function_app_id: S.optional(S.String),
|
|
13
|
-
user_ids: S.optional(AddDistributionsPermissionsRequestUserIdsList),
|
|
14
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.distributions.permissions.add", code: 200 }))).annotate({
|
|
15
|
-
identifier: "AddDistributionsPermissionsRequest",
|
|
16
|
-
});
|
|
17
|
-
export const AddDistributionsPermissionsResponsePermissionType = S.String;
|
|
18
|
-
export const AddDistributionsPermissionsResponseUsersItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
19
|
-
user_id: S.optional(S.String),
|
|
20
|
-
username: S.optional(S.String),
|
|
21
|
-
email: S.optional(S.String),
|
|
22
|
-
})).annotate({
|
|
23
|
-
identifier: "AddDistributionsPermissionsResponseUsersItem",
|
|
24
|
-
});
|
|
25
|
-
export const AddDistributionsPermissionsResponseUsersList = /*@__PURE__*/ S.Array(AddDistributionsPermissionsResponseUsersItem);
|
|
26
|
-
export const AddDistributionsPermissionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
-
ok: S.Boolean,
|
|
28
|
-
permission_type: AddDistributionsPermissionsResponsePermissionType,
|
|
29
|
-
users: S.optional(AddDistributionsPermissionsResponseUsersList),
|
|
30
|
-
})).annotate({
|
|
31
|
-
identifier: "AddDistributionsPermissionsResponse",
|
|
32
|
-
});
|
|
33
|
-
export const CompleteErrorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
34
|
-
function_execution_id: S.String,
|
|
35
|
-
error: S.String,
|
|
36
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.completeError", code: 200 }))).annotate({ identifier: "CompleteErrorRequest" });
|
|
37
|
-
export const CompleteErrorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
38
|
-
ok: S.Boolean,
|
|
39
|
-
})).annotate({ identifier: "CompleteErrorResponse" });
|
|
40
|
-
export const CompleteSuccessRequestOutputsMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
41
|
-
export const CompleteSuccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
|
-
function_execution_id: S.String,
|
|
43
|
-
outputs: CompleteSuccessRequestOutputsMap,
|
|
44
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.completeSuccess", code: 200 }))).annotate({ identifier: "CompleteSuccessRequest" });
|
|
45
|
-
export const CompleteSuccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
46
|
-
ok: S.Boolean,
|
|
47
|
-
})).annotate({ identifier: "CompleteSuccessResponse" });
|
|
48
|
-
export const ExportWorkflowsStepsResponseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
49
|
-
workflow_id: S.optional(S.String),
|
|
50
|
-
workflow: S.optional(S.String),
|
|
51
|
-
workflow_app_id: S.optional(S.String),
|
|
52
|
-
step_id: S.String,
|
|
53
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.workflows.steps.responses.export", code: 200 }))).annotate({
|
|
54
|
-
identifier: "ExportWorkflowsStepsResponseRequest",
|
|
55
|
-
});
|
|
56
|
-
export const ExportWorkflowsStepsResponseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
57
|
-
ok: S.Boolean,
|
|
58
|
-
})).annotate({
|
|
59
|
-
identifier: "ExportWorkflowsStepsResponseResponse",
|
|
60
|
-
});
|
|
61
|
-
export const ListDistributionsPermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
62
|
-
function_id: S.optional(S.String),
|
|
63
|
-
function_callback_id: S.optional(S.String),
|
|
64
|
-
function_app_id: S.optional(S.String),
|
|
65
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.distributions.permissions.list", code: 200 }))).annotate({
|
|
66
|
-
identifier: "ListDistributionsPermissionsRequest",
|
|
67
|
-
});
|
|
68
|
-
export const ListDistributionsPermissionsResponsePermissionType = S.String;
|
|
69
|
-
export const ListDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
70
|
-
export const ListDistributionsPermissionsResponseUsersList = /*@__PURE__*/ S.Array(AddDistributionsPermissionsResponseUsersItem);
|
|
71
|
-
export const ListDistributionsPermissionsResponseTeamIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
72
|
-
export const ListDistributionsPermissionsResponseOrgIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
73
|
-
export const ListDistributionsPermissionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
74
|
-
ok: S.Boolean,
|
|
75
|
-
permission_type: ListDistributionsPermissionsResponsePermissionType,
|
|
76
|
-
users: S.optional(ListDistributionsPermissionsResponseUsersList),
|
|
77
|
-
team_ids: S.optional(ListDistributionsPermissionsResponseTeamIdsList),
|
|
78
|
-
org_ids: S.optional(ListDistributionsPermissionsResponseOrgIdsList),
|
|
79
|
-
})).annotate({
|
|
80
|
-
identifier: "ListDistributionsPermissionsResponse",
|
|
81
|
-
});
|
|
82
|
-
export const ListWorkflowsStepsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
83
|
-
workflow_id: S.optional(S.String),
|
|
84
|
-
workflow: S.optional(S.String),
|
|
85
|
-
workflow_app_id: S.optional(S.String),
|
|
86
|
-
function_id: S.String,
|
|
87
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.workflows.steps.list", code: 200 }))).annotate({
|
|
88
|
-
identifier: "ListWorkflowsStepsRequest",
|
|
89
|
-
});
|
|
90
|
-
export const ListWorkflowsStepsResponseStepsVersionsList = /*@__PURE__*/ S.Array(S.Unknown);
|
|
91
|
-
export const ListWorkflowsStepsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
92
|
-
ok: S.Boolean,
|
|
93
|
-
steps_versions: ListWorkflowsStepsResponseStepsVersionsList,
|
|
94
|
-
})).annotate({
|
|
95
|
-
identifier: "ListWorkflowsStepsResponse",
|
|
96
|
-
});
|
|
97
|
-
export const RemoveDistributionsPermissionsRequestUserIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
98
|
-
export const RemoveDistributionsPermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
99
|
-
function_id: S.optional(S.String),
|
|
100
|
-
function_callback_id: S.optional(S.String),
|
|
101
|
-
function_app_id: S.optional(S.String),
|
|
102
|
-
user_ids: S.optional(RemoveDistributionsPermissionsRequestUserIdsList),
|
|
103
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.distributions.permissions.remove", code: 200 }))).annotate({
|
|
104
|
-
identifier: "RemoveDistributionsPermissionsRequest",
|
|
105
|
-
});
|
|
106
|
-
export const RemoveDistributionsPermissionsResponsePermissionType = S.String;
|
|
107
|
-
export const RemoveDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
108
|
-
export const RemoveDistributionsPermissionsResponseUsersList = /*@__PURE__*/ S.Array(AddDistributionsPermissionsResponseUsersItem);
|
|
109
|
-
export const RemoveDistributionsPermissionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
110
|
-
ok: S.Boolean,
|
|
111
|
-
permission_type: RemoveDistributionsPermissionsResponsePermissionType,
|
|
112
|
-
users: S.optional(RemoveDistributionsPermissionsResponseUsersList),
|
|
113
|
-
})).annotate({
|
|
114
|
-
identifier: "RemoveDistributionsPermissionsResponse",
|
|
115
|
-
});
|
|
116
|
-
export const SetDistributionsPermissionsRequestPermissionType = S.String;
|
|
117
|
-
export const SetDistributionsPermissionsRequestUserIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
118
|
-
export const SetDistributionsPermissionsRequestTeamIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
119
|
-
export const SetDistributionsPermissionsRequestOrgIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
120
|
-
export const SetDistributionsPermissionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
121
|
-
function_id: S.optional(S.String),
|
|
122
|
-
function_callback_id: S.optional(S.String),
|
|
123
|
-
function_app_id: S.optional(S.String),
|
|
124
|
-
permission_type: S.optional(SetDistributionsPermissionsRequestPermissionType),
|
|
125
|
-
user_ids: S.optional(SetDistributionsPermissionsRequestUserIdsList),
|
|
126
|
-
team_ids: S.optional(SetDistributionsPermissionsRequestTeamIdsList),
|
|
127
|
-
org_ids: S.optional(SetDistributionsPermissionsRequestOrgIdsList),
|
|
128
|
-
}).pipe(T.Http({ method: "POST", uri: "/functions.distributions.permissions.set", code: 200 }))).annotate({
|
|
129
|
-
identifier: "SetDistributionsPermissionsRequest",
|
|
130
|
-
});
|
|
131
|
-
export const SetDistributionsPermissionsResponsePermissionType = S.String;
|
|
132
|
-
export const SetDistributionsPermissionsResponseUsersItem = AddDistributionsPermissionsResponseUsersItem;
|
|
133
|
-
export const SetDistributionsPermissionsResponseUsersList = /*@__PURE__*/ S.Array(AddDistributionsPermissionsResponseUsersItem);
|
|
134
|
-
export const SetDistributionsPermissionsResponseTeamIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
135
|
-
export const SetDistributionsPermissionsResponseOrgIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
136
|
-
export const SetDistributionsPermissionsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
137
|
-
ok: S.Boolean,
|
|
138
|
-
permission_type: SetDistributionsPermissionsResponsePermissionType,
|
|
139
|
-
users: S.optional(SetDistributionsPermissionsResponseUsersList),
|
|
140
|
-
team_ids: S.optional(SetDistributionsPermissionsResponseTeamIdsList),
|
|
141
|
-
org_ids: S.optional(SetDistributionsPermissionsResponseOrgIdsList),
|
|
142
|
-
})).annotate({
|
|
143
|
-
identifier: "SetDistributionsPermissionsResponse",
|
|
144
|
-
});
|
|
145
|
-
/** 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 */
|
|
146
|
-
export const addDistributionsPermissions = /*@__PURE__*/ API.make(() => ({
|
|
147
|
-
input: AddDistributionsPermissionsRequest,
|
|
148
|
-
output: AddDistributionsPermissionsResponse,
|
|
149
|
-
errors: [SlackError, SlackRateLimited],
|
|
150
|
-
protocol: SlackProtocol,
|
|
151
|
-
retry: Retry.Retry,
|
|
152
|
-
}));
|
|
153
|
-
/** 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 */
|
|
154
|
-
export const completeError = /*@__PURE__*/ API.make(() => ({
|
|
155
|
-
input: CompleteErrorRequest,
|
|
156
|
-
output: CompleteErrorResponse,
|
|
157
|
-
errors: [SlackError, SlackRateLimited],
|
|
158
|
-
protocol: SlackProtocol,
|
|
159
|
-
retry: Retry.Retry,
|
|
160
|
-
}));
|
|
161
|
-
/** Signal the successful completion of a function 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. - `parameter_validation_failed` — There were problems when validating the outputs against the Function parameters. See API response for more details. See https://docs.slack.dev/reference/methods/functions.completeSuccess */
|
|
162
|
-
export const completeSuccess = /*@__PURE__*/ API.make(() => ({
|
|
163
|
-
input: CompleteSuccessRequest,
|
|
164
|
-
output: CompleteSuccessResponse,
|
|
165
|
-
errors: [SlackError, SlackRateLimited],
|
|
166
|
-
protocol: SlackProtocol,
|
|
167
|
-
retry: Retry.Retry,
|
|
168
|
-
}));
|
|
169
|
-
/** Download form responses of a workflow 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 functions on this team. - `workflows_export_csv_not_enabled` — Downloading form responses is not allowed. Admin pref needs to be enabled. - `unknown_workflow_id` — The passed in workflow_id is invalid. - `unknown_step_id` — The passed in step_id is invalid. - `invalid_arguments` — The arguments passed in are invalid. - `unknown_app_id` — The passed in workflow_app_id is invalid. See https://docs.slack.dev/reference/methods/functions.workflows.steps.responses.export */
|
|
170
|
-
export const exportWorkflowsStepsResponse = /*@__PURE__*/ API.make(() => ({
|
|
171
|
-
input: ExportWorkflowsStepsResponseRequest,
|
|
172
|
-
output: ExportWorkflowsStepsResponseResponse,
|
|
173
|
-
errors: [SlackError, SlackRateLimited],
|
|
174
|
-
protocol: SlackProtocol,
|
|
175
|
-
retry: Retry.Retry,
|
|
176
|
-
}));
|
|
177
|
-
/** List the access type of a custom slack function and include the users, team or org ids with access if its permission_type is set to named_entities Required scopes — configuration: `app_configurations:read` 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. - `app_not_found` — This app does not exist. See https://docs.slack.dev/reference/methods/functions.distributions.permissions.list */
|
|
178
|
-
export const listDistributionsPermissions = /*@__PURE__*/ API.make(() => ({
|
|
179
|
-
input: ListDistributionsPermissionsRequest,
|
|
180
|
-
output: ListDistributionsPermissionsResponse,
|
|
181
|
-
errors: [SlackError, SlackRateLimited],
|
|
182
|
-
protocol: SlackProtocol,
|
|
183
|
-
retry: Retry.Retry,
|
|
184
|
-
}));
|
|
185
|
-
/** List the steps of a specific function of a workflow's versions 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 functions on this team. - `unknown_workflow_id` — The passed in workflow_id is invalid. - `unknown_function_id` — The passed in function_id is invalid. - `invalid_arguments` — The arguments passed in are invalid. - `unknown_app_id` — The passed in workflow_app_id is invalid. - `missing_step_ids` — The passed in workflow is missing step IDs - `cannot_fetch_versions` — Encountered unexpected error while trying to fetch versions See https://docs.slack.dev/reference/methods/functions.workflows.steps.list */
|
|
186
|
-
export const listWorkflowsSteps = /*@__PURE__*/ API.make(() => ({
|
|
187
|
-
input: ListWorkflowsStepsRequest,
|
|
188
|
-
output: ListWorkflowsStepsResponse,
|
|
189
|
-
errors: [SlackError, SlackRateLimited],
|
|
190
|
-
protocol: SlackProtocol,
|
|
191
|
-
retry: Retry.Retry,
|
|
192
|
-
}));
|
|
193
|
-
/** 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 */
|
|
194
|
-
export const removeDistributionsPermissions = /*@__PURE__*/ API.make(() => ({
|
|
195
|
-
input: RemoveDistributionsPermissionsRequest,
|
|
196
|
-
output: RemoveDistributionsPermissionsResponse,
|
|
197
|
-
errors: [SlackError, SlackRateLimited],
|
|
198
|
-
protocol: SlackProtocol,
|
|
199
|
-
retry: Retry.Retry,
|
|
200
|
-
}));
|
|
201
|
-
/** 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 */
|
|
202
|
-
export const setDistributionsPermissions = /*@__PURE__*/ API.make(() => ({
|
|
203
|
-
input: SetDistributionsPermissionsRequest,
|
|
204
|
-
output: SetDistributionsPermissionsResponse,
|
|
205
|
-
errors: [SlackError, SlackRateLimited],
|
|
206
|
-
protocol: SlackProtocol,
|
|
207
|
-
retry: Retry.Retry,
|
|
208
|
-
}));
|
|
1
|
+
import{a as e,c as t,d as n,errors$SlackError as r,errors$SlackRateLimited as i,f as a,h as o,l as s,n as c,o as l,p as u,protocol$SlackProtocol as d,retry$Retry as f,s as p,t as m,traits$Http as h,u as g}from"../_bundle/sdk.js";const _=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"AddDistributionsPermissionsRequest";$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}))`,[s,h,l,g,__d0,p,n,__d1,r,i,d,f]]:u(_,e));const v=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#5:0,errors:[$6,$7],protocol:$8,retry:$9};$4(>2)@"CompleteErrorRequest";$3({function_execution_id:$2,error:$2}).pipe($1({method:"POST",uri:"/functions.completeError",code:200}))`,[s,h,l,p,n,__d2,r,i,d,f]]:u(v,e));const y=/*@__PURE__*/ o(o=>o===a?[`{input:#2,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$3($1,$2);$6(>3)@"CompleteSuccessRequest";$5({function_execution_id:$1,outputs:#1}).pipe($4({method:"POST",uri:"/functions.completeSuccess",code:200}))`,[s,l,t,e,h,p,n,__d2,r,i,d,f]]:u(y,o));const b=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ExportWorkflowsStepsResponseRequest";$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}))`,[s,h,l,g,p,n,__d2,r,i,d,f]]:u(b,e));const x=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#6:0,errors:[$7,$8],protocol:$9,retry:$10};$5(>2)@"ListDistributionsPermissionsRequest";$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}))`,[s,h,l,g,p,n,__d3,r,i,d,f]]:u(x,e));const S=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#3,errors:[$9,$10],protocol:$11,retry:$12};$5(>4)@"ListWorkflowsStepsRequest";$7($6);$5(>5)@"ListWorkflowsStepsResponse";$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})`,[s,h,l,g,p,n,t,m,c,r,i,d,f]]:u(S,e));const C=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"RemoveDistributionsPermissionsRequest";$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}))`,[s,h,l,g,__d0,p,n,__d1,r,i,d,f]]:u(C,e));const w=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"SetDistributionsPermissionsRequest";$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}))`,[s,h,l,g,__d0,p,n,__d3,r,i,d,f]]:u(w,e));function __d0(){return[`$2($1);$5(>3)@"AddDistributionsPermissionsResponseUsersItem";$2(#1);$4({user_id:$3($1),username:$3($1),email:$3($1)})`,[s,l,m,g,p,n]]}function __d1(){return[`$6(>1)@"AddDistributionsPermissionsResponse";$5({ok:$1,permission_type:$2,users:$4(#3:2)})`,[s,c,l,__d0,g,p,n]]}function __d2(){return[`$3(>1)@"CompleteErrorResponse";$2({ok:$1})`,[s,c,p,n]]}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)})`,[s,c,l,__d0,g,p,n]]}export{_ as addDistributionsPermissions,v as completeError,y as completeSuccess,b as exportWorkflowsStepsResponse,x as listDistributionsPermissions,S as listWorkflowsSteps,C as removeDistributionsPermissions,w as setDistributionsPermissions};
|
|
209
2
|
//# sourceMappingURL=functions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/services/functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACjD,wGAAwG;AACxG,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,aAAa,EAA0C,MAAM,gBAAgB,CAAC;AACvF,OAAO,KAAK,KAAK,MAAM,aAAa,CAAC;AACrC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAMlC,MAAM,CAAC,MAAM,6CAA6C,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAChF,CAAC,CAAC,MAAM,CACyD,CAAC;AAYpE,MAAM,CAAC,MAAM,kCAAkC,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAC7E,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IACjC,oBAAoB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC;IACrC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC;CACpE,CAAC,CAAC,I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AC17B,MAAM,CAAC,MAAM,2BAA2B,GAKpC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAChC,KAAK,EAAE,kCAAkC;IACzC,MAAM,EAAE,mCAAmC;IAC3C,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,EAAE,aAAa;IACvB,KAAK,EAAE,KAAK,CAAC,KAAK;CACnB,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"functions.js","names":["API.D","__L.at","T.Http","S.String","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Unknown","S.Record","S.Array","S.Boolean","Record","Unknown","suspend","SlackError","SlackRateLimited","D","op","at","Boolean","String","call","SlackProtocol","Retry","Struct","Array","Http","optional","addDistributionsPermissions","i","completeError","completeSuccess","exportWorkflowsStepsResponse","listDistributionsPermissions","listWorkflowsSteps","removeDistributionsPermissions","setDistributionsPermissions"],"sources":["../../src/services/functions.ts"],"mappings":"qOA4MA,MAAa8B,EAKK,gBAAQ,GAAgBC,IAAM/B,EAAQ,CAAC,2RAA4R,CAACC,EAAQC,EAAQC,EAAUC,EAAY,KAAMC,EAAUC,EAAW,KAAMU,EAAYC,EAAkBO,EAAejB,CAAW,CAAC,EAAIC,EAASsB,EAA6BC,CAAC,CAAC,EAIlgB,MAAaC,EAKK,gBAAQ,GAAgBD,IAAM/B,EAAQ,CAAC,qMAAsM,CAACC,EAAQC,EAAQC,EAAUE,EAAUC,EAAW,KAAMU,EAAYC,EAAkBO,EAAejB,CAAW,CAAC,EAAIC,EAASwB,EAAeD,CAAC,CAAC,EAI5Y,MAAaE,EAKK,gBAAQ,GAAgBF,IAAM/B,EAAQ,CAAC,uNAAwN,CAACC,EAAQE,EAAUM,EAAWC,EAAUR,EAAQG,EAAUC,EAAW,KAAMU,EAAYC,EAAkBO,EAAejB,CAAW,CAAC,EAAIC,EAASyB,EAAiBF,CAAC,CAAC,EAIrb,MAAaG,EAKK,gB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C,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.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// AUTO-GENERATED by scripts/generate.ts. Do not edit.
|
|
2
1
|
export * as admin from "./admin.js";
|
|
3
2
|
export * as agents from "./agents.js";
|
|
4
3
|
export * as api from "./api.js";
|
|
@@ -34,4 +33,3 @@ export * as usergroups from "./usergroups.js";
|
|
|
34
33
|
export * as users from "./users.js";
|
|
35
34
|
export * as views from "./views.js";
|
|
36
35
|
export * as workflows from "./workflows.js";
|
|
37
|
-
//# sourceMappingURL=index.js.map
|