@distilled.cloud/slack 1.0.0-rc.16 → 1.0.0-rc.18

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.
Files changed (208) hide show
  1. package/lib/.lazy.json +1 -0
  2. package/lib/_bundle/lazy.js +4 -0
  3. package/lib/_bundle/sdk.js +2 -0
  4. package/lib/_bundle/sdk.js.map +1 -0
  5. package/lib/credentials.d.ts +2 -1
  6. package/lib/credentials.d.ts.map +1 -1
  7. package/lib/credentials.js +1 -58
  8. package/lib/errors.js +1 -59
  9. package/lib/index.d.ts +3 -4
  10. package/lib/index.d.ts.map +1 -1
  11. package/lib/index.js +0 -10
  12. package/lib/index.lazy.js +7 -0
  13. package/lib/index.lazy.js.map +1 -0
  14. package/lib/pagination.js +1 -31
  15. package/lib/protocol.d.ts +2 -2
  16. package/lib/protocol.d.ts.map +1 -1
  17. package/lib/protocol.js +1 -233
  18. package/lib/retry.js +1 -46
  19. package/lib/services/admin.d.ts.map +1 -1
  20. package/lib/services/admin.js +143 -311
  21. package/lib/services/admin.js.map +1 -0
  22. package/lib/services/agents.d.ts.map +1 -1
  23. package/lib/services/agents.js +2 -54
  24. package/lib/services/agents.js.map +1 -0
  25. package/lib/services/api.d.ts.map +1 -1
  26. package/lib/services/api.js +2 -22
  27. package/lib/services/api.js.map +1 -0
  28. package/lib/services/apps.d.ts.map +1 -1
  29. package/lib/services/apps.js +37 -91
  30. package/lib/services/apps.js.map +1 -0
  31. package/lib/services/assistant.d.ts.map +1 -1
  32. package/lib/services/assistant.js +2 -39
  33. package/lib/services/assistant.js.map +1 -0
  34. package/lib/services/auth.d.ts.map +1 -1
  35. package/lib/services/auth.js +2 -29
  36. package/lib/services/auth.js.map +1 -0
  37. package/lib/services/blocks.d.ts.map +1 -1
  38. package/lib/services/blocks.js +2 -22
  39. package/lib/services/blocks.js.map +1 -0
  40. package/lib/services/bookmarks.d.ts.map +1 -1
  41. package/lib/services/bookmarks.js +2 -33
  42. package/lib/services/bookmarks.js.map +1 -0
  43. package/lib/services/bots.d.ts.map +1 -1
  44. package/lib/services/bots.js +2 -23
  45. package/lib/services/bots.js.map +1 -0
  46. package/lib/services/calls.d.ts.map +1 -1
  47. package/lib/services/calls.js +2 -41
  48. package/lib/services/calls.js.map +1 -0
  49. package/lib/services/canvases.d.ts.map +1 -1
  50. package/lib/services/canvases.js +2 -45
  51. package/lib/services/canvases.js.map +1 -0
  52. package/lib/services/chat.d.ts.map +1 -1
  53. package/lib/services/chat.js +2 -66
  54. package/lib/services/chat.js.map +1 -0
  55. package/lib/services/conversations.d.ts.map +1 -1
  56. package/lib/services/conversations.js +42 -101
  57. package/lib/services/conversations.js.map +1 -0
  58. package/lib/services/dialog.d.ts.map +1 -1
  59. package/lib/services/dialog.js +2 -19
  60. package/lib/services/dialog.js.map +1 -0
  61. package/lib/services/dnd.d.ts.map +1 -1
  62. package/lib/services/dnd.js +2 -32
  63. package/lib/services/dnd.js.map +1 -0
  64. package/lib/services/emoji.d.ts.map +1 -1
  65. package/lib/services/emoji.js +2 -24
  66. package/lib/services/emoji.js.map +1 -0
  67. package/lib/services/entity.d.ts.map +1 -1
  68. package/lib/services/entity.js +2 -35
  69. package/lib/services/entity.js.map +1 -0
  70. package/lib/services/files.d.ts.map +1 -1
  71. package/lib/services/files.js +31 -82
  72. package/lib/services/files.js.map +1 -0
  73. package/lib/services/functions.d.ts.map +1 -1
  74. package/lib/services/functions.js +2 -51
  75. package/lib/services/functions.js.map +1 -0
  76. package/lib/services/index.js +0 -2
  77. package/lib/services/lists.d.ts.map +1 -1
  78. package/lib/services/lists.js +2 -60
  79. package/lib/services/lists.js.map +1 -0
  80. package/lib/services/migration.d.ts.map +1 -1
  81. package/lib/services/migration.js +2 -24
  82. package/lib/services/migration.js.map +1 -0
  83. package/lib/services/oauth.d.ts.map +1 -1
  84. package/lib/services/oauth.js +2 -40
  85. package/lib/services/oauth.js.map +1 -0
  86. package/lib/services/openid.d.ts.map +1 -1
  87. package/lib/services/openid.js +2 -25
  88. package/lib/services/openid.js.map +1 -0
  89. package/lib/services/pins.d.ts.map +1 -1
  90. package/lib/services/pins.js +2 -33
  91. package/lib/services/pins.js.map +1 -0
  92. package/lib/services/reactions.d.ts.map +1 -1
  93. package/lib/services/reactions.js +2 -37
  94. package/lib/services/reactions.js.map +1 -0
  95. package/lib/services/reminders.d.ts.map +1 -1
  96. package/lib/services/reminders.js +2 -39
  97. package/lib/services/reminders.js.map +1 -0
  98. package/lib/services/rtm.d.ts.map +1 -1
  99. package/lib/services/rtm.js +2 -28
  100. package/lib/services/rtm.js.map +1 -0
  101. package/lib/services/search.d.ts.map +1 -1
  102. package/lib/services/search.js +2 -34
  103. package/lib/services/search.js.map +1 -0
  104. package/lib/services/stars.d.ts.map +1 -1
  105. package/lib/services/stars.js +2 -35
  106. package/lib/services/stars.js.map +1 -0
  107. package/lib/services/team.d.ts.map +1 -1
  108. package/lib/services/team.js +2 -52
  109. package/lib/services/team.js.map +1 -0
  110. package/lib/services/tooling.d.ts.map +1 -1
  111. package/lib/services/tooling.js +2 -21
  112. package/lib/services/tooling.js.map +1 -0
  113. package/lib/services/usergroups.d.ts.map +1 -1
  114. package/lib/services/usergroups.js +2 -46
  115. package/lib/services/usergroups.js.map +1 -0
  116. package/lib/services/users.d.ts.map +1 -1
  117. package/lib/services/users.js +2 -61
  118. package/lib/services/users.js.map +1 -0
  119. package/lib/services/views.d.ts.map +1 -1
  120. package/lib/services/views.js +2 -34
  121. package/lib/services/views.js.map +1 -0
  122. package/lib/services/workflows.d.ts.map +1 -1
  123. package/lib/services/workflows.js +2 -43
  124. package/lib/services/workflows.js.map +1 -0
  125. package/lib/services.lazy/admin.js +3 -0
  126. package/lib/services.lazy/agents.js +1 -0
  127. package/lib/services.lazy/api.js +1 -0
  128. package/lib/services.lazy/apps.js +3 -0
  129. package/lib/services.lazy/assistant.js +1 -0
  130. package/lib/services.lazy/auth.js +1 -0
  131. package/lib/services.lazy/blocks.js +1 -0
  132. package/lib/services.lazy/bookmarks.js +1 -0
  133. package/lib/services.lazy/bots.js +1 -0
  134. package/lib/services.lazy/calls.js +1 -0
  135. package/lib/services.lazy/canvases.js +1 -0
  136. package/lib/services.lazy/chat.js +1 -0
  137. package/lib/services.lazy/conversations.js +3 -0
  138. package/lib/services.lazy/dialog.js +1 -0
  139. package/lib/services.lazy/dnd.js +1 -0
  140. package/lib/services.lazy/emoji.js +1 -0
  141. package/lib/services.lazy/entity.js +1 -0
  142. package/lib/services.lazy/files.js +3 -0
  143. package/lib/services.lazy/functions.js +1 -0
  144. package/lib/services.lazy/index.js +3 -0
  145. package/lib/services.lazy/lists.js +1 -0
  146. package/lib/services.lazy/migration.js +1 -0
  147. package/lib/services.lazy/oauth.js +1 -0
  148. package/lib/services.lazy/openid.js +1 -0
  149. package/lib/services.lazy/pins.js +1 -0
  150. package/lib/services.lazy/reactions.js +1 -0
  151. package/lib/services.lazy/reminders.js +1 -0
  152. package/lib/services.lazy/rtm.js +1 -0
  153. package/lib/services.lazy/search.js +1 -0
  154. package/lib/services.lazy/stars.js +1 -0
  155. package/lib/services.lazy/team.js +1 -0
  156. package/lib/services.lazy/tooling.js +1 -0
  157. package/lib/services.lazy/usergroups.js +1 -0
  158. package/lib/services.lazy/users.js +1 -0
  159. package/lib/services.lazy/views.js +1 -0
  160. package/lib/services.lazy/workflows.js +1 -0
  161. package/lib/traits.js +1 -12
  162. package/package.json +9 -10
  163. package/src/credentials.ts +3 -2
  164. package/src/index.ts +3 -4
  165. package/src/protocol.ts +21 -17
  166. package/src/services/admin.ts +255 -0
  167. package/src/services/agents.ts +35 -0
  168. package/src/services/api.ts +15 -0
  169. package/src/services/apps.ts +59 -0
  170. package/src/services/assistant.ts +23 -0
  171. package/src/services/auth.ts +19 -0
  172. package/src/services/blocks.ts +15 -0
  173. package/src/services/bookmarks.ts +21 -0
  174. package/src/services/bots.ts +15 -0
  175. package/src/services/calls.ts +25 -0
  176. package/src/services/canvases.ts +27 -0
  177. package/src/services/chat.ts +39 -0
  178. package/src/services/conversations.ts +69 -0
  179. package/src/services/dialog.ts +15 -0
  180. package/src/services/dnd.ts +23 -0
  181. package/src/services/emoji.ts +15 -0
  182. package/src/services/entity.ts +19 -0
  183. package/src/services/files.ts +43 -0
  184. package/src/services/functions.ts +29 -0
  185. package/src/services/lists.ts +37 -0
  186. package/src/services/migration.ts +15 -0
  187. package/src/services/oauth.ts +25 -0
  188. package/src/services/openid.ts +17 -0
  189. package/src/services/pins.ts +19 -0
  190. package/src/services/reactions.ts +21 -0
  191. package/src/services/reminders.ts +23 -0
  192. package/src/services/rtm.ts +17 -0
  193. package/src/services/search.ts +19 -0
  194. package/src/services/stars.ts +19 -0
  195. package/src/services/team.ts +31 -0
  196. package/src/services/tooling.ts +15 -0
  197. package/src/services/usergroups.ts +27 -0
  198. package/src/services/users.ts +39 -0
  199. package/src/services/views.ts +21 -0
  200. package/src/services/workflows.ts +29 -0
  201. package/lib/credentials.js.map +0 -1
  202. package/lib/errors.js.map +0 -1
  203. package/lib/index.js.map +0 -1
  204. package/lib/pagination.js.map +0 -1
  205. package/lib/protocol.js.map +0 -1
  206. package/lib/retry.js.map +0 -1
  207. package/lib/services/index.js.map +0 -1
  208. package/lib/traits.js.map +0 -1
