@burdenoff/microfe-integrations 2026.1013.2 → 2026.1030.1

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 (41) hide show
  1. package/dist/generated/wspace-operations.d.ts +18 -0
  2. package/dist/generated/wspace-operations.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.js +6 -0
  4. package/dist/generated/wspace-operations.js.map +1 -1
  5. package/dist/generated/wspace-types.d.ts +122 -0
  6. package/dist/generated/wspace-types.d.ts.map +1 -1
  7. package/dist/generated/wspace-types.js +8 -0
  8. package/dist/generated/wspace-types.js.map +1 -0
  9. package/dist/integrations/components/AddConnectionDialog.d.ts.map +1 -1
  10. package/dist/integrations/components/AddConnectionDialog.js +11 -9
  11. package/dist/integrations/components/AddConnectionDialog.js.map +1 -1
  12. package/dist/integrations/components/ConnectionCard.d.ts.map +1 -1
  13. package/dist/integrations/components/ConnectionCard.js +71 -48
  14. package/dist/integrations/components/ConnectionCard.js.map +1 -1
  15. package/dist/integrations/components/ConnectionSharing.d.ts +18 -0
  16. package/dist/integrations/components/ConnectionSharing.d.ts.map +1 -0
  17. package/dist/integrations/components/ConnectionSharing.js +33 -0
  18. package/dist/integrations/components/ConnectionSharing.js.map +1 -0
  19. package/dist/integrations/constants/permissions.d.ts +1 -0
  20. package/dist/integrations/constants/permissions.d.ts.map +1 -1
  21. package/dist/integrations/constants/permissions.js +1 -0
  22. package/dist/integrations/constants/permissions.js.map +1 -1
  23. package/dist/integrations/hooks/useConnections.d.ts +3 -0
  24. package/dist/integrations/hooks/useConnections.d.ts.map +1 -1
  25. package/dist/integrations/hooks/useConnections.js.map +1 -1
  26. package/dist/integrations/pages/ConnectionDetail.d.ts.map +1 -1
  27. package/dist/integrations/pages/ConnectionDetail.js +283 -261
  28. package/dist/integrations/pages/ConnectionDetail.js.map +1 -1
  29. package/dist/integrations/pages/ConnectionsList.d.ts.map +1 -1
  30. package/dist/integrations/pages/ConnectionsList.js +196 -158
  31. package/dist/integrations/pages/ConnectionsList.js.map +1 -1
  32. package/dist/integrations/providers/IntegrationsProvider.d.ts.map +1 -1
  33. package/dist/integrations/providers/IntegrationsProvider.js +20 -18
  34. package/dist/integrations/providers/IntegrationsProvider.js.map +1 -1
  35. package/dist/integrations/types/index.d.ts +26 -0
  36. package/dist/integrations/types/index.d.ts.map +1 -1
  37. package/dist/integrations/utils/mappers.d.ts +3 -1
  38. package/dist/integrations/utils/mappers.d.ts.map +1 -1
  39. package/dist/integrations/utils/mappers.js +16 -3
  40. package/dist/integrations/utils/mappers.js.map +1 -1
  41. package/package.json +2 -2
@@ -9992,12 +9992,32 @@ export type ConnectHealthyBowlAccountingIntegrationInput = {
9992
9992
  /** TALLY | ZOHO_BOOKS | QUICKBOOKS */
9993
9993
  provider: Scalars['String']['input'];
9994
9994
  };
9995
+ /** How the caller reaches a connection. */
9996
+ export declare enum ConnectionAccess {
9997
+ /** A workspace administrator who can see and manage the connection but not use it */
9998
+ Administrator = "ADMINISTRATOR",
9999
+ /** Shared with the caller (directly, or through a group or project) as an editor */
10000
+ Editor = "EDITOR",
10001
+ Owner = "OWNER",
10002
+ /** Shared with the caller (directly, or through a group or project) for use */
10003
+ Use = "USE",
10004
+ /** Not shared with the caller, but visible to everyone in the workspace */
10005
+ Workspace = "WORKSPACE"
10006
+ }
10007
+ /** Narrows getConnections to how the caller reaches a connection. */
10008
+ export declare enum ConnectionAccessFilter {
10009
+ /** Connections the caller owns */
10010
+ OwnedByMe = "OWNED_BY_ME",
10011
+ /** Connections someone else owns and shared with the caller, directly or through a group or project */
10012
+ SharedWithMe = "SHARED_WITH_ME"
10013
+ }
9995
10014
  export declare enum ConnectionCredentialSource {
9996
10015
  LegacyLocal = "LEGACY_LOCAL",
9997
10016
  VaultManaged = "VAULT_MANAGED",
9998
10017
  VaultReferenced = "VAULT_REFERENCED"
9999
10018
  }
