@opengeni/contracts 2.2.0-canary.0 → 2.3.0-canary.0

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/dist/atlassian.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  AtlassianSyncCadence,
18
18
  SaveAtlassianSourcesRequest,
19
19
  atlassianScopesAllowRead
20
- } from "./chunk-7ZZ3R27P.js";
20
+ } from "./chunk-XW2RKNEU.js";
21
21
  import "./chunk-MRWYRAS5.js";
22
22
  import "./chunk-JUFK3T4Q.js";
23
23
  import "./chunk-WYBDERIY.js";
@@ -9233,6 +9233,34 @@ var SlackReactionChannelListResponse = z27.object({
9233
9233
  channels: z27.array(SlackReactionChannel).max(200),
9234
9234
  nextCursor: z27.string().max(1024).nullable()
9235
9235
  });
9236
+ var SlackChannelRoute = z27.object({
9237
+ slackChannelId: z27.string().min(1).max(64),
9238
+ targetWorkspaceId: z27.string().uuid(),
9239
+ // Unbounded like `Workspace.name` itself: a cap here would reject a row the
9240
+ // database happily holds.
9241
+ targetWorkspaceName: z27.string().min(1).nullable(),
9242
+ source: z27.enum(["picker", "admin"]),
9243
+ updatedAt: z27.string()
9244
+ });
9245
+ var SlackChannelRouteListResponse = z27.object({
9246
+ /** Every stored route. Bounded in practice by the channels the bot is in. */
9247
+ routes: z27.array(SlackChannelRoute),
9248
+ /**
9249
+ * Whether routing is switched on for this deployment. With it off the stored
9250
+ * routes are inert, so the surface says so instead of implying they apply.
9251
+ */
9252
+ routingEnabled: z27.boolean()
9253
+ });
9254
+ var UpdateSlackChannelRoutesRequest = z27.object({
9255
+ connectionId: z27.string().uuid(),
9256
+ routes: z27.array(
9257
+ z27.object({
9258
+ slackChannelId: z27.string().min(1).max(64),
9259
+ /** Null clears the route, so the channel asks once again. */
9260
+ targetWorkspaceId: z27.string().uuid().nullable()
9261
+ })
9262
+ ).max(200)
9263
+ });
9236
9264
  var DEFAULT_WORKSPACE_SLACK_REACTION_SUMMON_SETTINGS = {
9237
9265
  enabled: false,
9238
9266
  emoji: "genie",
@@ -10870,6 +10898,53 @@ var DocumentDefaultCollectionBackfill = z27.object({
10870
10898
  adoptedCount: z27.number().int().nonnegative(),
10871
10899
  completedAt: z27.string().datetime({ offset: true }).nullable()
10872
10900
  });
10901
+ var DocumentDefaultCollectionBackfillRunAudit = DocumentDefaultCollectionBackfill.omit({
10902
+ operationId: true
10903
+ }).extend({
10904
+ actorSubjectId: z27.string().min(1),
10905
+ startedAt: z27.string().datetime({ offset: true }),
10906
+ updatedAt: z27.string().datetime({ offset: true })
10907
+ });
10908
+ var DocumentDefaultCollectionBackfillOperationAudit = z27.object({
10909
+ operationId: z27.string().uuid(),
10910
+ result: DocumentDefaultCollectionBackfill,
10911
+ createdAt: z27.string().datetime({ offset: true })
10912
+ });
10913
+ var DocumentDefaultCollectionBackfillReceiptAudit = z27.object({
10914
+ workspaceId: z27.string().uuid(),
10915
+ baseId: z27.string().uuid(),
10916
+ outcome: z27.enum(["created", "adopted"]),
10917
+ createdAt: z27.string().datetime({ offset: true })
10918
+ });
10919
+ var ListDocumentMigrationAuditQuery = ListDocumentAuthorityReclassificationsQuery;
10920
+ var ListDocumentDefaultCollectionBackfillRunsResponse = z27.object({
10921
+ runs: z27.array(DocumentDefaultCollectionBackfillRunAudit),
10922
+ hasMore: z27.boolean(),
10923
+ nextCursor: z27.string().max(DOCUMENT_AUTHORITY_RECLASSIFICATION_CURSOR_MAX_CHARS).nullable()
10924
+ });
10925
+ var GetDocumentDefaultCollectionBackfillAuditQuery = z27.object({
10926
+ limit: z27.coerce.number().int().positive().max(DOCUMENT_AUTHORITY_RECLASSIFICATION_LIST_MAX_LIMIT).default(DOCUMENT_AUTHORITY_RECLASSIFICATION_LIST_DEFAULT_LIMIT),
10927
+ operationCursor: z27.string().min(1).max(DOCUMENT_AUTHORITY_RECLASSIFICATION_CURSOR_MAX_CHARS).optional(),
10928
+ receiptCursor: z27.string().min(1).max(DOCUMENT_AUTHORITY_RECLASSIFICATION_CURSOR_MAX_CHARS).optional()
10929
+ });
10930
+ var DocumentDefaultCollectionBackfillAudit = z27.object({
10931
+ run: DocumentDefaultCollectionBackfillRunAudit,
10932
+ operations: z27.array(DocumentDefaultCollectionBackfillOperationAudit),
10933
+ receipts: z27.array(DocumentDefaultCollectionBackfillReceiptAudit),
10934
+ operationsHasMore: z27.boolean(),
10935
+ operationsNextCursor: z27.string().max(DOCUMENT_AUTHORITY_RECLASSIFICATION_CURSOR_MAX_CHARS).nullable(),
10936
+ receiptsHasMore: z27.boolean(),
10937
+ receiptsNextCursor: z27.string().max(DOCUMENT_AUTHORITY_RECLASSIFICATION_CURSOR_MAX_CHARS).nullable()
10938
+ });
10939
+ var OrganizationDocumentAuthorityReclassification = DocumentAuthorityReclassification.extend({
10940
+ actorSubjectId: z27.string().min(1),
10941
+ requestWorkspaceId: z27.string().uuid()
10942
+ });
10943
+ var ListOrganizationDocumentAuthorityReclassificationsResponse = z27.object({
10944
+ receipts: z27.array(OrganizationDocumentAuthorityReclassification),
10945
+ hasMore: z27.boolean(),
10946
+ nextCursor: z27.string().max(DOCUMENT_AUTHORITY_RECLASSIFICATION_CURSOR_MAX_CHARS).nullable()
10947
+ });
10873
10948
  var DocumentSearchRequest = z27.object({
10874
10949
  query: z27.string().min(1),
10875
10950
  baseIds: z27.array(z27.string().uuid()).optional(),
@@ -19483,6 +19558,9 @@ export {
19483
19558
  WorkspaceSlackReactionSummonSettings,
19484
19559
  SlackReactionChannel,
19485
19560
  SlackReactionChannelListResponse,
19561
+ SlackChannelRoute,
19562
+ SlackChannelRouteListResponse,
19563
+ UpdateSlackChannelRoutesRequest,
19486
19564
  DEFAULT_WORKSPACE_SLACK_REACTION_SUMMON_SETTINGS,
19487
19565
  WorkspaceSlackOrchestrationNoticeSettings,
19488
19566
  DEFAULT_WORKSPACE_SLACK_ORCHESTRATION_NOTICE_SETTINGS,
@@ -19645,6 +19723,15 @@ export {
19645
19723
  ListDocumentAuthorityReclassificationsResponse,
19646
19724
  RunDocumentDefaultCollectionBackfillRequest,
19647
19725
  DocumentDefaultCollectionBackfill,
19726
+ DocumentDefaultCollectionBackfillRunAudit,
19727
+ DocumentDefaultCollectionBackfillOperationAudit,
19728
+ DocumentDefaultCollectionBackfillReceiptAudit,
19729
+ ListDocumentMigrationAuditQuery,
19730
+ ListDocumentDefaultCollectionBackfillRunsResponse,
19731
+ GetDocumentDefaultCollectionBackfillAuditQuery,
19732
+ DocumentDefaultCollectionBackfillAudit,
19733
+ OrganizationDocumentAuthorityReclassification,
19734
+ ListOrganizationDocumentAuthorityReclassificationsResponse,
19648
19735
  DocumentSearchRequest,
19649
19736
  KnowledgeMemoryStatus,
19650
19737
  KnowledgeMemoryKind,
@@ -20308,4 +20395,4 @@ export {
20308
20395
  ClientConfig,
20309
20396
  evaluateWorkspaceModelPolicy
20310
20397
  };
20311
- //# sourceMappingURL=chunk-7ZZ3R27P.js.map
20398
+ //# sourceMappingURL=chunk-XW2RKNEU.js.map