@@ -12,6 +12,19 @@ const __s: any[] = [];
12
12
 
13
13
  export type { SlackOpError, SlackOpContext };
14
14
 
15
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
16
+ const TELEMETRY = {
17
+ system: "slack-api",
18
+ responseHeaders: [
19
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
20
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
21
+ { header: "x-slack-req-id", name: "http.response.header.x-slack-req-id", transform: "list" },
22
+ ],
23
+ prefix: "Slack",
24
+ service: "Admin",
25
+ propagate: "w3c",
26
+ } as const;
27
+
15
28
  export interface AddAliasRequest {
16
29
  /** The new alias for the specified emoji. Any wrapping whitespace or colons will be automatically trimmed. */
17
30
  name: string;
@@ -2280,6 +2293,8 @@ export const addAlias: API.OperationMethod<
2280
2293
  errors: [SlackError, SlackRateLimited],
2281
2294
  protocol: SlackProtocol,
2282
2295
  retry: Retry.Retry,
2296
+ telemetry: TELEMETRY,
2297
+ span: "AddAlias",
2283
2298
  }));
2284
2299
 
2285
2300
  export type AddAppsPermissionsError = SlackOpError;
@@ -2295,6 +2310,8 @@ export const addAppsPermissions: API.OperationMethod<
2295
2310
  errors: [SlackError, SlackRateLimited],
2296
2311
  protocol: SlackProtocol,
2297
2312
  retry: Retry.Retry,
2313
+ telemetry: TELEMETRY,
2314
+ span: "AddAppsPermissions",
2298
2315
  }));
2299
2316
 
2300
2317
  export type AddAssignmentsError = SlackOpError;
@@ -2310,6 +2327,8 @@ export const addAssignments: API.OperationMethod<
2310
2327
  errors: [SlackError, SlackRateLimited],
2311
2328
  protocol: SlackProtocol,
2312
2329
  retry: Retry.Retry,
2330
+ telemetry: TELEMETRY,
2331
+ span: "AddAssignments",
2313
2332
  }));
2314
2333
 
2315
2334
  export type AddChannelsError = SlackOpError;
@@ -2325,6 +2344,8 @@ export const addChannels: API.OperationMethod<
2325
2344
  errors: [SlackError, SlackRateLimited],
2326
2345
  protocol: SlackProtocol,
2327
2346
  retry: Retry.Retry,
2347
+ telemetry: TELEMETRY,
2348
+ span: "AddChannels",
2328
2349
  }));
2329
2350
 
2330
2351
  export type AddEmojiError = SlackOpError;
@@ -2340,6 +2361,8 @@ export const addEmoji: API.OperationMethod<
2340
2361
  errors: [SlackError, SlackRateLimited],
2341
2362
  protocol: SlackProtocol,
2342
2363
  retry: Retry.Retry,
2364
+ telemetry: TELEMETRY,
2365
+ span: "AddEmoji",
2343
2366
  }));
2344
2367
 
2345
2368
  export type AddGroupError = SlackOpError;
@@ -2355,6 +2378,8 @@ export const addGroup: API.OperationMethod<
2355
2378
  errors: [SlackError, SlackRateLimited],
2356
2379
  protocol: SlackProtocol,
2357
2380
  retry: Retry.Retry,
2381
+ telemetry: TELEMETRY,
2382
+ span: "AddGroup",
2358
2383
  }));
2359
2384
 
2360
2385
  export type AddTeamsError = SlackOpError;
@@ -2370,6 +2395,8 @@ export const addTeams: API.OperationMethod<
2370
2395
  errors: [SlackError, SlackRateLimited],
2371
2396
  protocol: SlackProtocol,
2372
2397
  retry: Retry.Retry,
2398
+ telemetry: TELEMETRY,
2399
+ span: "AddTeams",
2373
2400
  }));
2374
2401
 
2375
2402
  export type AddUsersError = SlackOpError;
@@ -2385,6 +2412,8 @@ export const addUsers: API.OperationMethod<
2385
2412
  errors: [SlackError, SlackRateLimited],
2386
2413
  protocol: SlackProtocol,
2387
2414
  retry: Retry.Retry,
2415
+ telemetry: TELEMETRY,
2416
+ span: "AddUsers",
2388
2417
  }));
2389
2418
 
2390
2419
  export type AddWorkflowsCollaboratorError = SlackOpError;
@@ -2400,6 +2429,8 @@ export const addWorkflowsCollaborator: API.OperationMethod<
2400
2429
  errors: [SlackError, SlackRateLimited],
2401
2430
  protocol: SlackProtocol,
2402
2431
  retry: Retry.Retry,
2432
+ telemetry: TELEMETRY,
2433
+ span: "AddWorkflowsCollaborator",
2403
2434
  }));
2404
2435
 
2405
2436
  export type AnalyticsMessagesActivityError = SlackOpError;
@@ -2415,6 +2446,8 @@ export const analyticsMessagesActivity: API.OperationMethod<
2415
2446
  errors: [SlackError, SlackRateLimited],
2416
2447
  protocol: SlackProtocol,
2417
2448
  retry: Retry.Retry,
2449
+ telemetry: TELEMETRY,
2450
+ span: "AnalyticsMessagesActivity",
2418
2451
  }));
2419
2452
 
2420
2453
  export type AnalyticsMessagesMetadataError = SlackOpError;
@@ -2432,6 +2465,8 @@ export const analyticsMessagesMetadata: API.PaginatedOperationMethod<
2432
2465
  errors: [SlackError, SlackRateLimited],