10000
10019
  export type ConnectionFilterInput = {
10020
+ access?: InputMaybe<ConnectionAccessFilter>;
10001
10021
  context?: InputMaybe<ContextFilterInput>;
10002
10022
  providerCategory?: InputMaybe<ProviderCategory>;
10003
10023
  providerId?: InputMaybe<Scalars['ID']['input']>;
@@ -10016,6 +10036,36 @@ export declare enum ConnectionQuality {
10016
10036
  Good = "GOOD",
10017
10037
  Poor = "POOR"
10018
10038
  }
10039
+ /** One grant of a connection to a person, a group or a project. */
10040
+ export type ConnectionShare = {
10041
+ __typename?: 'ConnectionShare';
10042
+ createdAt: Scalars['DateTime']['output'];
10043
+ createdBy: Scalars['String']['output'];
10044
+ /** User, group or project id */
10045
+ principalId: Scalars['String']['output'];
10046
+ principalType: ConnectionSharePrincipalType;
10047
+ role: ConnectionShareRole;
10048
+ };
10049
+ /** One grant in shareConnection. */
10050
+ export type ConnectionShareInput = {
10051
+ /** User, group or project id in the caller's workspace */
10052
+ principalId: Scalars['String']['input'];
10053
+ principalType: ConnectionSharePrincipalType;
10054
+ role?: InputMaybe<ConnectionShareRole>;
10055
+ };
10056
+ /** What a connection share is granted to. */
10057
+ export declare enum ConnectionSharePrincipalType {
10058
+ Group = "GROUP",
10059
+ Project = "PROJECT",
10060
+ User = "USER"
10061
+ }
10062
+ /** What a connection share allows. */
10063
+ export declare enum ConnectionShareRole {
10064
+ /** Also change it, re-authenticate it and change who it is shared with */
10065
+ Editor = "EDITOR",
10066
+ /** See the connection and run workflows the grantee owns with it */
10067
+ Use = "USE"
10068
+ }
10019
10069
  export declare enum ConnectionStatus {
10020
10070
  Active = "ACTIVE",
10021
10071
  Error = "ERROR",
@@ -10066,6 +10116,16 @@ export type ConnectionTokenResult = {
10066
10116
  /** Whether the token was refreshed during this request */
10067
10117
  wasRefreshed: Scalars['Boolean']['output'];
10068
10118
  };
10119
+ /** Who can reach a connection beyond its owner (BOFF-9726). */
10120
+ export declare enum ConnectionVisibility {
10121
+ /**
10122
+ * Only the owner, the people, groups and projects it is shared with, and workspace administrators,
10123
+ * who can see and manage it but not use it
10124
+ */
10125
+ Restricted = "RESTRICTED",
10126
+ /** Everyone in the workspace whose role allows it: how every connection behaved before sharing */
10127
+ Workspace = "WORKSPACE"
10128
+ }
10069
10129
  /** A single validation problem found in a Console Definition, located by a JSON-path-style pointer (e.g. "$.pages[0].widgets[2].type"). */
10070
10130
  export type ConsoleValidationError = {
10071
10131
  __typename?: 'ConsoleValidationError';
@@ -12360,6 +12420,11 @@ export type CreateConnectionInput = {
12360
12420
  name: Scalars['String']['input'];
12361
12421
  providerId: Scalars['ID']['input'];
12362
12422
  vaultId?: InputMaybe<Scalars['ID']['input']>;
12423
+ /**
12424
+ * Who can reach the new connection. Defaults to WORKSPACE; RESTRICTED keeps it to its owner until
12425
+ * it is shared.
12426
+ */
12427
+ visibility?: InputMaybe<ConnectionVisibility>;
12363
12428
  };
12364
12429
  export type CreateConsultationInput = {
12365
12430
  consultantId: Scalars['String']['input'];
@@ -34622,6 +34687,11 @@ export type IntegrationConnection = {
34622
34687
  authMethod?: Maybe<IntegrationProviderAuthMethod>;
34623
34688
  /** Which of the provider's auth methods this connection uses. Null means the provider's default method (every connection created before multi-auth). */
34624
34689
  authMethodKey?: Maybe<Scalars['String']['output']>;
34690
+ /**
34691
+ * Whether the caller could run this connection in a workflow they own. False for a private
34692
+ * connection an administrator only sees by administering it. Null for services and apps.
34693
+ */
34694
+ canUse?: Maybe<Scalars['Boolean']['output']>;
34625
34695
  /** Opaque cross-service reference to the bot channel in global-channel-svc that this personal connection is linked to. Null until the user links after completing OAuth. */
34626
34696
  channelId?: Maybe<Scalars['String']['output']>;
34627
34697
  config?: Maybe<Scalars['JSON']['output']>;
@@ -34641,16 +34711,24 @@ export type IntegrationConnection = {
34641
34711
  lastHealthCheck?: Maybe<Scalars['DateTime']['output']>;
34642
34712
  lastUsedAt?: Maybe<Scalars['DateTime']['output']>;
34643
34713
  metadata?: Maybe<Scalars['JSON']['output']>;
34714
+ myAccess?: Maybe<ConnectionAccess>;
34644
34715
  name: Scalars['String']['output'];
34645
34716
  /** Opaque reference to the organization that owns the linked channel. */
34646
34717
  organizationId?: Maybe<Scalars['String']['output']>;
34718
+ /**
34719
+ * The person the connection belongs to. Starts as createdBy; a workspace administrator can hand it
34720
+ * to someone else.
34721
+ */
34722
+ ownerId: Scalars['String']['output'];
34647
34723
  provider: IntegrationProvider;
34648
34724
  providerId: Scalars['ID']['output'];
34725
+ shares: Array<ConnectionShare>;
34649
34726
  status: ConnectionStatus;
34650
34727
  /** Structured tag assignments via wspace-tags-svc */
34651
34728
  tagAssignments: Array<IntegrationConnectionTagAssignment>;
34652
34729
  updatedAt: Scalars['DateTime']['output'];
34653
34730
  vaultId?: Maybe<Scalars['String']['output']>;
34731
+ visibility: ConnectionVisibility;
34654
34732
  /** Workspace ID that owns this connection. Set at connection-creation time from context.workspace.id. Used by global-channel-svc to forward the correct x-workspace-id header when routing DMs through wspace-int-gateway. */
34655
34733
  workspaceId?: Maybe<Scalars['String']['output']>;
34656
34734
  };
@@ -42668,6 +42746,12 @@ export type Mutation = {
42668
42746
  /** Share collection with users */
42669
42747
  shareCollection: CollectionShare;
42670
42748
  shareComponent: ShareGrant;
42749
+ /**
42750
+ * Set who can reach a connection: its visibility and the complete set of people, groups and
42751
+ * projects it is shared with, and optionally its owner. Allowed for the owner, editors it is
42752
+ * shared with, and workspace administrators; only administrators can change the owner.
42753
+ */
42754
+ shareConnection: IntegrationConnection;
42671
42755
  /** Share a dashboard with a user or group */
42672
42756
  shareDashboard: DashboardShare;
42673
42757
  shareDocs: ShareGrant;
@@ -42980,6 +43064,11 @@ export type Mutation = {
42980
43064
  trackShareDownload: Scalars['Boolean']['output'];
42981
43065
  /** Track usage consumption Called by gateway after successful operations */
42982
43066
  trackUsage: Scalars['Boolean']['output'];
43067
+ /**
43068
+ * Hand a connection to another person, for example when its owner leaves. Workspace
43069
+ * administrators only.
43070
+ */
43071
+ transferConnectionOwnership: IntegrationConnection;
42983
43072
  transferGroupOwnership: Group;
42984
43073
  /** Transfer control to another collaborator */
42985
43074
  transferSessionControl: Scalars['Boolean']['output'];
@@ -54211,6 +54300,10 @@ export type MutationShareComponentArgs = {
54211
54300
  input: ShareEntityInput;
54212
54301
  };
54213
54302
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
54303
+ export type MutationShareConnectionArgs = {
54304
+ input: ShareConnectionInput;
54305
+ };
54306
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
54214
54307
  export type MutationShareDashboardArgs = {
54215
54308
  input: ShareDashboardInput;
54216
54309
  };
@@ -55160,6 +55253,11 @@ export type MutationTrackUsageArgs = {
55160
55253
  input: TrackUsageInput;
55161
55254
  };
55162
55255
  /** Base Mutation type with placeholder field. Extended by individual mutation files. */
55256
+ export type MutationTransferConnectionOwnershipArgs = {
55257
+ connectionId: Scalars['ID']['input'];
55258
+ ownerId: Scalars['ID']['input'];
55259
+ };
55260
+ /** Base Mutation type with placeholder field. Extended by individual mutation files. */
55163
55261
  export type MutationTransferGroupOwnershipArgs = {
55164
55262
  groupId: Scalars['ID']['input'];
55165
55263
  newOwnerId: Scalars['ID']['input'];
@@ -63234,6 +63332,13 @@ export type Query = {
63234
63332
  configurations: ConfigurationList;
63235
63333
  /** Get all configurations for a scope instance */
63236
63334
  configurationsByScope: ConfigurationList;
63335
+ /**
63336
+ * Of connectionIds (at most 200), the live connections in the caller's workspace that principalId
63337
+ * cannot use: RESTRICTED and not shared with them. Unknown and deleted ids are not listed; they fail
63338
+ * when a run asks for them. Service-only; wspace-workflow-svc checks a workflow's connections against
63339
+ * its owner before saving it (BOFF-9726).
63340
+ */
63341
+ connectionsNotUsableBy: Array<Scalars['ID']['output']>;
63237
63342
  conversation?: Maybe<Conversation>;
63238
63343
  conversationCapabilities: ConversationFeatures;
63239
63344
  conversations: ConversationConnection;
@@ -67110,6 +67215,11 @@ export type QueryConfigurationsByScopeArgs = {
67110
67215
  scopeId?: InputMaybe<Scalars['ID']['input']>;
67111
67216
  };
67112
67217
  /** Base Query type with placeholder field. Extended by individual query files. */
67218
+ export type QueryConnectionsNotUsableByArgs = {
67219
+ connectionIds: Array<Scalars['ID']['input']>;
67220
+ principalId: Scalars['ID']['input'];
67221
+ };
67222
+ /** Base Query type with placeholder field. Extended by individual query files. */
67113
67223
  export type QueryConversationArgs = {
67114
67224
  id: Scalars['ID']['input'];
67115
67225
  };
@@ -79602,6 +79712,18 @@ export type ShareCollectionInput = {
79602
79712
  message?: InputMaybe<Scalars['String']['input']>;
79603
79713
  userId?: InputMaybe<Scalars['ID']['input']>;
79604
79714
  };
79715
+ /** The complete sharing of a connection: replaces its visibility and every current grant. */
79716
+ export type ShareConnectionInput = {
79717
+ connectionId: Scalars['ID']['input'];
79718
+ /**
79719
+ * Hand the connection to this person in the same change, so the new owner and the new sharing
79720
+ * apply together or not at all. Workspace administrators only; omit to keep the owner.
79721
+ */
79722
+ ownerId?: InputMaybe<Scalars['ID']['input']>;
79723
+ /** At most 100 grants; the owner never needs one */
79724
+ shares: Array<ConnectionShareInput>;
79725
+ visibility: ConnectionVisibility;
79726
+ };
79605
79727
  /** Input for sharing a dashboard */
79606
79728
  export type ShareDashboardInput = {
79607
79729
  /** Dashboard ID to share */