@burdenoff/microfe-workspaces 2026.1121.1 → 2026.1123.2

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.
@@ -30717,6 +30717,17 @@ export type CreateMetricInput = {
30717
30717
  name: Scalars['String']['input'];
30718
30718
  type: MetricType;
30719
30719
  };
30720
+ export type CreateMspOrgLinkInput = {
30721
+ billingMode?: InputMaybe<MspBillingMode>;
30722
+ clientOrgId: Scalars['ID']['input'];
30723
+ clientOrgName: Scalars['String']['input'];
30724
+ clientWorkspaceId?: InputMaybe<Scalars['ID']['input']>;
30725
+ delegatedScopes: Array<MspDelegatedScope>;
30726
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
30727
+ monthlySeatBudget?: InputMaybe<Scalars['Int']['input']>;
30728
+ notes?: InputMaybe<Scalars['String']['input']>;
30729
+ workspaceId: Scalars['ID']['input'];
30730
+ };
30720
30731
  export type CreateMtwPickTaskIntentInput = {
30721
30732
  destination: MtwPickIntentLinePinInput;
30722
30733
  idempotencyKey: Scalars['String']['input'];
@@ -32283,6 +32294,15 @@ export type CreateWorkspaceSecretResult = {
32283
32294
  /** Workspace ID the secret was created for */
32284
32295
  workspaceId?: Maybe<Scalars['String']['output']>;
32285
32296
  };
32297
+ export type CreateWorkspaceShareInput = {
32298
+ accessLevel?: InputMaybe<WorkspaceShareAccessLevel>;
32299
+ expiresAt?: InputMaybe<Scalars['DateTime']['input']>;
32300
+ resourceId: Scalars['String']['input'];
32301
+ resourceName: Scalars['String']['input'];
32302
+ resourceType: WorkspaceShareResourceType;
32303
+ targetWorkspaceId: Scalars['ID']['input'];
32304
+ workspaceId: Scalars['ID']['input'];
32305
+ };
32286
32306
  export type CreateWorkspacesExportJobInput = {
32287
32307
  dateRangeEnd?: InputMaybe<Scalars['DateTime']['input']>;
32288
32308
  dateRangeStart?: InputMaybe<Scalars['DateTime']['input']>;
@@ -34085,6 +34105,61 @@ export type CropDistributionPoint = {
34085
34105
  name: Scalars['String']['output'];
34086
34106
  value: Scalars['Float']['output'];
34087
34107
  };
34108
+ /** Per-organization summary row inside the cross-workspace / MSP portfolio view. */
34109
+ export type CrossWorkspaceOrgSummary = {
34110
+ __typename?: 'CrossWorkspaceOrgSummary';
34111
+ activeShareCount: Scalars['Int']['output'];
34112
+ activeWorkspaceCount: Scalars['Int']['output'];
34113
+ billingSummary: OrgBillingSummary;
34114
+ delegatedScopes: Array<MspDelegatedScope>;
34115
+ managedByMsp: Scalars['Boolean']['output'];
34116
+ mspLinkId?: Maybe<Scalars['ID']['output']>;
34117
+ mspLinkStatus?: Maybe<MspOrgLinkStatus>;
34118
+ orgId: Scalars['ID']['output'];
34119
+ orgName: Scalars['String']['output'];
34120
+ tenantId: Scalars['ID']['output'];
34121
+ totalMemberCount: Scalars['Int']['output'];
34122
+ totalProjectCount: Scalars['Int']['output'];
34123
+ workspaceCount: Scalars['Int']['output'];
34124
+ workspaces: Array<CrossWorkspaceWorkspaceItem>;
34125
+ };
34126
+ /** Self-scoped cross-workspace and MSP portfolio overview for the authenticated actor. */
34127
+ export type CrossWorkspaceOverview = {
34128
+ __typename?: 'CrossWorkspaceOverview';
34129
+ organizations: Array<CrossWorkspaceOrgSummary>;
34130
+ totals: CrossWorkspaceTotals;
34131
+ };
34132
+ /** Portfolio-wide rollup totals across all organizations accessible to the caller. */
34133
+ export type CrossWorkspaceTotals = {
34134
+ __typename?: 'CrossWorkspaceTotals';
34135
+ activeShareCount: Scalars['Int']['output'];
34136
+ activeWorkspaceCount: Scalars['Int']['output'];
34137
+ managedOrganizationCount: Scalars['Int']['output'];
34138
+ organizationCount: Scalars['Int']['output'];
34139
+ totalActiveSeats: Scalars['Int']['output'];
34140
+ totalProjects: Scalars['Int']['output'];
34141
+ workspaceCount: Scalars['Int']['output'];
34142
+ };
34143
+ /**
34144
+ * Aggregated workspace item surfaced in cross-workspace and MSP overviews.
34145
+ * Never exposes sensitive workspace credentials such as jwtSecret.
34146
+ */
34147
+ export type CrossWorkspaceWorkspaceItem = {
34148
+ __typename?: 'CrossWorkspaceWorkspaceItem';
34149
+ activeShareCount: Scalars['Int']['output'];
34150
+ createdAt: Scalars['DateTime']['output'];
34151
+ id: Scalars['ID']['output'];
34152
+ managedViaMsp: Scalars['Boolean']['output'];
34153
+ memberCount: Scalars['Int']['output'];
34154
+ mspLinkId?: Maybe<Scalars['ID']['output']>;
34155
+ name: Scalars['String']['output'];
34156
+ orgId: Scalars['ID']['output'];
34157
+ projectCount: Scalars['Int']['output'];
34158
+ resourceCount: Scalars['Int']['output'];
34159
+ status: WorkspaceStatus;
34160
+ subscribedProductCount: Scalars['Int']['output'];
34161
+ tenantId: Scalars['ID']['output'];
34162
+ };
34088
34163
  export type CsaBoxItem = {
34089
34164
  __typename?: 'CsaBoxItem';
34090
34165
  productId?: Maybe<Scalars['String']['output']>;
@@ -71985,6 +72060,74 @@ export type MoveVibeDeckButtonInput = {
71985
72060
  row: Scalars['Int']['input'];
71986
72061
  rowSpan?: InputMaybe<Scalars['Int']['input']>;
71987
72062
  };
72063
+ /** Billing aggregation model between an MSP and a managed client organization. */
72064
+ export declare enum MspBillingMode {
72065
+ ClientDirect = "CLIENT_DIRECT",
72066
+ Consolidated = "CONSOLIDATED",
72067
+ Split = "SPLIT"
72068
+ }
72069
+ /** Explicit allow-listed delegated capabilities for an MSP organization link. */
72070
+ export declare enum MspDelegatedScope {
72071
+ ManageMembers = "MANAGE_MEMBERS",
72072
+ ManageProjects = "MANAGE_PROJECTS",
72073
+ ManageShares = "MANAGE_SHARES",
72074
+ ViewBillingSummary = "VIEW_BILLING_SUMMARY",
72075
+ ViewOverview = "VIEW_OVERVIEW"
72076
+ }
72077
+ /** Perspective filter when listing MSP organization links. */
72078
+ export declare enum MspLinkRole {
72079
+ All = "ALL",
72080
+ Client = "CLIENT",
72081
+ Msp = "MSP"
72082
+ }
72083
+ /** A bilateral, consent-gated MSP/partner multi-organization link. */
72084
+ export type MspOrgLink = {
72085
+ __typename?: 'MspOrgLink';
72086
+ billingMode: MspBillingMode;
72087
+ clientOrgId: Scalars['ID']['output'];
72088
+ clientOrgName: Scalars['String']['output'];
72089
+ clientWorkspaceId?: Maybe<Scalars['ID']['output']>;
72090
+ consentGrantedAt?: Maybe<Scalars['DateTime']['output']>;
72091
+ consentGrantedBy?: Maybe<Scalars['ID']['output']>;
72092
+ createdAt: Scalars['DateTime']['output'];
72093
+ createdBy: Scalars['ID']['output'];
72094
+ delegatedScopes: Array<MspDelegatedScope>;
72095
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
72096
+ id: Scalars['ID']['output'];
72097
+ monthlySeatBudget?: Maybe<Scalars['Int']['output']>;
72098
+ mspOrgId: Scalars['ID']['output'];
72099
+ notes?: Maybe<Scalars['String']['output']>;
72100
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
72101
+ revokedBy?: Maybe<Scalars['ID']['output']>;
72102
+ status: MspOrgLinkStatus;
72103
+ updatedAt: Scalars['DateTime']['output'];
72104
+ workspaceId: Scalars['ID']['output'];
72105
+ };
72106
+ /** Counted collection of MSP organization links. */
72107
+ export type MspOrgLinkConnection = {
72108
+ __typename?: 'MspOrgLinkConnection';
72109
+ items: Array<MspOrgLink>;
72110
+ totalCount: Scalars['Int']['output'];
72111
+ };
72112
+ /** Lifecycle status of a delegated MSP organization link. */
72113
+ export declare enum MspOrgLinkStatus {
72114
+ Active = "ACTIVE",
72115
+ Pending = "PENDING",
72116
+ Revoked = "REVOKED",
72117
+ Suspended = "SUSPENDED"
72118
+ }
72119
+ /** Detailed aggregated summary for a single organization (same-org or active MSP link). */
72120
+ export type MspOrganizationSummary = {
72121
+ __typename?: 'MspOrganizationSummary';
72122
+ activeSharesCount: Scalars['Int']['output'];
72123
+ billingSummary: OrgBillingSummary;
72124
+ delegatedScopes: Array<MspDelegatedScope>;
72125
+ managedViaMsp: Scalars['Boolean']['output'];
72126
+ mspLinkId?: Maybe<Scalars['ID']['output']>;
72127
+ orgId: Scalars['ID']['output'];
72128
+ orgName: Scalars['String']['output'];
72129
+ workspaces: Array<CrossWorkspaceWorkspaceItem>;
72130
+ };
71988
72131
  export type MtwAnalyticsPoint = {
71989
72132
  __typename?: 'MtwAnalyticsPoint';
71990
72133
  label: Scalars['String']['output'];
@@ -77068,6 +77211,11 @@ export type Mutation = {
77068
77211
  * matches `inviteeEmail`.
77069
77212
  */
77070
77213
  acceptWorkspaceInvite: WorkspaceInvite;
77214
+ /**
77215
+ * Grant target-workspace consent and activate a PENDING cross-workspace share.
77216
+ * Only the target workspace may accept.
77217
+ */
77218
+ acceptWorkspaceShare: WorkspaceShare;
77071
77219
  /** Open a folder share link: verifies the token (and password), counts a view and lists the folder's files. Public, like accessShare. */
77072
77220
  accessFolderShare: FolderShareAccessResponse;
77073
77221
  /**
@@ -77438,6 +77586,11 @@ export type Mutation = {
77438
77586
  approveHealthyBowlLabourEntry: HealthyBowlLabourEntry;
77439
77587
  approveHousingvistaVerificationItem: HousingVistaVerificationItem;
77440
77588
  approveJoinRequest: GroupMembership;
77589
+ /**
77590
+ * Approve a PENDING MSP organization link on behalf of the client organization.
77591
+ * Only a workspace belonging to the client organization may approve.
77592
+ */
77593
+ approveMspOrgLink: MspOrgLink;
77441
77594
  approveMtwPickTask: MtwPickReview;
77442
77595
  approveRequest: TimeApprovalRequest;
77443
77596
  approveResourceBooking: CalendarResourceBooking;
@@ -80413,6 +80566,11 @@ export type Mutation = {
80413
80566
  createMaintenanceRecord: MaintenanceRecord;
80414
80567
  createMeeting: MeetingMeta;
80415
80568
  createMetric: Metric;
80569
+ /**
80570
+ * Propose a delegated MSP/partner link to a client organization.
80571
+ * Always starts in PENDING state until approved by an admin in the client organization.
80572
+ */
80573
+ createMspOrgLink: MspOrgLink;
80416
80574
  createMtwPickTaskIntent: MtwPickTask;
80417
80575
  createMtwReport: MtwReport;
80418
80576
  /** Create a custom nav view owned by the calling user. */
@@ -80645,6 +80803,11 @@ export type Mutation = {
80645
80803
  * Requires service-to-service authentication.
80646
80804
  */
80647
80805
  createWorkspaceSecret: CreateWorkspaceSecretResult;
80806
+ /**
80807
+ * Offer a cross-workspace share for a channel, project, or cross-workspace mentions.
80808
+ * Always starts in PENDING state until explicitly accepted by the target workspace.
80809
+ */
80810
+ createWorkspaceShare: WorkspaceShare;
80648
80811
  /**
80649
80812
  * Submit an export job for the current workspace through the central
80650
80813
  * `wspace-export-svc`. The job runs asynchronously; poll the export-jobs
@@ -86967,6 +87130,11 @@ export type Mutation = {
86967
87130
  revokeHealthyBowlFinancierAccess: Scalars['Boolean']['output'];
86968
87131
  /** Revoke pre-disbursement facilitation and its consent grant. Posted loan records cannot be revoked. */
86969
87132
  revokeHealthyBowlLoanFacilitation: HealthyBowlLoanFacilitation;
87133
+ /**
87134
+ * Unilaterally revoke an MSP organization link. Permitted by either the MSP or
87135
+ * client organization; immediately revokes cross-organization visibility.
87136
+ */
87137
+ revokeMspOrgLink: MspOrgLink;
86970
87138
  revokeMtwInspectorQualification: MtwInspectorQualification;
86971
87139
  revokeMtwPickTaskReview: MtwPickReview;
86972
87140
  revokeMtwProcedureDeviation: MtwProcedureDeviation;
@@ -87010,6 +87178,11 @@ export type Mutation = {
87010
87178
  revokeVibecontrolsNoteShareLink: ShareGrant;
87011
87179
  /** Revoke a signal token; later posts to it are refused. */
87012
87180
  revokeWorkflowSignalToken: WorkflowSignalToken;
87181
+ /**
87182
+ * Unilaterally revoke a cross-workspace share. Permitted by either the owning or
87183
+ * receiving workspace; immediately terminates cross-workspace visibility.
87184
+ */
87185
+ revokeWorkspaceShare: WorkspaceShare;
87013
87186
  /**
87014
87187
  * Revoke a workspace token immediately.
87015
87188
  * Requires valid authtoken in Authorization header.
@@ -89582,6 +89755,11 @@ export type Mutation = {
89582
89755
  /** Update existing metadata */
89583
89756
  updateMetadata: FileMetadata;
89584
89757
  updateMetric: Metric;
89758
+ /**
89759
+ * Update an MSP organization link's billing mode, seat budget, status, notes, or
89760
+ * delegated scopes. Only the client organization may expand delegated scopes.
89761
+ */
89762
+ updateMspOrgLink: MspOrgLink;
89585
89763
  /** Switch customer notifications on or off and choose channels and events. */
89586
89764
  updateMtwCustomerNotificationSettings: MtwCustomerNotificationSettings;
89587
89765
  /** Save the workspace's MoveTheWheels operational defaults. Every field is validated. */
@@ -90338,6 +90516,14 @@ export type MutationAcceptTimeCampusCaptureEventSuggestionArgs = {
90338
90516
  export type MutationAcceptWorkspaceInviteArgs = {
90339
90517
  token: Scalars['String']['input'];
90340
90518
  };
90519
+ /**
90520
+ * Base Mutation type with placeholder field.
90521
+ * Extended by individual mutation files.
90522
+ */
90523
+ export type MutationAcceptWorkspaceShareArgs = {
90524
+ shareId: Scalars['ID']['input'];
90525
+ workspaceId: Scalars['ID']['input'];
90526
+ };
90341
90527
  /**
90342
90528
  * Base Mutation type with placeholder field.
90343
90529
  * Extended by individual mutation files.
@@ -91270,6 +91456,14 @@ export type MutationApproveHousingvistaVerificationItemArgs = {
91270
91456
  export type MutationApproveJoinRequestArgs = {
91271
91457
  membershipId: Scalars['ID']['input'];
91272
91458
  };
91459
+ /**
91460
+ * Base Mutation type with placeholder field.
91461
+ * Extended by individual mutation files.
91462
+ */
91463
+ export type MutationApproveMspOrgLinkArgs = {
91464
+ linkId: Scalars['ID']['input'];
91465
+ workspaceId: Scalars['ID']['input'];
91466
+ };
91273
91467
  /**
91274
91468
  * Base Mutation type with placeholder field.
91275
91469
  * Extended by individual mutation files.
@@ -99660,6 +99854,13 @@ export type MutationCreateMeetingArgs = {
99660
99854
  export type MutationCreateMetricArgs = {
99661
99855
  input: CreateMetricInput;
99662
99856
  };
99857
+ /**
99858
+ * Base Mutation type with placeholder field.
99859
+ * Extended by individual mutation files.
99860
+ */
99861
+ export type MutationCreateMspOrgLinkArgs = {
99862
+ input: CreateMspOrgLinkInput;
99863
+ };
99663
99864
  /**
99664
99865
  * Base Mutation type with placeholder field.
99665
99866
  * Extended by individual mutation files.
@@ -100515,6 +100716,13 @@ export type MutationCreateWorkspaceSecretArgs = {
100515
100716
  rotationSchedule?: InputMaybe<Scalars['String']['input']>;
100516
100717
  workspaceId: Scalars['String']['input'];
100517
100718
  };
100719
+ /**
100720
+ * Base Mutation type with placeholder field.
100721
+ * Extended by individual mutation files.
100722
+ */
100723
+ export type MutationCreateWorkspaceShareArgs = {
100724
+ input: CreateWorkspaceShareInput;
100725
+ };
100518
100726
  /**
100519
100727
  * Base Mutation type with placeholder field.
100520
100728
  * Extended by individual mutation files.
@@ -117186,6 +117394,14 @@ export type MutationRevokeHealthyBowlLoanFacilitationArgs = {
117186
117394
  context: ContextInput;
117187
117395
  id: Scalars['ID']['input'];
117188
117396
  };
117397
+ /**
117398
+ * Base Mutation type with placeholder field.
117399
+ * Extended by individual mutation files.
117400
+ */
117401
+ export type MutationRevokeMspOrgLinkArgs = {
117402
+ linkId: Scalars['ID']['input'];
117403
+ workspaceId: Scalars['ID']['input'];
117404
+ };
117189
117405
  /**
117190
117406
  * Base Mutation type with placeholder field.
117191
117407
  * Extended by individual mutation files.
@@ -117404,6 +117620,15 @@ export type MutationRevokeVibecontrolsNoteShareLinkArgs = {
117404
117620
  export type MutationRevokeWorkflowSignalTokenArgs = {
117405
117621
  id: Scalars['ID']['input'];
117406
117622
  };
117623
+ /**
117624
+ * Base Mutation type with placeholder field.
117625
+ * Extended by individual mutation files.
117626
+ */
117627
+ export type MutationRevokeWorkspaceShareArgs = {
117628
+ reason?: InputMaybe<Scalars['String']['input']>;
117629
+ shareId: Scalars['ID']['input'];
117630
+ workspaceId: Scalars['ID']['input'];
117631
+ };
117407
117632
  /**
117408
117633
  * Base Mutation type with placeholder field.
117409
117634
  * Extended by individual mutation files.
@@ -124766,6 +124991,13 @@ export type MutationUpdateMetricArgs = {
124766
124991
  id: Scalars['ID']['input'];
124767
124992
  input: UpdateMetricInput;
124768
124993
  };
124994
+ /**
124995
+ * Base Mutation type with placeholder field.
124996
+ * Extended by individual mutation files.
124997
+ */
124998
+ export type MutationUpdateMspOrgLinkArgs = {
124999
+ input: UpdateMspOrgLinkInput;
125000
+ };
124769
125001
  /**
124770
125002
  * Base Mutation type with placeholder field.
124771
125003
  * Extended by individual mutation files.
@@ -128359,6 +128591,19 @@ export declare enum OrderDirection {
128359
128591
  Asc = "ASC",
128360
128592
  Desc = "DESC"
128361
128593
  }
128594
+ /** Aggregated billing and seat-usage metrics for an organization. */
128595
+ export type OrgBillingSummary = {
128596
+ __typename?: 'OrgBillingSummary';
128597
+ activeWorkspaces: Scalars['Int']['output'];
128598
+ billingMode?: Maybe<MspBillingMode>;
128599
+ monthlySeatBudget?: Maybe<Scalars['Int']['output']>;
128600
+ seatUtilizationPercent?: Maybe<Scalars['Float']['output']>;
128601
+ subscribedProductCount: Scalars['Int']['output'];
128602
+ totalActiveSeats: Scalars['Int']['output'];
128603
+ totalProjects: Scalars['Int']['output'];
128604
+ totalResources: Scalars['Int']['output'];
128605
+ totalWorkspaces: Scalars['Int']['output'];
128606
+ };
128362
128607
  export type OverrideTimeCampusWorkspaceQuotaInput = {
128363
128608
  limit?: InputMaybe<Scalars['Float']['input']>;
128364
128609
  noLimit?: InputMaybe<Scalars['Boolean']['input']>;
@@ -141925,6 +142170,12 @@ export type Query = {
141925
142170
  * probe cannot see a jammed subgraph; this field forces real delegation.
141926
142171
  */
141927
142172
  crewfoundryHealth: Scalars['String']['output'];
142173
+ /**
142174
+ * Portfolio overview across all organizations and workspaces the calling actor belongs
142175
+ * to directly or oversees via an ACTIVE, non-expired MSP organization link.
142176
+ * Type C self-list: identity comes exclusively from ctx.actorId.
142177
+ */
142178
+ crossWorkspaceOverview: CrossWorkspaceOverview;
141928
142179
  customNodes: NodesPaginatedResponse;
141929
142180
  customer?: Maybe<MtwCustomer>;
141930
142181
  customerStats: MtwCustomerStats;
@@ -145097,6 +145348,17 @@ export type Query = {
145097
145348
  metrics: Array<Metric>;
145098
145349
  /** The ordered models of one task class, or of every class when omitted. */
145099
145350
  modelClassRoutes: Array<ModelClassRoutes>;
145351
+ /**
145352
+ * List MSP/partner organization links where this workspace's organization is either
145353
+ * the managing MSP or the managed client.
145354
+ */
145355
+ mspOrgLinks: MspOrgLinkConnection;
145356
+ /**
145357
+ * Aggregated workspace, seat, and billing summary for a target organization.
145358
+ * Permitted only for the caller's own organization or an ACTIVE, non-expired MSP link
145359
+ * granting VIEW_OVERVIEW; returns NOT_FOUND for any other organization.
145360
+ */
145361
+ mspOrganizationSummary: MspOrganizationSummary;
145100
145362
  mtwApplicableProcedures: MtwProcedureApplicability;
145101
145363
  mtwConsolidationManifest: MtwConsolidationManifest;
145102
145364
  mtwConsolidationManifestPage: MtwConsolidationManifestPage;
@@ -148405,6 +148667,11 @@ export type Query = {
148405
148667
  * workflow uses. Workspace admins only.
148406
148668
  */
148407
148669
  workspaceSecurityReport: WorkspaceSecurityReport;
148670
+ /**
148671
+ * List cross-workspace shares involving this workspace (outbound, inbound, or both).
148672
+ * Strictly pinned to the caller's x-workspace-id context.
148673
+ */
148674
+ workspaceShares: WorkspaceShareConnection;
148408
148675
  /**
148409
148676
  * Workspace-wide audit log — all tunnel, domain, and session operations
148410
148677
  * across every tunnel in the workspace, newest first.
@@ -164194,6 +164461,23 @@ export type QueryMetricsArgs = {
164194
164461
  export type QueryModelClassRoutesArgs = {
164195
164462
  taskClass?: InputMaybe<ModelTaskClass>;
164196
164463
  };
164464
+ /**
164465
+ * Base Query type with placeholder field.
164466
+ * Extended by individual query files.
164467
+ */
164468
+ export type QueryMspOrgLinksArgs = {
164469
+ role?: InputMaybe<MspLinkRole>;
164470
+ status?: InputMaybe<MspOrgLinkStatus>;
164471
+ workspaceId: Scalars['ID']['input'];
164472
+ };
164473
+ /**
164474
+ * Base Query type with placeholder field.
164475
+ * Extended by individual query files.
164476
+ */
164477
+ export type QueryMspOrganizationSummaryArgs = {
164478
+ targetOrgId: Scalars['ID']['input'];
164479
+ workspaceId: Scalars['ID']['input'];
164480
+ };
164197
164481
  /**
164198
164482
  * Base Query type with placeholder field.
164199
164483
  * Extended by individual query files.
@@ -172868,6 +173152,15 @@ export type QueryWorkspaceScheduleQuotasArgs = {
172868
173152
  export type QueryWorkspaceSecurityReportArgs = {
172869
173153
  input?: InputMaybe<WorkspaceSecurityReportInput>;
172870
173154
  };
173155
+ /**
173156
+ * Base Query type with placeholder field.
173157
+ * Extended by individual query files.
173158
+ */
173159
+ export type QueryWorkspaceSharesArgs = {
173160
+ direction?: InputMaybe<WorkspaceShareDirection>;
173161
+ status?: InputMaybe<WorkspaceShareStatus>;
173162
+ workspaceId: Scalars['ID']['input'];
173163
+ };
172871
173164
  /**
172872
173165
  * Base Query type with placeholder field.
172873
173166
  * Extended by individual query files.
@@ -198768,6 +199061,15 @@ export type UpdateMetricInput = {
198768
199061
  name?: InputMaybe<Scalars['String']['input']>;
198769
199062
  type?: InputMaybe<MetricType>;
198770
199063
  };
199064
+ export type UpdateMspOrgLinkInput = {
199065
+ billingMode?: InputMaybe<MspBillingMode>;
199066
+ delegatedScopes?: InputMaybe<Array<MspDelegatedScope>>;
199067
+ linkId: Scalars['ID']['input'];
199068
+ monthlySeatBudget?: InputMaybe<Scalars['Int']['input']>;
199069
+ notes?: InputMaybe<Scalars['String']['input']>;
199070
+ status?: InputMaybe<MspOrgLinkStatus>;
199071
+ workspaceId: Scalars['ID']['input'];
199072
+ };
198771
199073
  /** Changes to the customer notification settings. Omitted fields keep their value. */
198772
199074
  export type UpdateMtwCustomerNotificationSettingsInput = {
198773
199075
  emailEnabled?: InputMaybe<Scalars['Boolean']['input']>;
@@ -209653,6 +209955,63 @@ export type WorkspaceSecurityReport = {
209653
209955
  export type WorkspaceSecurityReportInput = {
209654
209956
  checks?: InputMaybe<Array<WorkflowSecurityCheck>>;
209655
209957
  };
209958
+ /** A bilateral, consent-gated cross-workspace share record. */
209959
+ export type WorkspaceShare = {
209960
+ __typename?: 'WorkspaceShare';
209961
+ accessLevel: WorkspaceShareAccessLevel;
209962
+ consentGrantedAt?: Maybe<Scalars['DateTime']['output']>;
209963
+ consentGrantedBy?: Maybe<Scalars['ID']['output']>;
209964
+ consentScope: Scalars['String']['output'];
209965
+ createdAt: Scalars['DateTime']['output'];
209966
+ createdBy: Scalars['ID']['output'];
209967
+ expiresAt?: Maybe<Scalars['DateTime']['output']>;
209968
+ id: Scalars['ID']['output'];
209969
+ resourceId: Scalars['String']['output'];
209970
+ resourceName: Scalars['String']['output'];
209971
+ resourceType: WorkspaceShareResourceType;
209972
+ revocationReason?: Maybe<Scalars['String']['output']>;
209973
+ revokedAt?: Maybe<Scalars['DateTime']['output']>;
209974
+ revokedBy?: Maybe<Scalars['ID']['output']>;
209975
+ sourceOrgId: Scalars['ID']['output'];
209976
+ sourceWorkspaceName?: Maybe<Scalars['String']['output']>;
209977
+ status: WorkspaceShareStatus;
209978
+ targetOrgId: Scalars['ID']['output'];
209979
+ targetWorkspaceId: Scalars['ID']['output'];
209980
+ targetWorkspaceName?: Maybe<Scalars['String']['output']>;
209981
+ updatedAt: Scalars['DateTime']['output'];
209982
+ workspaceId: Scalars['ID']['output'];
209983
+ };
209984
+ /** Permission level granted to the receiving workspace on a shared resource. */
209985
+ export declare enum WorkspaceShareAccessLevel {
209986
+ Admin = "ADMIN",
209987
+ Collaborate = "COLLABORATE",
209988
+ ReadOnly = "READ_ONLY"
209989
+ }
209990
+ /** Paginated/counted collection of cross-workspace shares. */
209991
+ export type WorkspaceShareConnection = {
209992
+ __typename?: 'WorkspaceShareConnection';
209993
+ items: Array<WorkspaceShare>;
209994
+ totalCount: Scalars['Int']['output'];
209995
+ };
209996
+ /** Filter direction when listing shares for a workspace. */
209997
+ export declare enum WorkspaceShareDirection {
209998
+ All = "ALL",
209999
+ Inbound = "INBOUND",
210000
+ Outbound = "OUTBOUND"
210001
+ }
210002
+ /** Kind of resource shared across workspace boundaries. */
210003
+ export declare enum WorkspaceShareResourceType {
210004
+ Channel = "CHANNEL",
210005
+ Mentions = "MENTIONS",
210006
+ Project = "PROJECT"
210007
+ }
210008
+ /** Lifecycle status of a cross-workspace share grant. */
210009
+ export declare enum WorkspaceShareStatus {
210010
+ Active = "ACTIVE",
210011
+ Expired = "EXPIRED",
210012
+ Pending = "PENDING",
210013
+ Revoked = "REVOKED"
210014
+ }
209656
210015
  export declare enum WorkspaceStatus {
209657
210016
  /** Workspace is active and operational */
209658
210017
  Active = "ACTIVE",
@@ -0,0 +1,19 @@
1
+ // src/generated/wspace-types.ts
2
+ var e = /* @__PURE__ */ function(e) {
3
+ return e.ClientDirect = "CLIENT_DIRECT", e.Consolidated = "CONSOLIDATED", e.Split = "SPLIT", e;
4
+ }({}), t = /* @__PURE__ */ function(e) {
5
+ return e.ManageMembers = "MANAGE_MEMBERS", e.ManageProjects = "MANAGE_PROJECTS", e.ManageShares = "MANAGE_SHARES", e.ViewBillingSummary = "VIEW_BILLING_SUMMARY", e.ViewOverview = "VIEW_OVERVIEW", e;
6
+ }({}), n = /* @__PURE__ */ function(e) {
7
+ return e.All = "ALL", e.Client = "CLIENT", e.Msp = "MSP", e;
8
+ }({}), r = /* @__PURE__ */ function(e) {
9
+ return e.Active = "ACTIVE", e.Pending = "PENDING", e.Revoked = "REVOKED", e.Suspended = "SUSPENDED", e;
10
+ }({}), i = /* @__PURE__ */ function(e) {
11
+ return e.Admin = "ADMIN", e.Collaborate = "COLLABORATE", e.ReadOnly = "READ_ONLY", e;
12
+ }({}), a = /* @__PURE__ */ function(e) {
13
+ return e.All = "ALL", e.Inbound = "INBOUND", e.Outbound = "OUTBOUND", e;
14
+ }({}), o = /* @__PURE__ */ function(e) {
15
+ return e.Channel = "CHANNEL", e.Mentions = "MENTIONS", e.Project = "PROJECT", e;
16
+ }({}), s = /* @__PURE__ */ function(e) {
17
+ return e.Active = "ACTIVE", e.Expired = "EXPIRED", e.Pending = "PENDING", e.Revoked = "REVOKED", e;
18
+ }({});
19
+ export { e as MspBillingMode, t as MspDelegatedScope, n as MspLinkRole, r as MspOrgLinkStatus, i as WorkspaceShareAccessLevel, a as WorkspaceShareDirection, o as WorkspaceShareResourceType, s as WorkspaceShareStatus };