2433
2466
  protocol: SlackProtocol,
2434
2467
  retry: Retry.Retry,
2468
+ telemetry: TELEMETRY,
2469
+ span: "AnalyticsMessagesMetadata",
2435
2470
  pagination: {
2436
2471
  mode: "cursor",
2437
2472
  inputToken: "cursor",
@@ -2455,6 +2490,8 @@ export const approveApp: API.OperationMethod<
2455
2490
  errors: [SlackError, SlackRateLimited],
2456
2491
  protocol: SlackProtocol,
2457
2492
  retry: Retry.Retry,
2493
+ telemetry: TELEMETRY,
2494
+ span: "ApproveApp",
2458
2495
  }));
2459
2496
 
2460
2497
  export type ApproveInviteRequestError = SlackOpError;
@@ -2470,6 +2507,8 @@ export const approveInviteRequest: API.OperationMethod<
2470
2507
  errors: [SlackError, SlackRateLimited],
2471
2508
  protocol: SlackProtocol,
2472
2509
  retry: Retry.Retry,
2510
+ telemetry: TELEMETRY,
2511
+ span: "ApproveInviteRequest",
2473
2512
  }));
2474
2513
 
2475
2514
  export type AppsRestrictError = SlackOpError;
@@ -2485,6 +2524,8 @@ export const appsRestrict: API.OperationMethod<
2485
2524
  errors: [SlackError, SlackRateLimited],
2486
2525
  protocol: SlackProtocol,
2487
2526
  retry: Retry.Retry,
2527
+ telemetry: TELEMETRY,
2528
+ span: "AppsRestrict",
2488
2529
  }));
2489
2530
 
2490
2531
  export type ArchiveConversationError = SlackOpError;
@@ -2500,6 +2541,8 @@ export const archiveConversation: API.OperationMethod<
2500
2541
  errors: [SlackError, SlackRateLimited],
2501
2542
  protocol: SlackProtocol,
2502
2543
  retry: Retry.Retry,
2544
+ telemetry: TELEMETRY,
2545
+ span: "ArchiveConversation",
2503
2546
  }));
2504
2547
 
2505
2548
  export type AssignEntitiesError = SlackOpError;
@@ -2515,6 +2558,8 @@ export const assignEntities: API.OperationMethod<
2515
2558
  errors: [SlackError, SlackRateLimited],
2516
2559
  protocol: SlackProtocol,
2517
2560
  retry: Retry.Retry,
2561
+ telemetry: TELEMETRY,
2562
+ span: "AssignEntities",
2518
2563
  }));
2519
2564
 
2520
2565
  export type AssignUserError = SlackOpError;
@@ -2530,6 +2575,8 @@ export const assignUser: API.OperationMethod<
2530
2575
  errors: [SlackError, SlackRateLimited],
2531
2576
  protocol: SlackProtocol,
2532
2577
  retry: Retry.Retry,
2578
+ telemetry: TELEMETRY,
2579
+ span: "AssignUser",
2533
2580
  }));
2534
2581
 
2535
2582
  export type BulkArchiveError = SlackOpError;
@@ -2545,6 +2592,8 @@ export const bulkArchive: API.OperationMethod<
2545
2592
  errors: [SlackError, SlackRateLimited],
2546
2593
  protocol: SlackProtocol,
2547
2594
  retry: Retry.Retry,
2595
+ telemetry: TELEMETRY,
2596
+ span: "BulkArchive",
2548
2597
  }));
2549
2598
 
2550
2599
  export type BulkDeleteError = SlackOpError;
@@ -2560,6 +2609,8 @@ export const bulkDelete: API.OperationMethod<
2560
2609
  errors: [SlackError, SlackRateLimited],
2561
2610
  protocol: SlackProtocol,
2562
2611
  retry: Retry.Retry,
2612
+ telemetry: TELEMETRY,
2613
+ span: "BulkDelete",
2563
2614
  }));
2564
2615
 
2565
2616
  export type BulkMoveError = SlackOpError;
@@ -2575,6 +2626,8 @@ export const bulkMove: API.OperationMethod<
2575
2626
  errors: [SlackError, SlackRateLimited],
2576
2627
  protocol: SlackProtocol,
2577
2628
  retry: Retry.Retry,
2629
+ telemetry: TELEMETRY,
2630
+ span: "BulkMove",
2578
2631
  }));
2579
2632
 
2580
2633
  export type BulkSetExcludeFromSlackAiError = SlackOpError;
@@ -2590,6 +2643,8 @@ export const bulkSetExcludeFromSlackAi: API.OperationMethod<
2590
2643
  errors: [SlackError, SlackRateLimited],
2591
2644
  protocol: SlackProtocol,
2592
2645
  retry: Retry.Retry,
2646
+ telemetry: TELEMETRY,
2647
+ span: "BulkSetExcludeFromSlackAi",
2593
2648
  }));
2594
2649
 
2595
2650
  export type BulkSetPropertiesError = SlackOpError;
@@ -2605,6 +2660,8 @@ export const bulkSetProperties: API.OperationMethod<
2605
2660
  errors: [SlackError, SlackRateLimited],
2606
2661
  protocol: SlackProtocol,
2607
2662
  retry: Retry.Retry,
2663
+ telemetry: TELEMETRY,
2664
+ span: "BulkSetProperties",
2608
2665
  }));
2609
2666
 
2610
2667
  export type CancelAppsRequestError = SlackOpError;
@@ -2620,6 +2677,8 @@ export const cancelAppsRequest: API.OperationMethod<
2620
2677
  errors: [SlackError, SlackRateLimited],
2621
2678
  protocol: SlackProtocol,
2622
2679
  retry: Retry.Retry,
2680
+ telemetry: TELEMETRY,
2681
+ span: "CancelAppsRequest",
2623
2682
  }));
2624
2683
 
2625
2684
  export type ClearResolutionError = SlackOpError;
@@ -2635,6 +2694,8 @@ export const clearResolution: API.OperationMethod<
2635
2694
  errors: [SlackError, SlackRateLimited],
2636
2695
  protocol: SlackProtocol,
2637
2696
  retry: Retry.Retry,
2697
+ telemetry: TELEMETRY,
2698
+ span: "ClearResolution",
2638
2699
  }));
2639
2700
 
2640
2701
  export type ClearSettingsError = SlackOpError;
@@ -2650,6 +2711,8 @@ export const clearSettings: API.OperationMethod<
2650
2711
  errors: [SlackError, SlackRateLimited],
2651
2712
  protocol: SlackProtocol,
2652
2713
  retry: Retry.Retry,
2714
+ telemetry: TELEMETRY,
2715
+ span: "ClearSettings",
2653
2716
  }));
2654
2717
 
2655
2718
  export type ConvertToPrivateError = SlackOpError;
@@ -2665,6 +2728,8 @@ export const convertToPrivate: API.OperationMethod<
2665
2728
  errors: [SlackError, SlackRateLimited],
2666
2729
  protocol: SlackProtocol,
2667
2730
  retry: Retry.Retry,
2731
+ telemetry: TELEMETRY,
2732
+ span: "ConvertToPrivate",
2668
2733
  }));
2669
2734
 
2670
2735
  export type ConvertToPublicError = SlackOpError;
@@ -2680,6 +2745,8 @@ export const convertToPublic: API.OperationMethod<
2680
2745
  errors: [SlackError, SlackRateLimited],
2681
2746
  protocol: SlackProtocol,
2682
2747
  retry: Retry.Retry,
2748
+ telemetry: TELEMETRY,
2749
+ span: "ConvertToPublic",
2683
2750
  }));
2684
2751
 
2685
2752
  export type CreateBarrierError = SlackOpError;
@@ -2695,6 +2762,8 @@ export const createBarrier: API.OperationMethod<
2695
2762
  errors: [SlackError, SlackRateLimited],
2696
2763
  protocol: SlackProtocol,
2697
2764
  retry: Retry.Retry,
2765
+ telemetry: TELEMETRY,
2766
+ span: "CreateBarrier",
2698
2767
  }));
2699
2768
 
2700
2769
  export type CreateConversationError = SlackOpError;
@@ -2710,6 +2779,8 @@ export const createConversation: API.OperationMethod<
2710
2779
  errors: [SlackError, SlackRateLimited],
2711
2780
  protocol: SlackProtocol,
2712
2781
  retry: Retry.Retry,
2782
+ telemetry: TELEMETRY,
2783
+ span: "CreateConversation",
2713
2784
  }));
2714
2785
 
2715
2786
  export type CreateForObjectsError = SlackOpError;
