@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
package/lib/services/views.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
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
|
export interface PublishViewRequest {
|
|
@@ -11,13 +10,11 @@ export interface PublishViewRequest {
|
|
|
11
10
|
hash?: string;
|
|
12
11
|
interactivity_pointer?: string;
|
|
13
12
|
}
|
|
14
|
-
export declare const PublishViewRequest: S.Schema<PublishViewRequest>;
|
|
15
13
|
export interface PublishViewResponse {
|
|
16
14
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
17
15
|
ok: boolean;
|
|
18
16
|
view: unknown;
|
|
19
17
|
}
|
|
20
|
-
export declare const PublishViewResponse: S.Schema<PublishViewResponse>;
|
|
21
18
|
export interface UpdateViewRequest {
|
|
22
19
|
/** A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. */
|
|
23
20
|
view_id?: string;
|
|
@@ -28,17 +25,14 @@ export interface UpdateViewRequest {
|
|
|
28
25
|
/** A string that represents view state to protect against possible race conditions. */
|
|
29
26
|
hash?: string;
|
|
30
27
|
}
|
|
31
|
-
export declare const UpdateViewRequest: S.Schema<UpdateViewRequest>;
|
|
32
28
|
export interface UpdateViewResponse {
|
|
33
29
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
34
30
|
ok: boolean;
|
|
35
31
|
view: unknown;
|
|
36
32
|
}
|
|
37
|
-
export declare const UpdateViewResponse: S.Schema<UpdateViewResponse>;
|
|
38
33
|
export type ViewsOpenRequestViewMap = {
|
|
39
34
|
[key: string]: unknown | undefined;
|
|
40
35
|
};
|
|
41
|
-
export declare const ViewsOpenRequestViewMap: S.Schema<ViewsOpenRequestViewMap>;
|
|
42
36
|
export interface ViewsOpenRequest {
|
|
43
37
|
/** Exchange a trigger to post to the user. */
|
|
44
38
|
trigger_id?: string | null;
|
|
@@ -47,13 +41,11 @@ export interface ViewsOpenRequest {
|
|
|
47
41
|
/** A [view payload](/reference/views). This must be a JSON-encoded string. */
|
|
48
42
|
view: ViewsOpenRequestViewMap;
|
|
49
43
|
}
|
|
50
|
-
export declare const ViewsOpenRequest: S.Schema<ViewsOpenRequest>;
|
|
51
44
|
export interface ViewsOpenResponse {
|
|
52
45
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
53
46
|
ok: boolean;
|
|
54
47
|
view: unknown;
|
|
55
48
|
}
|
|
56
|
-
export declare const ViewsOpenResponse: S.Schema<ViewsOpenResponse>;
|
|
57
49
|
export interface ViewsPushRequest {
|
|
58
50
|
/** Exchange a trigger to post to the user. */
|
|
59
51
|
trigger_id?: string | null;
|
|
@@ -62,23 +54,21 @@ export interface ViewsPushRequest {
|
|
|
62
54
|
/** A [view payload](/reference/views). This must be a JSON-encoded string. */
|
|
63
55
|
view: unknown;
|
|
64
56
|
}
|
|
65
|
-
export declare const ViewsPushRequest: S.Schema<ViewsPushRequest>;
|
|
66
57
|
export interface ViewsPushResponse {
|
|
67
58
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
68
59
|
ok: boolean;
|
|
69
60
|
view: unknown;
|
|
70
61
|
}
|
|
71
|
-
export declare const ViewsPushResponse: S.Schema<ViewsPushResponse>;
|
|
72
62
|
export type PublishViewError = SlackOpError;
|
|
73
|
-
/** Publish a static view for a User. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id`
|
|
63
|
+
/** Publish a static view for a User. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `hash_conflict` -- Error returned when the provided `hash` doesn't match the current stored value. - `missing_profile_id` -- A profile id was not provided when trying to publish a view of type profile. - `not_allowed_token_type` -- The type of token your app used when requesting this method is not allowed. - `not_enabled` -- Error returned if a `home` view is published but the Home tab isn't enabled for the app. - `not_implemented` -- The profile view experiment is not enabled for this user. - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.publish */
|
|
74
64
|
export declare const publishView: API.OperationMethod<PublishViewRequest, PublishViewResponse, PublishViewError, SlackOpContext>;
|
|
75
65
|
export type UpdateViewError = SlackOpError;
|
|
76
|
-
/** Update an existing view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id`
|
|
66
|
+
/** Update an existing view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `hash_conflict` -- Error returned when the provided `hash` doesn't match the current stored value. - `not_found` -- Error returned when the given `view_id` or `external_id` doesn't exist. - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.update */
|
|
77
67
|
export declare const updateView: API.OperationMethod<UpdateViewRequest, UpdateViewResponse, UpdateViewError, SlackOpContext>;
|
|
78
68
|
export type ViewsOpenError = SlackOpError;
|
|
79
|
-
/** Open a view for a user. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id`
|
|
69
|
+
/** Open a view for a user. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` -- The trigger_id was already exchanged in a previous call. - `expired_trigger_id` -- The trigger_id is expired. - `invalid_trigger_id` -- The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.open */
|
|
80
70
|
export declare const viewsOpen: API.OperationMethod<ViewsOpenRequest, ViewsOpenResponse, ViewsOpenError, SlackOpContext>;
|
|
81
71
|
export type ViewsPushError = SlackOpError;
|
|
82
|
-
/** Push a view onto the stack of a root view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id`
|
|
72
|
+
/** Push a view onto the stack of a root view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` -- Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` -- The trigger_id was already exchanged in a previous call. - `expired_trigger_id` -- The trigger_id is expired. - `invalid_trigger_id` -- The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `not_found` -- Error returned when the requested view can't be found. - `push_limit_reached` -- Error returned when the max push limit has been reached for views. Currently the limit is 3. - `view_too_large` -- Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.push */
|
|
83
73
|
export declare const viewsPush: API.OperationMethod<ViewsPushRequest, ViewsPushResponse, ViewsPushError, SlackOpContext>;
|
|
84
74
|
//# sourceMappingURL=views.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../src/services/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../src/services/views.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,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,IAAI,EAAE,OAAO,CAAC;IACd,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB,CAAC,EAAE,MAAM,CAAC;CACh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1B;AACr1B,eAAO,MAAM,WAAW,EAAE,GAAG,CAAC,eAAe,CAC3C,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC;AAC3C,shBAAshB;AACthB,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC,eAAe,CAC1C,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAC1C,gmBAAgmB;AAChmB,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,eAAe,CACzC,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,cAAc,CAOb,CAAC;AAEJ,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC;AAC1C,kzBAAkzB;AAClzB,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC,eAAe,CACzC,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,cAAc,CAOb,CAAC"}
|
package/lib/services/views.js
CHANGED
|
@@ -1,79 +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 PublishViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
9
|
-
user_id: S.String,
|
|
10
|
-
view: S.Unknown,
|
|
11
|
-
hash: S.optional(S.String),
|
|
12
|
-
interactivity_pointer: S.optional(S.String),
|
|
13
|
-
}).pipe(T.Http({ method: "POST", uri: "/views.publish", code: 200 }))).annotate({ identifier: "PublishViewRequest" });
|
|
14
|
-
export const PublishViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
15
|
-
ok: S.Boolean,
|
|
16
|
-
view: S.Unknown,
|
|
17
|
-
})).annotate({ identifier: "PublishViewResponse" });
|
|
18
|
-
export const UpdateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
19
|
-
view_id: S.optional(S.String),
|
|
20
|
-
external_id: S.optional(S.String),
|
|
21
|
-
view: S.Unknown,
|
|
22
|
-
hash: S.optional(S.String),
|
|
23
|
-
}).pipe(T.Http({ method: "POST", uri: "/views.update", code: 200 }))).annotate({ identifier: "UpdateViewRequest" });
|
|
24
|
-
export const UpdateViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
25
|
-
ok: S.Boolean,
|
|
26
|
-
view: S.Unknown,
|
|
27
|
-
})).annotate({ identifier: "UpdateViewResponse" });
|
|
28
|
-
export const ViewsOpenRequestViewMap = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
29
|
-
export const ViewsOpenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
30
|
-
trigger_id: S.optional(S.NullOr(S.String)),
|
|
31
|
-
interactivity_pointer: S.optional(S.NullOr(S.String)),
|
|
32
|
-
view: ViewsOpenRequestViewMap,
|
|
33
|
-
}).pipe(T.Http({ method: "POST", uri: "/views.open", code: 200 }))).annotate({ identifier: "ViewsOpenRequest" });
|
|
34
|
-
export const ViewsOpenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
35
|
-
ok: S.Boolean,
|
|
36
|
-
view: S.Unknown,
|
|
37
|
-
})).annotate({ identifier: "ViewsOpenResponse" });
|
|
38
|
-
export const ViewsPushRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
39
|
-
trigger_id: S.optional(S.NullOr(S.String)),
|
|
40
|
-
interactivity_pointer: S.optional(S.NullOr(S.String)),
|
|
41
|
-
view: S.Unknown,
|
|
42
|
-
}).pipe(T.Http({ method: "POST", uri: "/views.push", code: 200 }))).annotate({ identifier: "ViewsPushRequest" });
|
|
43
|
-
export const ViewsPushResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
44
|
-
ok: S.Boolean,
|
|
45
|
-
view: S.Unknown,
|
|
46
|
-
})).annotate({ identifier: "ViewsPushResponse" });
|
|
47
|
-
/** Publish a static view for a User. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `hash_conflict` — Error returned when the provided `hash` doesn't match the current stored value. - `missing_profile_id` — A profile id was not provided when trying to publish a view of type profile. - `not_allowed_token_type` — The type of token your app used when requesting this method is not allowed. - `not_enabled` — Error returned if a `home` view is published but the Home tab isn't enabled for the app. - `not_implemented` — The profile view experiment is not enabled for this user. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.publish */
|
|
48
|
-
export const publishView = /*@__PURE__*/ API.make(() => ({
|
|
49
|
-
input: PublishViewRequest,
|
|
50
|
-
output: PublishViewResponse,
|
|
51
|
-
errors: [SlackError, SlackRateLimited],
|
|
52
|
-
protocol: SlackProtocol,
|
|
53
|
-
retry: Retry.Retry,
|
|
54
|
-
}));
|
|
55
|
-
/** Update an existing view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `hash_conflict` — Error returned when the provided `hash` doesn't match the current stored value. - `not_found` — Error returned when the given `view_id` or `external_id` doesn't exist. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.update */
|
|
56
|
-
export const updateView = /*@__PURE__*/ API.make(() => ({
|
|
57
|
-
input: UpdateViewRequest,
|
|
58
|
-
output: UpdateViewResponse,
|
|
59
|
-
errors: [SlackError, SlackRateLimited],
|
|
60
|
-
protocol: SlackProtocol,
|
|
61
|
-
retry: Retry.Retry,
|
|
62
|
-
}));
|
|
63
|
-
/** Open a view for a user. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` — The trigger_id was already exchanged in a previous call. - `expired_trigger_id` — The trigger_id is expired. - `invalid_trigger_id` — The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.open */
|
|
64
|
-
export const viewsOpen = /*@__PURE__*/ API.make(() => ({
|
|
65
|
-
input: ViewsOpenRequest,
|
|
66
|
-
output: ViewsOpenResponse,
|
|
67
|
-
errors: [SlackError, SlackRateLimited],
|
|
68
|
-
protocol: SlackProtocol,
|
|
69
|
-
retry: Retry.Retry,
|
|
70
|
-
}));
|
|
71
|
-
/** Push a view onto the stack of a root view. Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `duplicate_external_id` — Error returned when the given `external_id` has already be used. - `exchanged_trigger_id` — The trigger_id was already exchanged in a previous call. - `expired_trigger_id` — The trigger_id is expired. - `invalid_trigger_id` — The trigger_id is invalid. The expected format for the trigger_id argument is "132456.7890123.abcdef". - `not_found` — Error returned when the requested view can't be found. - `push_limit_reached` — Error returned when the max push limit has been reached for views. Currently the limit is 3. - `view_too_large` — Error returned if the provided view is greater than 250kb. See https://docs.slack.dev/reference/methods/views.push */
|
|
72
|
-
export const viewsPush = /*@__PURE__*/ API.make(() => ({
|
|
73
|
-
input: ViewsPushRequest,
|
|
74
|
-
output: ViewsPushResponse,
|
|
75
|
-
errors: [SlackError, SlackRateLimited],
|
|
76
|
-
protocol: SlackProtocol,
|
|
77
|
-
retry: Retry.Retry,
|
|
78
|
-
}));
|
|
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,r as f,retry$Retry as p,s 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)@"PublishViewRequest";$5({user_id:$2,view:$3,hash:$4($2),interactivity_pointer:$4($2)}).pipe($1({method:"POST",uri:"/views.publish",code:200}))`,[s,h,l,t,g,m,n,__d0,r,i,d,p]]:u(_,e));const v=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#7:0,errors:[$8,$9],protocol:$10,retry:$11};$6(>2)@"UpdateViewRequest";$5({view_id:$3($2),external_id:$3($2),view:$4,hash:$3($2)}).pipe($1({method:"POST",uri:"/views.update",code:200}))`,[s,h,l,g,t,m,n,__d0,r,i,d,p]]:u(v,e));const y=/*@__PURE__*/ o(o=>o===a?[`{input:#2,output:#9:0,errors:[$10,$11],protocol:$12,retry:$13};$3($1,$2);$8(>3)@"ViewsOpenRequest";$7({trigger_id:$6($5($1)),interactivity_pointer:$6($5($1)),view:#1}).pipe($4({method:"POST",uri:"/views.open",code:200}))`,[s,l,t,e,h,f,g,m,n,__d0,r,i,d,p]]:u(y,o));const b=/*@__PURE__*/ o(e=>e===a?[`{input:#1,output:#8:0,errors:[$9,$10],protocol:$11,retry:$12};$7(>2)@"ViewsPushRequest";$6({trigger_id:$4($3($2)),interactivity_pointer:$4($3($2)),view:$5}).pipe($1({method:"POST",uri:"/views.push",code:200}))`,[s,h,l,f,g,t,m,n,__d0,r,i,d,p]]:u(b,e));function __d0(){return[`$4(>1)@"PublishViewResponse";$3({ok:$1,view:$2})`,[s,c,t,m,n]]}export{_ as publishView,v as updateView,y as viewsOpen,b as viewsPush};
|
|
79
2
|
//# sourceMappingURL=views.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.js","
|
|
1
|
+
{"version":3,"file":"views.js","names":["API.D","__L.at","T.Http","S.String","S.Unknown","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","S.Record","S.NullOr","S.Boolean","Record","Unknown","suspend","SlackError","SlackRateLimited","D","op","at","Boolean","String","call","SlackProtocol","NullOr","Retry","Struct","Http","optional","publishView","i","updateView","viewsOpen","viewsPush"],"sources":["../../src/services/views.ts"],"mappings":"qOAqEA,MAAa8B,EAKK,gBAAQ,GAAgBC,IAAM/B,EAAQ,CAAC,qNAAsN,CAACC,EAAQC,EAAQC,EAAUC,EAAWC,EAAYC,EAAUC,EAAW,KAAMS,EAAYC,EAAkBO,EAAehB,CAAW,CAAC,EAAIC,EAASqB,EAAaC,CAAC,CAAC,EAIjb,MAAaC,EAKK,gBAAQ,GAAgBD,IAAM/B,EAAQ,CAAC,6MAA8M,CAACC,EAAQC,EAAQC,EAAUE,EAAYD,EAAWE,EAAUC,EAAW,KAAMS,EAAYC,EAAkBO,EAAehB,CAAW,CAAC,EAAIC,EAASuB,EAAYD,CAAC,CAAC,EAIxa,MAAaE,EAKK,gBAAQ,GAAgBF,IAAM/B,EAAQ,CAAC,+NAAgO,CAACC,EAAQE,EAAUC,EAAWM,EAAUR,EAAQS,EAAUN,EAAYC,EAAUC,EAAW,KAAMS,EAAYC,EAAkBO,EAAehB,CAAW,CAAC,EAAIC,EAASwB,EAAWF,CAAC,CAAC,EAI7c,MAAaG,EAKK,gBAAQ,GAAgBH,IAAM/B,EAAQ,CAAC,oNAAqN,CAACC,EAAQC,EAAQC,EAAUQ,EAAUN,EAAYD,EAAWE,EAAUC,EAAW,KAAMS,EAAYC,EAAkBO,EAAehB,CAAW,CAAC,EAAIC,EAASyB,EAAWH,CAAC,CAAC,EAMxb,SAAS,MAAY,CACnB,MAAO,CAAC,mDAAoD,CAAC9B,EAAQW,EAAWR,EAAWE,EAAUC,CAAS,CAAC,CACjH"}
|
|
@@ -1,34 +1,26 @@
|
|
|
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
|
/** Comma-separated array of trigger IDs to add; max 15 */
|
|
6
5
|
export type AddFeaturedRequestTriggerIdsList = Array<string>;
|
|
7
|
-
export declare const AddFeaturedRequestTriggerIdsList: S.Schema<AddFeaturedRequestTriggerIdsList>;
|
|
8
6
|
export interface AddFeaturedRequest {
|
|
9
7
|
/** Channel to add featured workflow in. */
|
|
10
8
|
channel_id: string;
|
|
11
9
|
/** Comma-separated array of trigger IDs to add; max 15 */
|
|
12
10
|
trigger_ids: AddFeaturedRequestTriggerIdsList;
|
|
13
11
|
}
|
|
14
|
-
export declare const AddFeaturedRequest: S.Schema<AddFeaturedRequest>;
|
|
15
12
|
export interface AddFeaturedResponse {
|
|
16
13
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
17
14
|
ok: boolean;
|
|
18
15
|
}
|
|
19
|
-
export declare const AddFeaturedResponse: S.Schema<AddFeaturedResponse>;
|
|
20
16
|
/** List of encoded user IDs */
|
|
21
17
|
export type AddTriggersPermissionsRequestUserIdsList = Array<string>;
|
|
22
|
-
export declare const AddTriggersPermissionsRequestUserIdsList: S.Schema<AddTriggersPermissionsRequestUserIdsList>;
|
|
23
18
|
/** List of encoded channel IDs */
|
|
24
19
|
export type AddTriggersPermissionsRequestChannelIdsList = Array<string>;
|
|
25
|
-
export declare const AddTriggersPermissionsRequestChannelIdsList: S.Schema<AddTriggersPermissionsRequestChannelIdsList>;
|
|
26
20
|
/** List of encoded workspace IDs */
|
|
27
21
|
export type AddTriggersPermissionsRequestTeamIdsList = Array<string>;
|
|
28
|
-
export declare const AddTriggersPermissionsRequestTeamIdsList: S.Schema<AddTriggersPermissionsRequestTeamIdsList>;
|
|
29
22
|
/** List of encoded organization IDs */
|
|
30
23
|
export type AddTriggersPermissionsRequestOrgIdsList = Array<string>;
|
|
31
|
-
export declare const AddTriggersPermissionsRequestOrgIdsList: S.Schema<AddTriggersPermissionsRequestOrgIdsList>;
|
|
32
24
|
export interface AddTriggersPermissionsRequest {
|
|
33
25
|
/** Encoded ID of the trigger */
|
|
34
26
|
trigger_id: string;
|
|
@@ -41,80 +33,62 @@ export interface AddTriggersPermissionsRequest {
|
|
|
41
33
|
/** List of encoded organization IDs */
|
|
42
34
|
org_ids?: AddTriggersPermissionsRequestOrgIdsList;
|
|
43
35
|
}
|
|
44
|
-
export declare const AddTriggersPermissionsRequest: S.Schema<AddTriggersPermissionsRequest>;
|
|
45
36
|
export interface AddTriggersPermissionsResponse {
|
|
46
37
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
47
38
|
ok: boolean;
|
|
48
39
|
}
|
|
49
|
-
export declare const AddTriggersPermissionsResponse: S.Schema<AddTriggersPermissionsResponse>;
|
|
50
40
|
/** Comma-separated array of channel IDs to list featured workflows for. */
|
|
51
41
|
export type ListFeaturedRequestChannelIdsList = Array<string>;
|
|
52
|
-
export declare const ListFeaturedRequestChannelIdsList: S.Schema<ListFeaturedRequestChannelIdsList>;
|
|
53
42
|
export interface ListFeaturedRequest {
|
|
54
43
|
/** Comma-separated array of channel IDs to list featured workflows for. */
|
|
55
44
|
channel_ids: ListFeaturedRequestChannelIdsList;
|
|
56
45
|
}
|
|
57
|
-
export declare const ListFeaturedRequest: S.Schema<ListFeaturedRequest>;
|
|
58
46
|
export interface ListFeaturedResponseFeaturedWorkflowsItemTriggersItem {
|
|
59
47
|
id: string;
|
|
60
48
|
title: string;
|
|
61
49
|
}
|
|
62
|
-
export declare const ListFeaturedResponseFeaturedWorkflowsItemTriggersItem: S.Schema<ListFeaturedResponseFeaturedWorkflowsItemTriggersItem>;
|
|
63
50
|
/** Array of triggers associated with channel */
|
|
64
51
|
export type ListFeaturedResponseFeaturedWorkflowsItemTriggersList = Array<ListFeaturedResponseFeaturedWorkflowsItemTriggersItem>;
|
|
65
|
-
export declare const ListFeaturedResponseFeaturedWorkflowsItemTriggersList: S.Schema<ListFeaturedResponseFeaturedWorkflowsItemTriggersList>;
|
|
66
52
|
export interface ListFeaturedResponseFeaturedWorkflowsItem {
|
|
67
53
|
/** Channel where workflows are featured */
|
|
68
54
|
channel_id: string;
|
|
69
55
|
/** Array of triggers associated with channel */
|
|
70
56
|
triggers: ListFeaturedResponseFeaturedWorkflowsItemTriggersList;
|
|
71
57
|
}
|
|
72
|
-
export declare const ListFeaturedResponseFeaturedWorkflowsItem: S.Schema<ListFeaturedResponseFeaturedWorkflowsItem>;
|
|
73
58
|
export type ListFeaturedResponseFeaturedWorkflowsList = Array<ListFeaturedResponseFeaturedWorkflowsItem>;
|
|
74
|
-
export declare const ListFeaturedResponseFeaturedWorkflowsList: S.Schema<ListFeaturedResponseFeaturedWorkflowsList>;
|
|
75
59
|
export interface ListFeaturedResponse {
|
|
76
60
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
77
61
|
ok: boolean;
|
|
78
62
|
featured_workflows: ListFeaturedResponseFeaturedWorkflowsList;
|
|
79
63
|
}
|
|
80
|
-
export declare const ListFeaturedResponse: S.Schema<ListFeaturedResponse>;
|
|
81
64
|
export interface ListTriggersPermissionsRequest {
|
|
82
65
|
/** Encoded ID of the trigger */
|
|
83
66
|
trigger_id: string;
|
|
84
67
|
}
|
|
85
|
-
export declare const ListTriggersPermissionsRequest: S.Schema<ListTriggersPermissionsRequest>;
|
|
86
68
|
export interface ListTriggersPermissionsResponse {
|
|
87
69
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
88
70
|
ok: boolean;
|
|
89
71
|
}
|
|
90
|
-
export declare const ListTriggersPermissionsResponse: S.Schema<ListTriggersPermissionsResponse>;
|
|
91
72
|
/** Comma-separated array of trigger IDs to remove; max 15 */
|
|
92
73
|
export type RemoveFeaturedRequestTriggerIdsList = Array<string>;
|
|
93
|
-
export declare const RemoveFeaturedRequestTriggerIdsList: S.Schema<RemoveFeaturedRequestTriggerIdsList>;
|
|
94
74
|
export interface RemoveFeaturedRequest {
|
|
95
75
|
/** Channel to remove featured workflow from. */
|
|
96
76
|
channel_id: string;
|
|
97
77
|
/** Comma-separated array of trigger IDs to remove; max 15 */
|
|
98
78
|
trigger_ids: RemoveFeaturedRequestTriggerIdsList;
|
|
99
79
|
}
|
|
100
|
-
export declare const RemoveFeaturedRequest: S.Schema<RemoveFeaturedRequest>;
|
|
101
80
|
export interface RemoveFeaturedResponse {
|
|
102
81
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
103
82
|
ok: boolean;
|
|
104
83
|
}
|
|
105
|
-
export declare const RemoveFeaturedResponse: S.Schema<RemoveFeaturedResponse>;
|
|
106
84
|
/** List of encoded user IDs */
|
|
107
85
|
export type RemoveTriggersPermissionsRequestUserIdsList = Array<string>;
|
|
108
|
-
export declare const RemoveTriggersPermissionsRequestUserIdsList: S.Schema<RemoveTriggersPermissionsRequestUserIdsList>;
|
|
109
86
|
/** List of encoded channel IDs */
|
|
110
87
|
export type RemoveTriggersPermissionsRequestChannelIdsList = Array<string>;
|
|
111
|
-
export declare const RemoveTriggersPermissionsRequestChannelIdsList: S.Schema<RemoveTriggersPermissionsRequestChannelIdsList>;
|
|
112
88
|
/** List of encoded workspace IDs */
|
|
113
89
|
export type RemoveTriggersPermissionsRequestTeamIdsList = Array<string>;
|
|
114
|
-
export declare const RemoveTriggersPermissionsRequestTeamIdsList: S.Schema<RemoveTriggersPermissionsRequestTeamIdsList>;
|
|
115
90
|
/** List of encoded organization IDs */
|
|
116
91
|
export type RemoveTriggersPermissionsRequestOrgIdsList = Array<string>;
|
|
117
|
-
export declare const RemoveTriggersPermissionsRequestOrgIdsList: S.Schema<RemoveTriggersPermissionsRequestOrgIdsList>;
|
|
118
92
|
export interface RemoveTriggersPermissionsRequest {
|
|
119
93
|
/** Encoded ID of the trigger */
|
|
120
94
|
trigger_id: string;
|
|
@@ -127,20 +101,14 @@ export interface RemoveTriggersPermissionsRequest {
|
|
|
127
101
|
/** List of encoded organization IDs */
|
|
128
102
|
org_ids?: RemoveTriggersPermissionsRequestOrgIdsList;
|
|
129
103
|
}
|
|
130
|
-
export declare const RemoveTriggersPermissionsRequest: S.Schema<RemoveTriggersPermissionsRequest>;
|
|
131
104
|
export type RemoveTriggersPermissionsResponsePermissionType = "everyone" | "app_collaborators" | "named_entities";
|
|
132
|
-
export declare const RemoveTriggersPermissionsResponsePermissionType: any;
|
|
133
105
|
/** A list of encoded user IDs. */
|
|
134
106
|
export type RemoveTriggersPermissionsResponseUserIdsList = Array<string>;
|
|
135
|
-
export declare const RemoveTriggersPermissionsResponseUserIdsList: S.Schema<RemoveTriggersPermissionsResponseUserIdsList>;
|
|
136
107
|
/** A list of encoded channel IDs. */
|
|
137
108
|
export type RemoveTriggersPermissionsResponseChannelIdsList = Array<string>;
|
|
138
|
-
export declare const RemoveTriggersPermissionsResponseChannelIdsList: S.Schema<RemoveTriggersPermissionsResponseChannelIdsList>;
|
|
139
109
|
/** Encoded workspace IDs. */
|
|
140
110
|
export type RemoveTriggersPermissionsResponseTeamIdsList = Array<string>;
|
|
141
|
-
export declare const RemoveTriggersPermissionsResponseTeamIdsList: S.Schema<RemoveTriggersPermissionsResponseTeamIdsList>;
|
|
142
111
|
export type RemoveTriggersPermissionsResponseOrgIdsList = Array<string>;
|
|
143
|
-
export declare const RemoveTriggersPermissionsResponseOrgIdsList: S.Schema<RemoveTriggersPermissionsResponseOrgIdsList>;
|
|
144
112
|
export interface RemoveTriggersPermissionsResponse {
|
|
145
113
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
146
114
|
ok: boolean;
|
|
@@ -153,37 +121,28 @@ export interface RemoveTriggersPermissionsResponse {
|
|
|
153
121
|
team_ids?: RemoveTriggersPermissionsResponseTeamIdsList;
|
|
154
122
|
org_ids?: RemoveTriggersPermissionsResponseOrgIdsList;
|
|
155
123
|
}
|
|
156
|
-
export declare const RemoveTriggersPermissionsResponse: S.Schema<RemoveTriggersPermissionsResponse>;
|
|
157
124
|
/** Comma-separated array of trigger IDs that will replace any existing featured workflows in the channel; max 15 */
|
|
158
125
|
export type SetFeaturedRequestTriggerIdsList = Array<string>;
|
|
159
|
-
export declare const SetFeaturedRequestTriggerIdsList: S.Schema<SetFeaturedRequestTriggerIdsList>;
|
|
160
126
|
export interface SetFeaturedRequest {
|
|
161
127
|
/** Channel to set featured workflows in. */
|
|
162
128
|
channel_id: string;
|
|
163
129
|
/** Comma-separated array of trigger IDs that will replace any existing featured workflows in the channel; max 15 */
|
|
164
130
|
trigger_ids: SetFeaturedRequestTriggerIdsList;
|
|
165
131
|
}
|
|
166
|
-
export declare const SetFeaturedRequest: S.Schema<SetFeaturedRequest>;
|
|
167
132
|
export interface SetFeaturedResponse {
|
|
168
133
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
169
134
|
ok: boolean;
|
|
170
135
|
}
|
|
171
|
-
export declare const SetFeaturedResponse: S.Schema<SetFeaturedResponse>;
|
|
172
136
|
/** The type of permission that defines who can run a trigger */
|
|
173
137
|
export type SetTriggersPermissionsRequestPermissionType = "everyone" | "app_collaborators" | "named_entities";
|
|
174
|
-
export declare const SetTriggersPermissionsRequestPermissionType: any;
|
|
175
138
|
/** List of encoded user IDs */
|
|
176
139
|
export type SetTriggersPermissionsRequestUserIdsList = Array<string>;
|
|
177
|
-
export declare const SetTriggersPermissionsRequestUserIdsList: S.Schema<SetTriggersPermissionsRequestUserIdsList>;
|
|
178
140
|
/** List of encoded channel IDs */
|
|
179
141
|
export type SetTriggersPermissionsRequestChannelIdsList = Array<string>;
|
|
180
|
-
export declare const SetTriggersPermissionsRequestChannelIdsList: S.Schema<SetTriggersPermissionsRequestChannelIdsList>;
|
|
181
142
|
/** List of encoded workspace IDs */
|
|
182
143
|
export type SetTriggersPermissionsRequestTeamIdsList = Array<string>;
|
|
183
|
-
export declare const SetTriggersPermissionsRequestTeamIdsList: S.Schema<SetTriggersPermissionsRequestTeamIdsList>;
|
|
184
144
|
/** List of encoded organization IDs */
|
|
185
145
|
export type SetTriggersPermissionsRequestOrgIdsList = Array<string>;
|
|
186
|
-
export declare const SetTriggersPermissionsRequestOrgIdsList: S.Schema<SetTriggersPermissionsRequestOrgIdsList>;
|
|
187
146
|
export interface SetTriggersPermissionsRequest {
|
|
188
147
|
/** Encoded ID of the trigger */
|
|
189
148
|
trigger_id: string;
|
|
@@ -198,34 +157,32 @@ export interface SetTriggersPermissionsRequest {
|
|
|
198
157
|
/** List of encoded organization IDs */
|
|
199
158
|
org_ids?: SetTriggersPermissionsRequestOrgIdsList;
|
|
200
159
|
}
|
|
201
|
-
export declare const SetTriggersPermissionsRequest: S.Schema<SetTriggersPermissionsRequest>;
|
|
202
160
|
export interface SetTriggersPermissionsResponse {
|
|
203
161
|
/** Always `true` (a failed call raises a typed error instead). */
|
|
204
162
|
ok: boolean;
|
|
205
163
|
}
|
|
206
|
-
export declare const SetTriggersPermissionsResponse: S.Schema<SetTriggersPermissionsResponse>;
|
|
207
164
|
export type AddFeaturedError = SlackOpError;
|
|
208
|
-
/** Add featured workflows to a channel. Required scopes
|
|
165
|
+
/** Add featured workflows to a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.add */
|
|
209
166
|
export declare const addFeatured: API.OperationMethod<AddFeaturedRequest, AddFeaturedResponse, AddFeaturedError, SlackOpContext>;
|
|
210
167
|
export type AddTriggersPermissionsError = SlackOpError;
|
|
211
|
-
/** Allows users to run a trigger that has its permission type set to named_entities Required scopes
|
|
168
|
+
/** Allows users to run a trigger that has its permission type set to named_entities Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `channel_not_found` -- One or more of the listed channels could not be found. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `invalid_permission_type` -- This trigger requires permission_type to be set as named_entities before adding users. - `no_valid_named_entities` -- None of the provided named entities were valid - `org_not_connected` -- One of more of the listed organizations were not connected. - `org_not_found` -- One or more of the listed organizations could not be found. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` -- One of more of the listed teams were not connected by org. - `team_not_found` -- One or more of the listed teams could not be found. - `too_many_named_entities` -- Too many named entities passed into the trigger permissions setting. - `trigger_not_found` -- This trigger does not exist. - `unknown_method` -- This method does not exist. - `user_not_found` -- One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.add */
|
|
212
169
|
export declare const addTriggersPermissions: API.OperationMethod<AddTriggersPermissionsRequest, AddTriggersPermissionsResponse, AddTriggersPermissionsError, SlackOpContext>;
|
|
213
170
|
export type ListFeaturedError = SlackOpError;
|
|
214
|
-
/** List the featured workflows for specified channels. Required scopes
|
|
171
|
+
/** List the featured workflows for specified channels. Required scopes -- bot: `bookmarks:read`; user: `bookmarks:read` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `channel_not_found` -- Channel not found. - `error_invalid_channels` -- Invalid channels provided. See https://docs.slack.dev/reference/methods/workflows.featured.list */
|
|
215
172
|
export declare const listFeatured: API.OperationMethod<ListFeaturedRequest, ListFeaturedResponse, ListFeaturedError, SlackOpContext>;
|
|
216
173
|
export type ListTriggersPermissionsError = SlackOpError;
|
|
217
|
-
/** Returns the permission type of a trigger and if applicable, includes the entities that have been granted access Required scopes
|
|
174
|
+
/** Returns the permission type of a trigger and if applicable, includes the entities that have been granted access Required scopes -- bot: `triggers: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. - `trigger_not_found` -- This trigger does not exist. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.list */
|
|
218
175
|
export declare const listTriggersPermissions: API.OperationMethod<ListTriggersPermissionsRequest, ListTriggersPermissionsResponse, ListTriggersPermissionsError, SlackOpContext>;
|
|
219
176
|
export type RemoveFeaturedError = SlackOpError;
|
|
220
|
-
/** Remove featured workflows from a channel. Required scopes
|
|
177
|
+
/** Remove featured workflows from a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.remove */
|
|
221
178
|
export declare const removeFeatured: API.OperationMethod<RemoveFeaturedRequest, RemoveFeaturedResponse, RemoveFeaturedError, SlackOpContext>;
|
|
222
179
|
export type RemoveTriggersPermissionsError = SlackOpError;
|
|
223
|
-
/** Revoke an entity's access to a trigger that has its permission type set to named_entities Required scopes
|
|
180
|
+
/** Revoke an entity's access to a trigger that has its permission type set to named_entities Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `named_entities_cannot_be_empty` -- There must be at least one valid named entity - `org_not_connected` -- One of more of the listed organizations were not connected. - `org_not_found` -- One or more of the listed organizations could not be found. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `trigger_not_found` -- This trigger does not exist. - `invalid_permission_type` -- This trigger requires permission_type to be set as named_entities before adding users. - `too_many_named_entities` -- Too many named entities passed into the trigger permissions setting. - `unknown_method` -- This method does not exist. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.remove */
|
|
224
181
|
export declare const removeTriggersPermissions: API.OperationMethod<RemoveTriggersPermissionsRequest, RemoveTriggersPermissionsResponse, RemoveTriggersPermissionsError, SlackOpContext>;
|
|
225
182
|
export type SetFeaturedError = SlackOpError;
|
|
226
|
-
/** Set featured workflows for a channel. Required scopes
|
|
183
|
+
/** Set featured workflows for a channel. Required scopes -- bot: `bookmarks:write`; user: `bookmarks:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `method_not_supported` -- Method not yet supported - `restricted_action` -- User does not have access to this method. - `error_modifying_workflows` -- Error modifying workflows See https://docs.slack.dev/reference/methods/workflows.featured.set */
|
|
227
184
|
export declare const setFeatured: API.OperationMethod<SetFeaturedRequest, SetFeaturedResponse, SetFeaturedError, SlackOpContext>;
|
|
228
185
|
export type SetTriggersPermissionsError = SlackOpError;
|
|
229
|
-
/** Set the permission type for who can run a trigger Required scopes
|
|
186
|
+
/** Set the permission type for who can run a trigger Required scopes -- bot: `triggers:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `access_denied` -- This actor does not have access to the permissions on this resource. - `channel_not_found` -- One or more of the listed channels could not be found. - `connected_org_denied` -- The workspace admin does not allow connected organizations to be named_entities. - `connected_team_denied` -- The workspace admin does not allow connected teams to be named_entities. - `connected_user_denied` -- The workspace admin does not allow connected users to be named_entities. - `external_workspace_denied` -- The channel selected is not on the workflow team. - `invalid_permission_type` -- This function requires permission_type to be set as named_entities before adding users. - `named_entities_cannot_be_empty` -- Must pass at least one valid named entity. - `no_valid_named_entities` -- None of the provided named entities were valid - `org_not_found` -- One or more of the listed organizations could not be found. - `org_not_connected` -- One of more of the listed organizations were not connected. - `shared_channel_denied` -- The workspace admin does not allow shared channels to be named_entities. - `team_not_connected` -- One of more of the listed teams were not connected by org. - `team_not_found` -- One or more of the listed teams could not be found. - `too_many_named_entities` -- Too many named_entities passed into the trigger permissions setting. - `trigger_not_found` -- This trigger does not exist. - `unknown_method` -- This method does not exist. - `user_not_found` -- One or more of the listed users could not be found. See https://docs.slack.dev/reference/methods/workflows.triggers.permissions.set */
|
|
230
187
|
export declare const setTriggersPermissions: API.OperationMethod<SetTriggersPermissionsRequest, SetTriggersPermissionsResponse, SetTriggersPermissionsError, SlackOpContext>;
|
|
231
188
|
//# sourceMappingURL=workflows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/services/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GA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