@@ -2725,6 +2796,8 @@ export const createForObjects: API.OperationMethod<
2725
2796
  errors: [SlackError, SlackRateLimited],
2726
2797
  protocol: SlackProtocol,
2727
2798
  retry: Retry.Retry,
2799
+ telemetry: TELEMETRY,
2800
+ span: "CreateForObjects",
2728
2801
  }));
2729
2802
 
2730
2803
  export type CreateTeamError = SlackOpError;
@@ -2740,6 +2813,8 @@ export const createTeam: API.OperationMethod<
2740
2813
  errors: [SlackError, SlackRateLimited],
2741
2814
  protocol: SlackProtocol,
2742
2815
  retry: Retry.Retry,
2816
+ telemetry: TELEMETRY,
2817
+ span: "CreateTeam",
2743
2818
  }));
2744
2819
 
2745
2820
  export type CreateUsergroupError = SlackOpError;
@@ -2755,6 +2830,8 @@ export const createUsergroup: API.OperationMethod<
2755
2830
  errors: [SlackError, SlackRateLimited],
2756
2831
  protocol: SlackProtocol,
2757
2832
  retry: Retry.Retry,
2833
+ telemetry: TELEMETRY,
2834
+ span: "CreateUsergroup",
2758
2835
  }));
2759
2836
 
2760
2837
  export type DeleteBarrierError = SlackOpError;
@@ -2770,6 +2847,8 @@ export const deleteBarrier: API.OperationMethod<
2770
2847
  errors: [SlackError, SlackRateLimited],
2771
2848
  protocol: SlackProtocol,
2772
2849
  retry: Retry.Retry,
2850
+ telemetry: TELEMETRY,
2851
+ span: "DeleteBarrier",
2773
2852
  }));
2774
2853
 
2775
2854
  export type DeleteConversationError = SlackOpError;
@@ -2785,6 +2864,8 @@ export const deleteConversation: API.OperationMethod<
2785
2864
  errors: [SlackError, SlackRateLimited],
2786
2865
  protocol: SlackProtocol,
2787
2866
  retry: Retry.Retry,
2867
+ telemetry: TELEMETRY,
2868
+ span: "DeleteConversation",
2788
2869
  }));
2789
2870
 
2790
2871
  export type DisconnectSharedError = SlackOpError;
@@ -2800,6 +2881,8 @@ export const disconnectShared: API.OperationMethod<
2800
2881
  errors: [SlackError, SlackRateLimited],
2801
2882
  protocol: SlackProtocol,
2802
2883
  retry: Retry.Retry,
2884
+ telemetry: TELEMETRY,
2885
+ span: "DisconnectShared",
2803
2886
  }));
2804
2887
 
2805
2888
  export type ExportUsersUnsupportedVersionError = SlackOpError;
@@ -2815,6 +2898,8 @@ export const exportUsersUnsupportedVersion: API.OperationMethod<
2815
2898
  errors: [SlackError, SlackRateLimited],
2816
2899
  protocol: SlackProtocol,
2817
2900
  retry: Retry.Retry,
2901
+ telemetry: TELEMETRY,
2902
+ span: "ExportUsersUnsupportedVersion",
2818
2903
  }));
2819
2904
 
2820
2905
  export type FetchUsergroupError = SlackOpError;
@@ -2830,6 +2915,8 @@ export const fetchUsergroup: API.OperationMethod<
2830
2915
  errors: [SlackError, SlackRateLimited],
2831
2916
  protocol: SlackProtocol,
2832
2917
  retry: Retry.Retry,
2918
+ telemetry: TELEMETRY,
2919
+ span: "FetchUsergroup",
2833
2920
  }));
2834
2921
 
2835
2922
  export type GetConversationPrefsError = SlackOpError;
@@ -2845,6 +2932,8 @@ export const getConversationPrefs: API.OperationMethod<
2845
2932
  errors: [SlackError, SlackRateLimited],
2846
2933
  protocol: SlackProtocol,
2847
2934
  retry: Retry.Retry,
2935
+ telemetry: TELEMETRY,
2936
+ span: "GetConversationPrefs",
2848
2937
  }));
2849
2938
 
2850
2939
  export type GetCustomRetentionError = SlackOpError;
@@ -2860,6 +2949,8 @@ export const getCustomRetention: API.OperationMethod<
2860
2949
  errors: [SlackError, SlackRateLimited],
2861
2950
  protocol: SlackProtocol,
2862
2951
  retry: Retry.Retry,
2952
+ telemetry: TELEMETRY,
2953
+ span: "GetCustomRetention",
2863
2954
  }));
2864
2955
 
2865
2956
  export type GetEntitiesError = SlackOpError;
@@ -2877,6 +2968,8 @@ export const getEntities: API.PaginatedOperationMethod<
2877
2968
  errors: [SlackError, SlackRateLimited],
2878
2969
  protocol: SlackProtocol,
2879
2970
  retry: Retry.Retry,
2971
+ telemetry: TELEMETRY,
2972
+ span: "GetEntities",
2880
2973
  pagination: {
2881
2974
  mode: "cursor",
2882
2975
  inputToken: "cursor",
@@ -2901,6 +2994,8 @@ export const getExpiration: API.OperationMethod<
2901
2994
  errors: [SlackError, SlackRateLimited],
2902
2995
  protocol: SlackProtocol,
2903
2996
  retry: Retry.Retry,
2997
+ telemetry: TELEMETRY,
2998
+ span: "GetExpiration",
2904
2999
  }));
2905
3000
 
2906
3001
  export type GetFileError = SlackOpError;
@@ -2916,6 +3011,8 @@ export const getFile: API.OperationMethod<
2916
3011
  errors: [SlackError, SlackRateLimited],
2917
3012
  protocol: SlackProtocol,
2918
3013
  retry: Retry.Retry,
3014
+ telemetry: TELEMETRY,
3015
+ span: "GetFile",
2919
3016
  }));
2920
3017
 
2921
3018
  export type GetItemError = SlackOpError;
@@ -2931,6 +3028,8 @@ export const getItem: API.OperationMethod<
2931
3028
  errors: [SlackError, SlackRateLimited],
2932
3029
  protocol: SlackProtocol,
2933
3030
  retry: Retry.Retry,
3031
+ telemetry: TELEMETRY,
3032
+ span: "GetItem",
2934
3033
  }));
2935
3034
 
2936
3035
  export type GetSettingsError = SlackOpError;
@@ -2946,6 +3045,8 @@ export const getSettings: API.OperationMethod<
2946
3045
  errors: [SlackError, SlackRateLimited],
2947
3046
  protocol: SlackProtocol,
2948
3047
  retry: Retry.Retry,
3048
+ telemetry: TELEMETRY,
3049
+ span: "GetSettings",
2949
3050
  }));
2950
3051
 
2951
3052
  export type GetTeamsError = SlackOpError;
@@ -2961,6 +3062,8 @@ export const getTeams: API.OperationMethod<
2961
3062
  errors: [SlackError, SlackRateLimited],
2962
3063
  protocol: SlackProtocol,
2963
3064
  retry: Retry.Retry,
3065
+ telemetry: TELEMETRY,
3066
+ span: "GetTeams",
2964
3067
  }));
2965
3068
 
2966
3069
  export type InvalidateUsersSessionError = SlackOpError;
@@ -2976,6 +3079,8 @@ export const invalidateUsersSession: API.OperationMethod<
2976
3079
  errors: [SlackError, SlackRateLimited],
2977
3080
  protocol: SlackProtocol,
2978
3081
  retry: Retry.Retry,
3082
+ telemetry: TELEMETRY,
3083
+ span: "InvalidateUsersSession",
2979
3084
  }));
2980
3085
 
2981
3086
  export type InviteConversationError = SlackOpError;
@@ -2991,6 +3096,8 @@ export const inviteConversation: API.OperationMethod<
2991
3096
  errors: [SlackError, SlackRateLimited],
2992
3097
  protocol: SlackProtocol,
2993
3098
  retry: Retry.Retry,
3099
+ telemetry: TELEMETRY,
3100
+ span: "InviteConversation",
2994
3101
  }));
2995
3102
 
2996
3103
  export type InviteRequestsDenyError = SlackOpError;
@@ -3006,6 +3113,8 @@ export const inviteRequestsDeny: API.OperationMethod<
3006
3113
  errors: [SlackError, SlackRateLimited],
3007
3114
  protocol: SlackProtocol,
3008
3115
  retry: Retry.Retry,
3116
+ telemetry: TELEMETRY,
3117
+ span: "InviteRequestsDeny",
3009
3118
  }));
3010
3119
 
3011
3120
  export type InviteUserError = SlackOpError;
@@ -3021,6 +3130,8 @@ export const inviteUser: API.OperationMethod<
3021
3130
  errors: [SlackError, SlackRateLimited],
3022
3131
  protocol: SlackProtocol,
3023
3132
  retry: Retry.Retry,
3133
+ telemetry: TELEMETRY,
3134
+ span: "InviteUser",
3024
3135
  }));
3025
3136
 
3026
3137
  export type LinkObjectsError = SlackOpError;
@@ -3036,6 +3147,8 @@ export const linkObjects: API.OperationMethod<
3036
3147
  errors: [SlackError, SlackRateLimited],
3037
3148
  protocol: SlackProtocol,
3038
3149
  retry: Retry.Retry,
3150
+ telemetry: TELEMETRY,
3151
+ span: "LinkObjects",
3039
3152
  }));
3040
3153
 
3041
3154
  export type ListAppsActivitiesError = SlackOpError;
@@ -3053,6 +3166,8 @@ export const listAppsActivities: API.PaginatedOperationMethod<
3053
3166
  errors: [SlackError, SlackRateLimited],
3054
3167
  protocol: SlackProtocol,
3055
3168
  retry: Retry.Retry,
3169
+ telemetry: TELEMETRY,
3170
+ span: "ListAppsActivities",
3056
3171
  pagination: {
3057
3172
  mode: "cursor",
3058
3173
  inputToken: "cursor",
@@ -3079,6 +3194,8 @@ export const listAppsApproved: API.PaginatedOperationMethod<
3079
3194
  errors: [SlackError, SlackRateLimited],
3080
3195
  protocol: SlackProtocol,
3081
3196
  retry: Retry.Retry,
3197
+ telemetry: TELEMETRY,
3198
+ span: "ListAppsApproved",
3082
3199
  pagination: {
3083
3200
  mode: "cursor",
3084
3201
  inputToken: "cursor",
@@ -3105,6 +3222,8 @@ export const listAppsMcpServers: API.PaginatedOperationMethod<
3105
3222
  errors: [SlackError, SlackRateLimited],
3106
3223
  protocol: SlackProtocol,
3107
3224
  retry: Retry.Retry,
3225
+ telemetry: TELEMETRY,
3226
+ span: "ListAppsMcpServers",
3108
3227
  pagination: {
3109
3228
  mode: "cursor",
3110
3229
  inputToken: "cursor",
@@ -3129,6 +3248,8 @@ export const listAppsMcpServersPermissions: API.OperationMethod<
3129
3248
  errors: [SlackError, SlackRateLimited],
3130
3249
  protocol: SlackProtocol,
3131
3250
  retry: Retry.Retry,
3251
+ telemetry: TELEMETRY,
3252
+ span: "ListAppsMcpServersPermissions",
3132
3253
  }));
3133
3254
 
3134
3255
  export type ListAppsPermissionsError = SlackOpError;
@@ -3144,6 +3265,8 @@ export const listAppsPermissions: API.OperationMethod<
3144
3265
  errors: [SlackError, SlackRateLimited],
3145
3266
  protocol: SlackProtocol,
3146
3267
  retry: Retry.Retry,
3268
+ telemetry: TELEMETRY,
3269
+ span: "ListAppsPermissions",
3147
3270
  }));
3148
3271
 
3149
3272
  export type ListAppsRequestsError = SlackOpError;
@@ -3161,6 +3284,8 @@ export const listAppsRequests: API.PaginatedOperationMethod<
3161
3284
  errors: [SlackError, SlackRateLimited],
3162
3285
  protocol: SlackProtocol,
3163
3286
  retry: Retry.Retry,
3287
+ telemetry: TELEMETRY,
3288
+ span: "ListAppsRequests",
3164
3289
  pagination: {
3165
3290
  mode: "cursor",
3166
3291
  inputToken: "cursor",
@@ -3187,6 +3312,8 @@ export const listAppsRestricted: API.PaginatedOperationMethod<
3187
3312
  errors: [SlackError, SlackRateLimited],
3188
3313
  protocol: SlackProtocol,
3189
3314
  retry: Retry.Retry,
3315
+ telemetry: TELEMETRY,
3316
+ span: "ListAppsRestricted",
3190
3317
  pagination: {
3191
3318
  mode: "cursor",
3192
3319
  inputToken: "cursor",
@@ -3213,6 +3340,8 @@ export const listAssignments: API.PaginatedOperationMethod<
3213
3340
  errors: [SlackError, SlackRateLimited],
3214
3341
  protocol: SlackProtocol,
3215
3342
  retry: Retry.Retry,
3343
+ telemetry: TELEMETRY,
3344
+ span: "ListAssignments",
3216
3345
  pagination: {
3217
3346
  mode: "cursor",
3218
3347
  inputToken: "cursor",
@@ -3239,6 +3368,8 @@ export const listBarriers: API.PaginatedOperationMethod<
3239
3368
  errors: [SlackError, SlackRateLimited],
3240
3369
  protocol: SlackProtocol,
3241
3370
  retry: Retry.Retry,
3371
+ telemetry: TELEMETRY,
3372
+ span: "ListBarriers",
3242
3373
  pagination: {
3243
3374
  mode: "cursor",
3244
3375
  inputToken: "cursor",
@@ -3263,6 +3394,8 @@ export const listChannels: API.OperationMethod<
3263
3394
  errors: [SlackError, SlackRateLimited],
3264
3395
  protocol: SlackProtocol,
3265
3396
  retry: Retry.Retry,
3397
+ telemetry: TELEMETRY,
3398
+ span: "ListChannels",
3266
3399
  }));
3267
3400
 
3268
3401
  export type ListEmojiError = SlackOpError;
@@ -3278,6 +3411,8 @@ export const listEmoji: API.OperationMethod<
3278
3411
  errors: [SlackError, SlackRateLimited],
3279
3412
  protocol: SlackProtocol,
3280
3413
  retry: Retry.Retry,
3414
+ telemetry: TELEMETRY,
3415
+ span: "ListEmoji",
3281
3416
  }));
3282
3417
 
3283
3418
  export type ListFunctionsError = SlackOpError;
@@ -3295,6 +3430,8 @@ export const listFunctions: API.PaginatedOperationMethod<
3295
3430
  errors: [SlackError, SlackRateLimited],
3296
3431
  protocol: SlackProtocol,
3297
3432
  retry: Retry.Retry,
3433
+ telemetry: TELEMETRY,
3434
+ span: "ListFunctions",
3298
3435
  pagination: {
3299
3436
  mode: "cursor",
3300
3437
  inputToken: "cursor",
@@ -3319,6 +3456,8 @@ export const listGroups: API.OperationMethod<
3319
3456
  errors: [SlackError, SlackRateLimited],
3320
3457
  protocol: SlackProtocol,
3321
3458
  retry: Retry.Retry,
3459
+ telemetry: TELEMETRY,
3460
+ span: "ListGroups",
3322
3461
  }));
3323
3462
 
3324
3463
  export type ListInviteRequestsError = SlackOpError;
@@ -3336,6 +3475,8 @@ export const listInviteRequests: API.PaginatedOperationMethod<
3336
3475
  errors: [SlackError, SlackRateLimited],
3337
3476
  protocol: SlackProtocol,
3338
3477
  retry: Retry.Retry,
3478
+ telemetry: TELEMETRY,
3479
+ span: "ListInviteRequests",
3339
3480
  pagination: {
3340
3481
  mode: "cursor",
3341
3482
  inputToken: "cursor",
@@ -3362,6 +3503,8 @@ export const listInviteRequestsApproved: API.PaginatedOperationMethod<
3362
3503
  errors: [SlackError, SlackRateLimited],
3363
3504
  protocol: SlackProtocol,
3364
3505
  retry: Retry.Retry,
3506
+ telemetry: TELEMETRY,
3507
+ span: "ListInviteRequestsApproved",
3365
3508
  pagination: {
3366
3509
  mode: "cursor",
3367
3510
  inputToken: "cursor",
@@ -3388,6 +3531,8 @@ export const listInviteRequestsDenied: API.PaginatedOperationMethod<
3388
3531
  errors: [SlackError, SlackRateLimited],
3389
3532
  protocol: SlackProtocol,
3390
3533
  retry: Retry.Retry,
3534
+ telemetry: TELEMETRY,
3535
+ span: "ListInviteRequestsDenied",
3391
3536
  pagination: {
3392
3537
  mode: "cursor",
3393
3538
  inputToken: "cursor",
@@ -3414,6 +3559,8 @@ export const listOriginalConnectedChannelInfo: API.PaginatedOperationMethod<
3414
3559
  errors: [SlackError, SlackRateLimited],
3415
3560
  protocol: SlackProtocol,
3416
3561
  retry: Retry.Retry,
3562
+ telemetry: TELEMETRY,
3563
+ span: "ListOriginalConnectedChannelInfo",
3417
3564
  pagination: {
3418
3565
  mode: "cursor",
3419
3566
  inputToken: "cursor",
@@ -3440,6 +3587,8 @@ export const listTeams: API.PaginatedOperationMethod<
3440
3587
  errors: [SlackError, SlackRateLimited],
3441
3588
  protocol: SlackProtocol,
3442
3589
  retry: Retry.Retry,
3590
+ telemetry: TELEMETRY,
3591
+ span: "ListTeams",
3443
3592
  pagination: {
3444
3593
  mode: "cursor",
3445
3594
  inputToken: "cursor",
@@ -3466,6 +3615,8 @@ export const listTeamsAdmins: API.PaginatedOperationMethod<
3466
3615
  errors: [SlackError, SlackRateLimited],
3467
3616
  protocol: SlackProtocol,
3468
3617
  retry: Retry.Retry,
3618
+ telemetry: TELEMETRY,
3619
+ span: "ListTeamsAdmins",
3469
3620
  pagination: {
3470
3621
  mode: "cursor",
3471
3622
  inputToken: "cursor",
@@ -3492,6 +3643,8 @@ export const listTeamsOwners: API.PaginatedOperationMethod<
3492
3643
  errors: [SlackError, SlackRateLimited],
3493
3644
  protocol: SlackProtocol,
3494
3645
  retry: Retry.Retry,
3646
+ telemetry: TELEMETRY,
3647
+ span: "ListTeamsOwners",
3495
3648
  pagination: {
3496
3649
  mode: "cursor",
3497
3650
  inputToken: "cursor",
@@ -3518,6 +3671,8 @@ export const listUsers: API.PaginatedOperationMethod<
3518
3671
  errors: [SlackError, SlackRateLimited],
3519
3672
  protocol: SlackProtocol,
3520
3673
  retry: Retry.Retry,
3674
+ telemetry: TELEMETRY,
3675
+ span: "ListUsers",
3521
3676
  pagination: {
3522
3677
  mode: "cursor",
3523
3678
  inputToken: "cursor",
@@ -3544,6 +3699,8 @@ export const listUsersSession: API.PaginatedOperationMethod<
3544
3699
  errors: [SlackError, SlackRateLimited],
3545
3700
  protocol: SlackProtocol,
3546
3701
  retry: Retry.Retry,
3702
+ telemetry: TELEMETRY,
3703
+ span: "ListUsersSession",
3547
3704
  pagination: {
3548
3705
  mode: "cursor",
3549
3706
  inputToken: "cursor",
@@ -3568,6 +3725,8 @@ export const lookupAppsConfig: API.OperationMethod<
3568
3725
  errors: [SlackError, SlackRateLimited],
3569
3726
  protocol: SlackProtocol,
3570
3727
  retry: Retry.Retry,
3728
+ telemetry: TELEMETRY,
3729
+ span: "LookupAppsConfig",
3571
3730
  }));
3572
3731
 
3573
3732
  export type LookupConversationError = SlackOpError;
@@ -3585,6 +3744,8 @@ export const lookupConversation: API.PaginatedOperationMethod<
3585
3744
  errors: [SlackError, SlackRateLimited],
3586
3745
  protocol: SlackProtocol,
3587
3746
  retry: Retry.Retry,
3747
+ telemetry: TELEMETRY,
3748
+ span: "LookupConversation",
3588
3749
  pagination: {
3589
3750
  mode: "cursor",
3590
3751
  inputToken: "cursor",
@@ -3609,6 +3770,8 @@ export const lookupFunctionsPermissions: API.OperationMethod<
3609
3770
  errors: [SlackError, SlackRateLimited],
3610
3771
  protocol: SlackProtocol,
3611
3772
  retry: Retry.Retry,
3773
+ telemetry: TELEMETRY,
3774
+ span: "LookupFunctionsPermissions",
3612
3775
  }));
3613
3776
 
3614
3777
  export type LookupWorkflowsPermissionsError = SlackOpError;
@@ -3624,6 +3787,8 @@ export const lookupWorkflowsPermissions: API.OperationMethod<
3624
3787
  errors: [SlackError, SlackRateLimited],
3625
3788
  protocol: SlackProtocol,
3626
3789
  retry: Retry.Retry,
3790
+ telemetry: TELEMETRY,
3791
+ span: "LookupWorkflowsPermissions",
3627
3792
  }));
3628
3793
 
3629
3794
  export type LookupWorkflowsTriggersTypesPermissionsError = SlackOpError;
@@ -3639,6 +3804,8 @@ export const lookupWorkflowsTriggersTypesPermissions: API.OperationMethod<
3639
3804
  errors: [SlackError, SlackRateLimited],
3640
3805
  protocol: SlackProtocol,
3641
3806
  retry: Retry.Retry,
3807
+ telemetry: TELEMETRY,
3808
+ span: "LookupWorkflowsTriggersTypesPermissions",
3642
3809
  }));
3643
3810
 
3644
3811
  export type RemoveAppsPermissionsError = SlackOpError;
@@ -3654,6 +3821,8 @@ export const removeAppsPermissions: API.OperationMethod<
3654
3821
  errors: [SlackError, SlackRateLimited],
3655
3822
  protocol: SlackProtocol,
3656
3823
  retry: Retry.Retry,
3824
+ telemetry: TELEMETRY,
3825
+ span: "RemoveAppsPermissions",
3657
3826
  }));
3658
3827
 
3659
3828
  export type RemoveAssignmentsError = SlackOpError;
@@ -3669,6 +3838,8 @@ export const removeAssignments: API.OperationMethod<
3669
3838
  errors: [SlackError, SlackRateLimited],
3670
3839
  protocol: SlackProtocol,
3671
3840
  retry: Retry.Retry,
3841
+ telemetry: TELEMETRY,
3842
+ span: "RemoveAssignments",
3672
3843
  }));
3673
3844
 
3674
3845
  export type RemoveChannelsError = SlackOpError;
@@ -3684,6 +3855,8 @@ export const removeChannels: API.OperationMethod<
3684
3855
  errors: [SlackError, SlackRateLimited],
3685
3856
  protocol: SlackProtocol,
3686
3857
  retry: Retry.Retry,
3858
+ telemetry: TELEMETRY,
3859
+ span: "RemoveChannels",
3687
3860
  }));
3688
3861
 
3689
3862
  export type RemoveCustomRetentionError = SlackOpError;
@@ -3699,6 +3872,8 @@ export const removeCustomRetention: API.OperationMethod<
3699
3872
  errors: [SlackError, SlackRateLimited],
3700
3873
  protocol: SlackProtocol,
3701
3874
  retry: Retry.Retry,
3875
+ telemetry: TELEMETRY,
3876
+ span: "RemoveCustomRetention",
3702
3877
  }));
3703
3878
 
3704
3879
  export type RemoveEmojiError = SlackOpError;
@@ -3714,6 +3889,8 @@ export const removeEmoji: API.OperationMethod<
3714
3889
  errors: [SlackError, SlackRateLimited],
3715
3890
  protocol: SlackProtocol,
3716
3891
  retry: Retry.Retry,
3892
+ telemetry: TELEMETRY,
3893
+ span: "RemoveEmoji",
3717
3894
  }));
3718
3895
 
3719
3896
  export type RemoveEntitiesError = SlackOpError;
@@ -3729,6 +3906,8 @@ export const removeEntities: API.OperationMethod<
3729
3906
  errors: [SlackError, SlackRateLimited],
3730
3907
  protocol: SlackProtocol,
3731
3908
  retry: Retry.Retry,
3909
+ telemetry: TELEMETRY,
3910
+ span: "RemoveEntities",
3732
3911
  }));
3733
3912
 
3734
3913
  export type RemoveGroupError = SlackOpError;
@@ -3744,6 +3923,8 @@ export const removeGroup: API.OperationMethod<
3744
3923
  errors: [SlackError, SlackRateLimited],
3745
3924
  protocol: SlackProtocol,
3746
3925
  retry: Retry.Retry,
3926
+ telemetry: TELEMETRY,
3927
+ span: "RemoveGroup",
3747
3928
  }));
3748
3929
 
3749
3930
  export type RemoveTeamsError = SlackOpError;
@@ -3759,6 +3940,8 @@ export const removeTeams: API.OperationMethod<
3759
3940
  errors: [SlackError, SlackRateLimited],
3760
3941
  protocol: SlackProtocol,
3761
3942
  retry: Retry.Retry,
3943
+ telemetry: TELEMETRY,
3944
+ span: "RemoveTeams",
3762
3945
  }));
3763
3946
 
3764
3947
  export type RemoveUserError = SlackOpError;
@@ -3774,6 +3957,8 @@ export const removeUser: API.OperationMethod<
3774
3957
  errors: [SlackError, SlackRateLimited],
3775
3958
  protocol: SlackProtocol,
3776
3959
  retry: Retry.Retry,
3960
+ telemetry: TELEMETRY,
3961
+ span: "RemoveUser",
3777
3962
  }));
3778
3963
 
3779
3964
  export type RemoveUsersError = SlackOpError;
@@ -3789,6 +3974,8 @@ export const removeUsers: API.OperationMethod<
3789
3974
  errors: [SlackError, SlackRateLimited],
3790
3975
  protocol: SlackProtocol,
3791
3976
  retry: Retry.Retry,
3977
+ telemetry: TELEMETRY,
3978
+ span: "RemoveUsers",
3792
3979
  }));
3793
3980
 
3794
3981
  export type RemoveWorkflowsCollaboratorError = SlackOpError;
@@ -3804,6 +3991,8 @@ export const removeWorkflowsCollaborator: API.OperationMethod<
3804
3991
  errors: [SlackError, SlackRateLimited],
3805
3992
  protocol: SlackProtocol,
3806
3993
  retry: Retry.Retry,
3994
+ telemetry: TELEMETRY,
3995
+ span: "RemoveWorkflowsCollaborator",
3807
3996
  }));
3808
3997
 
3809
3998
  export type RenameConversationError = SlackOpError;
@@ -3819,6 +4008,8 @@ export const renameConversation: API.OperationMethod<
3819
4008
  errors: [SlackError, SlackRateLimited],
3820
4009
  protocol: SlackProtocol,
3821
4010
  retry: Retry.Retry,
4011
+ telemetry: TELEMETRY,
4012
+ span: "RenameConversation",
3822
4013
  }));
3823
4014
 
3824
4015
  export type RenameEmojiError = SlackOpError;
@@ -3834,6 +4025,8 @@ export const renameEmoji: API.OperationMethod<
3834
4025
  errors: [SlackError, SlackRateLimited],
3835
4026
  protocol: SlackProtocol,
3836
4027
  retry: Retry.Retry,
4028
+ telemetry: TELEMETRY,
4029
+ span: "RenameEmoji",
3837
4030
  }));
3838
4031
 
3839
4032
  export type ResetBulkError = SlackOpError;
@@ -3849,6 +4042,8 @@ export const resetBulk: API.OperationMethod<
3849
4042
  errors: [SlackError, SlackRateLimited],
3850
4043
  protocol: SlackProtocol,
3851
4044
  retry: Retry.Retry,
4045
+ telemetry: TELEMETRY,
4046
+ span: "ResetBulk",
3852
4047
  }));
3853
4048
 
3854
4049
  export type ResetUsersSessionError = SlackOpError;
@@ -3864,6 +4059,8 @@ export const resetUsersSession: API.OperationMethod<
3864
4059
  errors: [SlackError, SlackRateLimited],
3865
4060
  protocol: SlackProtocol,
3866
4061
  retry: Retry.Retry,
4062
+ telemetry: TELEMETRY,
4063
+ span: "ResetUsersSession",
3867
4064
  }));
3868
4065
 
3869
4066
  export type SearchConversationError = SlackOpError;
@@ -3881,6 +4078,8 @@ export const searchConversation: API.PaginatedOperationMethod<
3881
4078
  errors: [SlackError, SlackRateLimited],
3882
4079
  protocol: SlackProtocol,
3883
4080
  retry: Retry.Retry,
4081
+ telemetry: TELEMETRY,
4082
+ span: "SearchConversation",
3884
4083
  pagination: {
3885
4084
  mode: "cursor",
3886
4085
  inputToken: "cursor",
@@ -3907,6 +4106,8 @@ export const searchWorkflow: API.PaginatedOperationMethod<
3907
4106
  errors: [SlackError, SlackRateLimited],
3908
4107
  protocol: SlackProtocol,
3909
4108
  retry: Retry.Retry,
4109
+ telemetry: TELEMETRY,
4110
+ span: "SearchWorkflow",
3910
4111
  pagination: {
3911
4112
  mode: "cursor",
3912
4113
  inputToken: "cursor",
@@ -3931,6 +4132,8 @@ export const setAdmin: API.OperationMethod<
3931
4132
  errors: [SlackError, SlackRateLimited],
3932
4133
  protocol: SlackProtocol,
3933
4134
  retry: Retry.Retry,
4135
+ telemetry: TELEMETRY,
4136
+ span: "SetAdmin",
3934
4137
  }));
3935
4138
 
3936
4139
  export type SetAppsConfigError = SlackOpError;
@@ -3946,6 +4149,8 @@ export const setAppsConfig: API.OperationMethod<
3946
4149
  errors: [SlackError, SlackRateLimited],
3947
4150
  protocol: SlackProtocol,
3948
4151
  retry: Retry.Retry,
4152
+ telemetry: TELEMETRY,
4153
+ span: "SetAppsConfig",
3949
4154
  }));
3950
4155
 
3951
4156
  export type SetAppsMcpServersPermissionsError = SlackOpError;
@@ -3961,6 +4166,8 @@ export const setAppsMcpServersPermissions: API.OperationMethod<
3961
4166
  errors: [SlackError, SlackRateLimited],
3962
4167
  protocol: SlackProtocol,
3963
4168
  retry: Retry.Retry,
4169
+ telemetry: TELEMETRY,
4170
+ span: "SetAppsMcpServersPermissions",
3964
4171
  }));
3965
4172
 
3966
4173
  export type SetAppsPermissionsError = SlackOpError;
@@ -3976,6 +4183,8 @@ export const setAppsPermissions: API.OperationMethod<
3976
4183
  errors: [SlackError, SlackRateLimited],
3977
4184
  protocol: SlackProtocol,
3978
4185
  retry: Retry.Retry,
4186
+ telemetry: TELEMETRY,
4187
+ span: "SetAppsPermissions",
3979
4188
  }));
3980
4189
 
3981
4190
  export type SetConversationPrefsError = SlackOpError;
@@ -3991,6 +4200,8 @@ export const setConversationPrefs: API.OperationMethod<
3991
4200
  errors: [SlackError, SlackRateLimited],
3992
4201
  protocol: SlackProtocol,
3993
4202
  retry: Retry.Retry,
4203
+ telemetry: TELEMETRY,
4204
+ span: "SetConversationPrefs",
3994
4205
  }));
3995
4206
 
3996
4207
  export type SetCustomRetentionError = SlackOpError;
@@ -4006,6 +4217,8 @@ export const setCustomRetention: API.OperationMethod<
4006
4217
  errors: [SlackError, SlackRateLimited],
4007
4218
  protocol: SlackProtocol,
4008
4219
  retry: Retry.Retry,
4220
+ telemetry: TELEMETRY,
4221
+ span: "SetCustomRetention",
4009
4222
  }));
4010
4223
 
4011
4224
  export type SetDefaultChannelsError = SlackOpError;
@@ -4021,6 +4234,8 @@ export const setDefaultChannels: API.OperationMethod<
4021
4234
  errors: [SlackError, SlackRateLimited],
4022
4235
  protocol: SlackProtocol,
4023
4236
  retry: Retry.Retry,
4237
+ telemetry: TELEMETRY,
4238
+ span: "SetDefaultChannels",
4024
4239
  }));
4025
4240
 
4026
4241
  export type SetDescriptionError = SlackOpError;
@@ -4036,6 +4251,8 @@ export const setDescription: API.OperationMethod<
4036
4251
  errors: [SlackError, SlackRateLimited],
4037
4252
  protocol: SlackProtocol,
4038
4253
  retry: Retry.Retry,
4254
+ telemetry: TELEMETRY,
4255
+ span: "SetDescription",
4039
4256
  }));
4040
4257
 
4041
4258
  export type SetDiscoverabilityError = SlackOpError;
@@ -4051,6 +4268,8 @@ export const setDiscoverability: API.OperationMethod<
4051
4268
  errors: [SlackError, SlackRateLimited],
4052
4269
  protocol: SlackProtocol,
4053
4270
  retry: Retry.Retry,
4271
+ telemetry: TELEMETRY,
4272
+ span: "SetDiscoverability",
4054
4273
  }));
4055
4274
 
4056
4275
  export type SetExpirationError = SlackOpError;
@@ -4066,6 +4285,8 @@ export const setExpiration: API.OperationMethod<
4066
4285
  errors: [SlackError, SlackRateLimited],
4067
4286
  protocol: SlackProtocol,
4068
4287
  retry: Retry.Retry,
4288
+ telemetry: TELEMETRY,
4289
+ span: "SetExpiration",
4069
4290
  }));
4070
4291
 
4071
4292
  export type SetFunctionsPermissionsError = SlackOpError;
@@ -4081,6 +4302,8 @@ export const setFunctionsPermissions: API.OperationMethod<
4081
4302
  errors: [SlackError, SlackRateLimited],
4082
4303
  protocol: SlackProtocol,
4083
4304
  retry: Retry.Retry,
4305
+ telemetry: TELEMETRY,
4306
+ span: "SetFunctionsPermissions",
4084
4307
  }));
4085
4308
 
4086
4309
  export type SetIconError = SlackOpError;
@@ -4096,6 +4319,8 @@ export const setIcon: API.OperationMethod<
4096
4319
  errors: [SlackError, SlackRateLimited],
4097
4320
  protocol: SlackProtocol,
4098
4321
  retry: Retry.Retry,
4322
+ telemetry: TELEMETRY,
4323
+ span: "SetIcon",
4099
4324
  }));
4100
4325
 
4101
4326
  export type SetNameError = SlackOpError;
@@ -4111,6 +4336,8 @@ export const setName: API.OperationMethod<
4111
4336
  errors: [SlackError, SlackRateLimited],
4112
4337
  protocol: SlackProtocol,
4113
4338
  retry: Retry.Retry,
4339
+ telemetry: TELEMETRY,
4340
+ span: "SetName",
4114
4341
  }));
4115
4342
 
4116
4343
  export type SetOwnerError = SlackOpError;
@@ -4126,6 +4353,8 @@ export const setOwner: API.OperationMethod<
4126
4353
  errors: [SlackError, SlackRateLimited],
4127
4354
  protocol: SlackProtocol,
4128
4355
  retry: Retry.Retry,
4356
+ telemetry: TELEMETRY,
4357
+ span: "SetOwner",
4129
4358
  }));
4130
4359
 
4131
4360
  export type SetRegularError = SlackOpError;
@@ -4141,6 +4370,8 @@ export const setRegular: API.OperationMethod<
4141
4370
  errors: [SlackError, SlackRateLimited],
4142
4371
  protocol: SlackProtocol,
4143
4372
  retry: Retry.Retry,
4373
+ telemetry: TELEMETRY,
4374
+ span: "SetRegular",
4144
4375
  }));
4145
4376
 
4146
4377
  export type SetSettingsError = SlackOpError;
@@ -4156,6 +4387,8 @@ export const setSettings: API.OperationMethod<
4156
4387
  errors: [SlackError, SlackRateLimited],
4157
4388
  protocol: SlackProtocol,
4158
4389
  retry: Retry.Retry,
4390
+ telemetry: TELEMETRY,
4391
+ span: "SetSettings",
4159
4392
  }));
4160
4393
 
4161
4394
  export type SetTeamsError = SlackOpError;
@@ -4171,6 +4404,8 @@ export const setTeams: API.OperationMethod<
4171
4404
  errors: [SlackError, SlackRateLimited],
4172
4405
  protocol: SlackProtocol,
4173
4406
  retry: Retry.Retry,
4407
+ telemetry: TELEMETRY,
4408
+ span: "SetTeams",
4174
4409
  }));
4175
4410
 
4176
4411
  export type SetWorkflowsTriggersTypesPermissionsError = SlackOpError;
@@ -4186,6 +4421,8 @@ export const setWorkflowsTriggersTypesPermissions: API.OperationMethod<
4186
4421
  errors: [SlackError, SlackRateLimited],
4187
4422
  protocol: SlackProtocol,
4188
4423
  retry: Retry.Retry,
4424
+ telemetry: TELEMETRY,
4425
+ span: "SetWorkflowsTriggersTypesPermissions",
4189
4426
  }));
4190
4427
 
4191
4428
  export type TeamsSettingsInfoError = SlackOpError;
@@ -4201,6 +4438,8 @@ export const teamsSettingsInfo: API.OperationMethod<
4201
4438
  errors: [SlackError, SlackRateLimited],
4202
4439
  protocol: SlackProtocol,
4203
4440
  retry: Retry.Retry,
4441
+ telemetry: TELEMETRY,
4442
+ span: "TeamsSettingsInfo",
4204
4443
  }));
4205
4444
 
4206
4445
  export type UnarchiveConversationError = SlackOpError;
@@ -4216,6 +4455,8 @@ export const unarchiveConversation: API.OperationMethod<
4216
4455
  errors: [SlackError, SlackRateLimited],
4217
4456
  protocol: SlackProtocol,
4218
4457
  retry: Retry.Retry,
4458
+ telemetry: TELEMETRY,
4459
+ span: "UnarchiveConversation",
4219
4460
  }));
4220
4461
 
4221
4462
  export type UninstallAppError = SlackOpError;
@@ -4231,6 +4472,8 @@ export const uninstallApp: API.OperationMethod<
4231
4472
  errors: [SlackError, SlackRateLimited],
4232
4473
  protocol: SlackProtocol,
4233
4474
  retry: Retry.Retry,
4475
+ telemetry: TELEMETRY,
4476
+ span: "UninstallApp",
4234
4477
  }));
4235
4478
 
4236
4479
  export type UnlinkObjectsError = SlackOpError;
@@ -4246,6 +4489,8 @@ export const unlinkObjects: API.OperationMethod<
4246
4489
  errors: [SlackError, SlackRateLimited],
4247
4490
  protocol: SlackProtocol,
4248
4491
  retry: Retry.Retry,
4492
+ telemetry: TELEMETRY,
4493
+ span: "UnlinkObjects",
4249
4494
  }));
4250
4495
 
4251
4496
  export type UnpublishWorkflowError = SlackOpError;
@@ -4261,6 +4506,8 @@ export const unpublishWorkflow: API.OperationMethod<
4261
4506
  errors: [SlackError, SlackRateLimited],
4262
4507
  protocol: SlackProtocol,
4263
4508
  retry: Retry.Retry,
4509
+ telemetry: TELEMETRY,
4510
+ span: "UnpublishWorkflow",
4264
4511
  }));
4265
4512
 
4266
4513
  export type UpdateBarrierError = SlackOpError;
@@ -4276,6 +4523,8 @@ export const updateBarrier: API.OperationMethod<
4276
4523
  errors: [SlackError, SlackRateLimited],
4277
4524
  protocol: SlackProtocol,
4278
4525
  retry: Retry.Retry,
4526
+ telemetry: TELEMETRY,
4527
+ span: "UpdateBarrier",
4279
4528
  }));
4280
4529
 
4281
4530
  export type UpdateItemError = SlackOpError;
@@ -4291,6 +4540,8 @@ export const updateItem: API.OperationMethod<
4291
4540
  errors: [SlackError, SlackRateLimited],
4292
4541
  protocol: SlackProtocol,
4293
4542
  retry: Retry.Retry,
4543
+ telemetry: TELEMETRY,
4544
+ span: "UpdateItem",
4294
4545
  }));
4295
4546
 
4296
4547
  export type UpdateUsergroupError = SlackOpError;
@@ -4306,6 +4557,8 @@ export const updateUsergroup: API.OperationMethod<
4306
4557
  errors: [SlackError, SlackRateLimited],
4307
4558
  protocol: SlackProtocol,
4308
4559
  retry: Retry.Retry,
4560
+ telemetry: TELEMETRY,
4561
+ span: "UpdateUsergroup",
4309
4562
  }));
4310
4563
 
4311
4564
  export type UploadUsersError = SlackOpError;
@@ -4321,6 +4574,8 @@ export const uploadUsers: API.OperationMethod<
4321
4574
  errors: [SlackError, SlackRateLimited],
4322
4575
  protocol: SlackProtocol,
4323
4576
  retry: Retry.Retry,
4577
+ telemetry: TELEMETRY,
4578
+ span: "UploadUsers",
4324
4579
  }));
4325
4580
 
4326
4581
  // Schema builders: each runs one schema initializer, on that schema's first use.