@uidu/client 3.6.0 → 3.7.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.
@@ -42,18 +42,25 @@ export type Scalars = {
42
42
  input: number;
43
43
  output: number;
44
44
  };
45
+ /**
46
+ * Represents non-fractional signed whole numeric values. Since the value may
47
+ * exceed the size of a 32-bit integer, it's encoded as a string.
48
+ */
45
49
  BigInt: {
46
50
  input: any;
47
51
  output: any;
48
52
  };
53
+ /** An ISO 8601-encoded date */
49
54
  ISO8601Date: {
50
55
  input: any;
51
56
  output: any;
52
57
  };
58
+ /** An ISO 8601-encoded datetime */
53
59
  ISO8601DateTime: {
54
60
  input: any;
55
61
  output: any;
56
62
  };
63
+ /** Represents untyped JSON */
57
64
  JSON: {
58
65
  input: any;
59
66
  output: any;
@@ -377,6 +384,11 @@ export type AccrualBalance = {
377
384
  export type ActionKey = ActiveRecordTimestamp & Node & WithFields & {
378
385
  __typename?: 'ActionKey';
379
386
  actionContext?: Maybe<App>;
387
+ /**
388
+ * JSON Schema of the arguments `executeAction` accepts for this key — camelCase
389
+ * names, associations as GlobalIDs. Null when the action declares no form.
390
+ */
391
+ argumentsSchema?: Maybe<Scalars['JSON']['output']>;
380
392
  category?: Maybe<Scalars['String']['output']>;
381
393
  contextKind: Scalars['String']['output'];
382
394
  createdAt: Scalars['ISO8601DateTime']['output'];
@@ -1051,7 +1063,10 @@ export type AdvanceWorkflowRunPayload = {
1051
1063
  errors: Array<Error>;
1052
1064
  workflowRun?: Maybe<WorkflowRun>;
1053
1065
  };
1054
- /** A time-bound entry that appears in a user agenda: a calendar event, a work shift (with its activity allocations), an approved time off, or a company holiday */
1066
+ /**
1067
+ * A time-bound entry that appears in a user agenda: a calendar event, a work shift
1068
+ * (with its activity allocations), an approved time off, or a company holiday
1069
+ */
1055
1070
  export type AgendaEntry = CalendarEvent | Shift | TimeOff | WorkspaceHoliday;
1056
1071
  export type Agent = ActiveRecordTimestamp & Node & {
1057
1072
  __typename?: 'Agent';
@@ -4336,6 +4351,7 @@ export type Call = ActiveRecordTimestamp & ActsAsDiscardable & ActsAsFormable &
4336
4351
  visits: Array<Visit>;
4337
4352
  /** @deprecated Use `owner` instead. */
4338
4353
  workspace?: Maybe<Workspace>;
4354
+ workspaceApp?: Maybe<WorkspaceApp>;
4339
4355
  };
4340
4356
  export type CallAddressListArgs = {
4341
4357
  kind?: InputMaybe<Scalars['String']['input']>;
@@ -4493,6 +4509,8 @@ export type CallAttributes = {
4493
4509
  salaryMin?: InputMaybe<Scalars['Int']['input']>;
4494
4510
  /** Type of the call */
4495
4511
  type?: InputMaybe<Scalars['String']['input']>;
4512
+ /** The app instance this call belongs to (e.g. a Space Jobs instance) */
4513
+ workspaceAppId?: InputMaybe<Scalars['ID']['input']>;
4496
4514
  };
4497
4515
  /** The connection type for Call. */
4498
4516
  export type CallConnection = {
@@ -10893,6 +10911,32 @@ export type CreatePurchaseRequestPayloadPurchaseRequestsArgs = {
10893
10911
  first?: InputMaybe<Scalars['Int']['input']>;
10894
10912
  last?: InputMaybe<Scalars['Int']['input']>;
10895
10913
  };
10914
+ /** Autogenerated input type of CreateQuoteFromDeal */
10915
+ export type CreateQuoteFromDealInput = {
10916
+ /** Flag to mark the object for destruction */
10917
+ _destroy?: InputMaybe<Scalars['Boolean']['input']>;
10918
+ /** A unique identifier for the client performing the mutation. */
10919
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
10920
+ dealId: Scalars['ID']['input'];
10921
+ /** Global ID of the object */
10922
+ id?: InputMaybe<Scalars['ID']['input']>;
10923
+ };
10924
+ /** Autogenerated return type of CreateQuoteFromDeal. */
10925
+ export type CreateQuoteFromDealPayload = {
10926
+ __typename?: 'CreateQuoteFromDealPayload';
10927
+ /** A unique identifier for the client performing the mutation. */
10928
+ clientMutationId?: Maybe<Scalars['String']['output']>;
10929
+ errors: Array<Error>;
10930
+ quote?: Maybe<QuoteEdge>;
10931
+ quotes?: Maybe<QuoteConnection>;
10932
+ };
10933
+ /** Autogenerated return type of CreateQuoteFromDeal. */
10934
+ export type CreateQuoteFromDealPayloadQuotesArgs = {
10935
+ after?: InputMaybe<Scalars['String']['input']>;
10936
+ before?: InputMaybe<Scalars['String']['input']>;
10937
+ first?: InputMaybe<Scalars['Int']['input']>;
10938
+ last?: InputMaybe<Scalars['Int']['input']>;
10939
+ };
10896
10940
  /** Autogenerated input type of CreateQuote */
10897
10941
  export type CreateQuoteInput = {
10898
10942
  /** Flag to mark the object for destruction */
@@ -13003,7 +13047,11 @@ export type CreatedBy = Contact | User;
13003
13047
  export type CurrentUser = ActiveRecordTimestamp & Node & WithAvatar & {
13004
13048
  __typename?: 'CurrentUser';
13005
13049
  account?: Maybe<Account>;
13006
- /** Unified agenda for the current user: calendar events from owned calendars, work shifts (with their activity allocations), approved time offs, and company holidays, all filtered by time window. */
13050
+ /**
13051
+ * Unified agenda for the current user: calendar events from owned calendars,
13052
+ * work shifts (with their activity allocations), approved time offs, and company
13053
+ * holidays, all filtered by time window.
13054
+ */
13007
13055
  agendaEntries: Array<AgendaEntry>;
13008
13056
  application?: Maybe<Application>;
13009
13057
  applications?: Maybe<Array<Application>>;
@@ -13489,7 +13537,7 @@ export type DeactivateBenefitPayload = {
13489
13537
  clientMutationId?: Maybe<Scalars['String']['output']>;
13490
13538
  errors: Array<Error>;
13491
13539
  };
13492
- export type Deal = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable & Node & WithAttachments & WithEventStream & WithMembers & WithPaths & {
13540
+ export type Deal = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable & Node & WithAttachments & WithEventStream & WithFieldValues & WithMembers & WithPaths & {
13493
13541
  __typename?: 'Deal';
13494
13542
  adminList: Array<User>;
13495
13543
  adminPath?: Maybe<Scalars['String']['output']>;
@@ -13497,6 +13545,7 @@ export type Deal = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable
13497
13545
  admins: UserConnection;
13498
13546
  amount?: Maybe<Scalars['BigInt']['output']>;
13499
13547
  appPath?: Maybe<Scalars['String']['output']>;
13548
+ applicableFields: Array<Field>;
13500
13549
  attachment?: Maybe<Attachment>;
13501
13550
  attachmentList: Array<Attachment>;
13502
13551
  attachments: AttachmentConnection;
@@ -13513,6 +13562,9 @@ export type Deal = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable
13513
13562
  discardable?: Maybe<Scalars['Boolean']['output']>;
13514
13563
  discarded?: Maybe<Scalars['Boolean']['output']>;
13515
13564
  discardedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
13565
+ fieldValues?: Maybe<Array<FieldValue>>;
13566
+ fieldValuesByGid?: Maybe<Scalars['JSON']['output']>;
13567
+ fieldValuesByShortname?: Maybe<Scalars['JSON']['output']>;
13516
13568
  humanName: Scalars['String']['output'];
13517
13569
  id: Scalars['ID']['output'];
13518
13570
  logs: EventStoreEventConnection;
@@ -13524,6 +13576,7 @@ export type Deal = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable
13524
13576
  pipeline?: Maybe<Pipeline>;
13525
13577
  publicPath?: Maybe<Scalars['String']['output']>;
13526
13578
  publicUrl?: Maybe<Scalars['String']['output']>;
13579
+ quotes?: Maybe<QuoteConnection>;
13527
13580
  restorable?: Maybe<Scalars['Boolean']['output']>;
13528
13581
  /** Router-relative path the client falls back to when this record's modal is closed without a background location */
13529
13582
  returnPath?: Maybe<Scalars['String']['output']>;
@@ -13582,6 +13635,12 @@ export type DealMembersArgs = {
13582
13635
  first?: InputMaybe<Scalars['Int']['input']>;
13583
13636
  last?: InputMaybe<Scalars['Int']['input']>;
13584
13637
  };
13638
+ export type DealQuotesArgs = {
13639
+ after?: InputMaybe<Scalars['String']['input']>;
13640
+ before?: InputMaybe<Scalars['String']['input']>;
13641
+ first?: InputMaybe<Scalars['Int']['input']>;
13642
+ last?: InputMaybe<Scalars['Int']['input']>;
13643
+ };
13585
13644
  export type DealTaskListArgs = {
13586
13645
  scopes?: InputMaybe<Array<Scalars['String']['input']>>;
13587
13646
  };
@@ -13611,6 +13670,8 @@ export type DealAttributes = {
13611
13670
  currency?: InputMaybe<Scalars['String']['input']>;
13612
13671
  /** Deadline for the deal */
13613
13672
  deadline?: InputMaybe<Scalars['ISO8601DateTime']['input']>;
13673
+ /** Map of field GlobalID => value */
13674
+ fieldValues?: InputMaybe<Scalars['JSON']['input']>;
13614
13675
  /** Global ID of the object */
13615
13676
  id?: InputMaybe<Scalars['ID']['input']>;
13616
13677
  /** Name of the deal */
@@ -13659,6 +13720,14 @@ export type DealEdge = {
13659
13720
  /** The item at the end of the edge. */
13660
13721
  node?: Maybe<Deal>;
13661
13722
  };
13723
+ /** A deal changed */
13724
+ export type DealUpdated = Node & {
13725
+ __typename?: 'DealUpdated';
13726
+ changes?: Maybe<Scalars['JSON']['output']>;
13727
+ deal?: Maybe<Deal>;
13728
+ /** ID of the object. */
13729
+ id: Scalars['ID']['output'];
13730
+ };
13662
13731
  /** Autogenerated input type of DecideAiToolCall */
13663
13732
  export type DecideAiToolCallInput = {
13664
13733
  /** Flag to mark the object for destruction */
@@ -14066,7 +14135,10 @@ export type DecisionTemplateMembersArgs = {
14066
14135
  export type DecisionTemplateAttributes = {
14067
14136
  /** Flag to mark the object for destruction */
14068
14137
  _destroy?: InputMaybe<Scalars['Boolean']['input']>;
14069
- /** Kind-specific config: the options a comparison offers, plus threshold, max_selections, total_points copied onto the Decision */
14138
+ /**
14139
+ * Kind-specific config: the options a comparison offers, plus threshold,
14140
+ * max_selections, total_points copied onto the Decision
14141
+ */
14070
14142
  config?: InputMaybe<Scalars['JSON']['input']>;
14071
14143
  /** Shape of the judgement: check, proposal, poll, dot_vote, ranked_choice */
14072
14144
  decisionKind?: InputMaybe<Scalars['String']['input']>;
@@ -20783,7 +20855,7 @@ export type EventStoreEventUpdatedPayload = {
20783
20855
  __typename?: 'EventStoreEventUpdatedPayload';
20784
20856
  log?: Maybe<EventStoreEvent>;
20785
20857
  };
20786
- export type EventStoreEventsData = AccountCreated | AnalyticAccountAllocationCreated | AnalyticAccountAllocationDeleted | AnalyticAccountAllocationUpdated | ApplicationAssigned | ApplicationCompleted | ApplicationCreated | ApplicationDiscarded | ApplicationStatusUpdated | ApprovalApproved | ApprovalCreated | ApprovalDeclined | AssessmentCompleted | AssessmentCreated | BlobCreated | BlobUpdated | BudgetCreated | BudgetUpdated | CallPublished | CommentCreated | ContactAttachmentCreated | ContactEmailCreated | ContactIncomingEmailCreated | ContactInfoProvided | ContactInfoRequested | ConversationsMessageCreated | DealAttachmentCreated | DealCreated | DecisionClosed | DecisionCreated | DecisionOpened | DecisionOutcomePublished | DecisionResponseCreated | DecisionResponseDiscarded | DocumentAttachmentReplaced | DocumentCreated | DocumentUpdated | DonationRecurrenceDonationPaid | DonationUpdated | EInvoiceMarkingChanged | EInvoiceReceived | EInvoiceTransmitted | EmployeeKioskPinChanged | EmployeeKioskPinReset | EmployeeKioskPinSet | EmploymentCreated | EmploymentEnded | EmploymentUpdated | ExpenseReportCreated | ExpenseReportUpdated | FormResponseCompleted | FormResponseCreated | GoalCreated | GoalProgressUpdated | GoalUpdated | KioskPaired | KioskPairingCodeRegenerated | KioskUnpaired | ListSubscriptionCreated | ListSubscriptionDiscarded | MeetingCreated | MeetingUpdated | ModelItemCreated | ModelItemUpdated | NoteCreated | OperationCreated | OperationStatusChanged | OrderConfirmationCreated | OrderRefundCreated | OrderUpdated | OrganizationCreated | OrganizationDiscarded | OrganizationRestored | OrganizationUpdated | PositionCreated | PositionUpdated | ProposalCreated | ProposalUpdated | PurchaseOrderAwarded | PurchaseOrderCancelled | PurchaseOrderFulfilled | PurchaseOrderReceived | PurchaseRegistered | PurchaseRequestClosed | PurchaseRequestCreated | ReminderSend | ReviewCompleted | ReviewDispatched | SignatureDeclined | SignatureRequestCompleted | SignatureRequestCreated | SignatureRequestExpired | SignatureRequestSent | SignatureRequestVoided | SignatureSigned | SignatureViewed | SpaceArchived | SpaceCreated | SpaceDiscarded | SpaceUpdated | SubscriptionTrialCreated | TaskCreated | TaskUpdated | TaskUserCreated | TeamCircleCreated | TeamMessageCreated | TeamMessageDiscarded | TeamScheduledMessageSent | TicketAssigned | TicketClosed | TicketCreated | TicketMessageCreated | TicketUpdated | TimeClockClockedIn | TimeClockClockedOut | TimeClockReviewed | TimeOffAssigned | TimeOffCreated | TimeOffUpdated | UserAnonymized | UserCreated | UserDiscarded | UserRestored | UserUpdated | VoteCreated | WarehouseSkuInventoryQuantityChanged | WorkspaceAssetAssignmentAssigned | WorkspaceCreated | WorkspaceRoleChanged | WorkspaceRoleGranted | WorkspaceRoleRevoked | WorkspaceRoleSelfJoined;
20858
+ export type EventStoreEventsData = AccountCreated | AnalyticAccountAllocationCreated | AnalyticAccountAllocationDeleted | AnalyticAccountAllocationUpdated | ApplicationAssigned | ApplicationCompleted | ApplicationCreated | ApplicationDiscarded | ApplicationStatusUpdated | ApprovalApproved | ApprovalCreated | ApprovalDeclined | AssessmentCompleted | AssessmentCreated | BlobCreated | BlobUpdated | BudgetCreated | BudgetUpdated | CallPublished | CommentCreated | ContactAttachmentCreated | ContactEmailCreated | ContactIncomingEmailCreated | ContactInfoProvided | ContactInfoRequested | ConversationsMessageCreated | DealAttachmentCreated | DealCreated | DealUpdated | DecisionClosed | DecisionCreated | DecisionOpened | DecisionOutcomePublished | DecisionResponseCreated | DecisionResponseDiscarded | DocumentAttachmentReplaced | DocumentCreated | DocumentUpdated | DonationRecurrenceDonationPaid | DonationUpdated | EInvoiceMarkingChanged | EInvoiceReceived | EInvoiceTransmitted | EmployeeKioskPinChanged | EmployeeKioskPinReset | EmployeeKioskPinSet | EmploymentCreated | EmploymentEnded | EmploymentUpdated | ExpenseReportCreated | ExpenseReportUpdated | FormResponseCompleted | FormResponseCreated | GoalCreated | GoalProgressUpdated | GoalUpdated | KioskPaired | KioskPairingCodeRegenerated | KioskUnpaired | ListSubscriptionCreated | ListSubscriptionDiscarded | MeetingCreated | MeetingUpdated | ModelItemCreated | ModelItemUpdated | NoteCreated | OperationCreated | OperationStatusChanged | OrderConfirmationCreated | OrderRefundCreated | OrderUpdated | OrganizationCreated | OrganizationDiscarded | OrganizationRestored | OrganizationUpdated | PositionCreated | PositionUpdated | ProposalCreated | ProposalUpdated | PurchaseOrderAwarded | PurchaseOrderCancelled | PurchaseOrderFulfilled | PurchaseOrderReceived | PurchaseRegistered | PurchaseRequestClosed | PurchaseRequestCreated | QuoteAccepted | QuoteDeclined | QuoteExpired | QuoteIssued | ReminderSend | ReviewCompleted | ReviewDispatched | SignatureDeclined | SignatureRequestCompleted | SignatureRequestCreated | SignatureRequestExpired | SignatureRequestSent | SignatureRequestVoided | SignatureSigned | SignatureViewed | SpaceArchived | SpaceCreated | SpaceDiscarded | SpaceUpdated | SubscriptionTrialCreated | TaskCreated | TaskUpdated | TaskUserCreated | TeamCircleCreated | TeamMessageCreated | TeamMessageDiscarded | TeamScheduledMessageSent | TicketAssigned | TicketClosed | TicketCreated | TicketMessageCreated | TicketUpdated | TimeClockClockedIn | TimeClockClockedOut | TimeClockReviewed | TimeOffAssigned | TimeOffCreated | TimeOffUpdated | UserAnonymized | UserCreated | UserDiscarded | UserRestored | UserUpdated | VoteCreated | WarehouseSkuInventoryQuantityChanged | WorkspaceAssetAssignmentAssigned | WorkspaceCreated | WorkspaceRoleChanged | WorkspaceRoleGranted | WorkspaceRoleRevoked | WorkspaceRoleSelfJoined;
20787
20859
  /** Autogenerated input type of ExecuteAction */
20788
20860
  export type ExecuteActionInput = {
20789
20861
  /** Flag to mark the object for destruction */
@@ -25937,7 +26009,10 @@ export type ModelItem = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscar
25937
26009
  admins: UserConnection;
25938
26010
  appPath?: Maybe<Scalars['String']['output']>;
25939
26011
  blocks: Array<BlockPlacement>;
25940
- /** Raw id of the blocks relationship field's parent FieldValue, if it exists yet — needed by the client to append/reorder children without creating a duplicate parent */
26012
+ /**
26013
+ * Raw id of the blocks relationship field's parent FieldValue, if it exists yet
26014
+ * — needed by the client to append/reorder children without creating a duplicate parent
26015
+ */
25941
26016
  blocksFieldValueId?: Maybe<Scalars['ID']['output']>;
25942
26017
  comments?: Maybe<CommentConnection>;
25943
26018
  commentsCount: Scalars['Int']['output'];
@@ -26323,6 +26398,7 @@ export type Mutation = Node & {
26323
26398
  createPurchaseOrder?: Maybe<CreatePurchaseOrderPayload>;
26324
26399
  createPurchaseRequest?: Maybe<CreatePurchaseRequestPayload>;
26325
26400
  createQuote?: Maybe<CreateQuotePayload>;
26401
+ createQuoteFromDeal?: Maybe<CreateQuoteFromDealPayload>;
26326
26402
  createQuoteItem?: Maybe<CreateQuoteItemPayload>;
26327
26403
  createReceipt?: Maybe<CreateReceiptPayload>;
26328
26404
  createReferralCode?: Maybe<CreateReferralCodePayload>;
@@ -27598,6 +27674,9 @@ export type MutationCreatePurchaseRequestArgs = {
27598
27674
  export type MutationCreateQuoteArgs = {
27599
27675
  input: CreateQuoteInput;
27600
27676
  };
27677
+ export type MutationCreateQuoteFromDealArgs = {
27678
+ input: CreateQuoteFromDealInput;
27679
+ };
27601
27680
  export type MutationCreateQuoteItemArgs = {
27602
27681
  input: CreateQuoteItemInput;
27603
27682
  };
@@ -33669,6 +33748,13 @@ export type QuoteQuoteItemsArgs = {
33669
33748
  first?: InputMaybe<Scalars['Int']['input']>;
33670
33749
  last?: InputMaybe<Scalars['Int']['input']>;
33671
33750
  };
33751
+ /** A quote was accepted */
33752
+ export type QuoteAccepted = Node & {
33753
+ __typename?: 'QuoteAccepted';
33754
+ /** ID of the object. */
33755
+ id: Scalars['ID']['output'];
33756
+ quote?: Maybe<Quote>;
33757
+ };
33672
33758
  export type QuoteAttributes = {
33673
33759
  /** Flag to mark the object for destruction */
33674
33760
  _destroy?: InputMaybe<Scalars['Boolean']['input']>;
@@ -33707,6 +33793,13 @@ export type QuoteConnection = {
33707
33793
  totalCount: Scalars['Int']['output'];
33708
33794
  totalPages?: Maybe<Scalars['Int']['output']>;
33709
33795
  };
33796
+ /** A quote was declined */
33797
+ export type QuoteDeclined = Node & {
33798
+ __typename?: 'QuoteDeclined';
33799
+ /** ID of the object. */
33800
+ id: Scalars['ID']['output'];
33801
+ quote?: Maybe<Quote>;
33802
+ };
33710
33803
  /** An edge in a connection. */
33711
33804
  export type QuoteEdge = {
33712
33805
  __typename?: 'QuoteEdge';
@@ -33715,6 +33808,20 @@ export type QuoteEdge = {
33715
33808
  /** The item at the end of the edge. */
33716
33809
  node?: Maybe<Quote>;
33717
33810
  };
33811
+ /** A quote lapsed unanswered */
33812
+ export type QuoteExpired = Node & {
33813
+ __typename?: 'QuoteExpired';
33814
+ /** ID of the object. */
33815
+ id: Scalars['ID']['output'];
33816
+ quote?: Maybe<Quote>;
33817
+ };
33818
+ /** A quote was issued */
33819
+ export type QuoteIssued = Node & {
33820
+ __typename?: 'QuoteIssued';
33821
+ /** ID of the object. */
33822
+ id: Scalars['ID']['output'];
33823
+ quote?: Maybe<Quote>;
33824
+ };
33718
33825
  export type QuoteItem = ActiveRecordTimestamp & Node & {
33719
33826
  __typename?: 'QuoteItem';
33720
33827
  amount?: Maybe<Scalars['BigInt']['output']>;
@@ -35124,6 +35231,42 @@ export type Role = ActiveRecordTimestamp & Node & {
35124
35231
  rowId: Scalars['Int']['output'];
35125
35232
  updatedAt: Scalars['ISO8601DateTime']['output'];
35126
35233
  };
35234
+ /** How the quotes that went out came back */
35235
+ export type SalesQuoteYield = Node & {
35236
+ __typename?: 'SalesQuoteYield';
35237
+ accepted: Scalars['Int']['output'];
35238
+ averageResponseDays?: Maybe<Scalars['Int']['output']>;
35239
+ declined: Scalars['Int']['output'];
35240
+ expired: Scalars['Int']['output'];
35241
+ /** ID of the object. */
35242
+ id: Scalars['ID']['output'];
35243
+ issued: Scalars['Int']['output'];
35244
+ pending: Scalars['Int']['output'];
35245
+ };
35246
+ /** One stage of a pipeline, with what is sitting on it */
35247
+ export type SalesStage = Node & {
35248
+ __typename?: 'SalesStage';
35249
+ averageDaysInStage?: Maybe<Scalars['Int']['output']>;
35250
+ dealsCount: Scalars['Int']['output'];
35251
+ /** ID of the object. */
35252
+ id: Scalars['ID']['output'];
35253
+ measuredDeals: Scalars['Int']['output'];
35254
+ status: Status;
35255
+ value: Scalars['BigInt']['output'];
35256
+ };
35257
+ /** The figures behind the Sales dashboard */
35258
+ export type SalesSummary = Node & {
35259
+ __typename?: 'SalesSummary';
35260
+ currency: Scalars['String']['output'];
35261
+ /** ID of the object. */
35262
+ id: Scalars['ID']['output'];
35263
+ openQuotes: Array<Quote>;
35264
+ openQuotesValue: Scalars['BigInt']['output'];
35265
+ pipeline?: Maybe<Pipeline>;
35266
+ pipelineValue: Scalars['BigInt']['output'];
35267
+ quoteYield: SalesQuoteYield;
35268
+ stages: Array<SalesStage>;
35269
+ };
35127
35270
  export type ScheduledJob = {
35128
35271
  __typename?: 'ScheduledJob';
35129
35272
  id?: Maybe<Scalars['String']['output']>;
@@ -36707,7 +36850,13 @@ export type Space = ActiveRecordTimestamp & ActsAsArchivable & ActsAsDiscardable
36707
36850
  archivedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
36708
36851
  attachmentList: Array<Attachment>;
36709
36852
  attachments: AttachmentConnection;
36710
- /** Role names offerable for this resource type (e.g. Space → owner/admin/member, Task → admin/member). Frontend uses this to populate the role dropdown without hardcoding. Assignable, not merely valid: a role can stay valid on existing rows while being withheld from the picker — see WorkspaceRole::HIDDEN_ROLE_NAMES_BY_RESOURCE_TYPE. */
36853
+ /**
36854
+ * Role names offerable for this resource type (e.g. Space → owner/admin/member,
36855
+ * Task → admin/member). Frontend uses this to populate the role dropdown without
36856
+ * hardcoding. Assignable, not merely valid: a role can stay valid on existing
36857
+ * rows while being withheld from the picker — see
36858
+ * WorkspaceRole::HIDDEN_ROLE_NAMES_BY_RESOURCE_TYPE.
36859
+ */
36711
36860
  availableRoleNames: Array<Scalars['String']['output']>;
36712
36861
  backlogTasksCount: Scalars['Int']['output'];
36713
36862
  blobList: Array<Blob>;
@@ -36718,7 +36867,11 @@ export type Space = ActiveRecordTimestamp & ActsAsArchivable & ActsAsDiscardable
36718
36867
  circles?: Maybe<CircleConnection>;
36719
36868
  color?: Maybe<Scalars['String']['output']>;
36720
36869
  createdAt: Scalars['ISO8601DateTime']['output'];
36721
- /** Highest-priority role the requesting user holds on this resource (owner > admin > member > guest), or null if no kept WorkspaceRole exists. Resolved via `Permissions.role` so multi-grant audit history doesn't confuse the answer. */
36870
+ /**
36871
+ * Highest-priority role the requesting user holds on this resource (owner >
36872
+ * admin > member > guest), or null if no kept WorkspaceRole exists. Resolved via
36873
+ * `Permissions.role` so multi-grant audit history doesn't confuse the answer.
36874
+ */
36722
36875
  currentUserRoleName?: Maybe<Scalars['String']['output']>;
36723
36876
  currentUserTasksCount: Scalars['Int']['output'];
36724
36877
  cycle?: Maybe<Cycle>;
@@ -36746,6 +36899,8 @@ export type Space = ActiveRecordTimestamp & ActsAsArchivable & ActsAsDiscardable
36746
36899
  isLocked: Scalars['Boolean']['output'];
36747
36900
  isPrivate: Scalars['Boolean']['output'];
36748
36901
  isRead: Scalars['Boolean']['output'];
36902
+ jobList: Array<Call>;
36903
+ jobs: CallConnection;
36749
36904
  kind?: Maybe<Scalars['String']['output']>;
36750
36905
  lastLogAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
36751
36906
  lastMessage?: Maybe<Message>;
@@ -36886,6 +37041,16 @@ export type SpaceGoalsArgs = {
36886
37041
  last?: InputMaybe<Scalars['Int']['input']>;
36887
37042
  params?: InputMaybe<SearchParams>;
36888
37043
  };
37044
+ export type SpaceJobListArgs = {
37045
+ params?: InputMaybe<SearchParams>;
37046
+ };
37047
+ export type SpaceJobsArgs = {
37048
+ after?: InputMaybe<Scalars['String']['input']>;
37049
+ before?: InputMaybe<Scalars['String']['input']>;
37050
+ first?: InputMaybe<Scalars['Int']['input']>;
37051
+ last?: InputMaybe<Scalars['Int']['input']>;
37052
+ params?: InputMaybe<SearchParams>;
37053
+ };
36889
37054
  export type SpaceLinkListArgs = {
36890
37055
  params?: InputMaybe<SearchParams>;
36891
37056
  };
@@ -37878,7 +38043,13 @@ export type Task = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable
37878
38043
  attachment?: Maybe<Attachment>;
37879
38044
  attachmentList: Array<Attachment>;
37880
38045
  attachments: AttachmentConnection;
37881
- /** Role names offerable for this resource type (e.g. Space → owner/admin/member, Task → admin/member). Frontend uses this to populate the role dropdown without hardcoding. Assignable, not merely valid: a role can stay valid on existing rows while being withheld from the picker — see WorkspaceRole::HIDDEN_ROLE_NAMES_BY_RESOURCE_TYPE. */
38046
+ /**
38047
+ * Role names offerable for this resource type (e.g. Space → owner/admin/member,
38048
+ * Task → admin/member). Frontend uses this to populate the role dropdown without
38049
+ * hardcoding. Assignable, not merely valid: a role can stay valid on existing
38050
+ * rows while being withheld from the picker — see
38051
+ * WorkspaceRole::HIDDEN_ROLE_NAMES_BY_RESOURCE_TYPE.
38052
+ */
37882
38053
  availableRoleNames: Array<Scalars['String']['output']>;
37883
38054
  blob?: Maybe<Blob>;
37884
38055
  blobList: Array<Blob>;
@@ -37894,7 +38065,11 @@ export type Task = ActiveRecordTimestamp & ActsAsCommentable & ActsAsDiscardable
37894
38065
  communityUrl?: Maybe<Scalars['String']['output']>;
37895
38066
  createdAt: Scalars['ISO8601DateTime']['output'];
37896
38067
  createdBy?: Maybe<CreatedBy>;
37897
- /** Highest-priority role the requesting user holds on this resource (owner > admin > member > guest), or null if no kept WorkspaceRole exists. Resolved via `Permissions.role` so multi-grant audit history doesn't confuse the answer. */
38068
+ /**
38069
+ * Highest-priority role the requesting user holds on this resource (owner >
38070
+ * admin > member > guest), or null if no kept WorkspaceRole exists. Resolved via
38071
+ * `Permissions.role` so multi-grant audit history doesn't confuse the answer.
38072
+ */
37898
38073
  currentUserRoleName?: Maybe<Scalars['String']['output']>;
37899
38074
  cycle?: Maybe<Cycle>;
37900
38075
  discardable?: Maybe<Scalars['Boolean']['output']>;
@@ -38915,7 +39090,10 @@ export type TimeEntryAttributes = {
38915
39090
  shiftId?: InputMaybe<Scalars['ID']['input']>;
38916
39091
  /** Optional time clock this entry is tied to */
38917
39092
  timeClockId?: InputMaybe<Scalars['ID']['input']>;
38918
- /** The causale of this variation. Send this one: `kind_id` reads the shared taxonomy, which no longer holds causali created after the promotion */
39093
+ /**
39094
+ * The causale of this variation. Send this one: `kind_id` reads the shared
39095
+ * taxonomy, which no longer holds causali created after the promotion
39096
+ */
38919
39097
  timeEntryKindId?: InputMaybe<Scalars['ID']['input']>;
38920
39098
  /** The absence this entry mirrors — set instead of a kind, never alongside one, since the time off already names its causale */
38921
39099
  timeOffId?: InputMaybe<Scalars['ID']['input']>;
@@ -39142,7 +39320,10 @@ export type TimeOffAttributes = {
39142
39320
  kindId?: InputMaybe<Scalars['ID']['input']>;
39143
39321
  /** Where this period of work happens: an Office, a WorkSite or an Organization. Only for a causale that asks for a place */
39144
39322
  locationId?: InputMaybe<Scalars['ID']['input']>;
39145
- /** A destination written by hand, for what is in no register. Only for a causale whose scope is `destination`, and never alongside `location_id` */
39323
+ /**
39324
+ * A destination written by hand, for what is in no register. Only for a causale
39325
+ * whose scope is `destination`, and never alongside `location_id`
39326
+ */
39146
39327
  locationName?: InputMaybe<Scalars['String']['input']>;
39147
39328
  /** The resource this time off belongs to */
39148
39329
  resourceId?: InputMaybe<Scalars['ID']['input']>;
@@ -40374,9 +40555,13 @@ export type UpdateBookingInput = {
40374
40555
  /** Flag to mark the object for destruction */
40375
40556
  _destroy?: InputMaybe<Scalars['Boolean']['input']>;
40376
40557
  attributes: BookingAttributes;
40558
+ /** @deprecated Use `update_contact_billing_details` mutation instead */
40559
+ billingDetails?: InputMaybe<Scalars['JSON']['input']>;
40377
40560
  /** A unique identifier for the client performing the mutation. */
40378
40561
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
40379
40562
  id: Scalars['ID']['input'];
40563
+ /** @deprecated Use `update_contact_billing_details` mutation instead */
40564
+ saveBillingDetails?: InputMaybe<Scalars['Boolean']['input']>;
40380
40565
  step?: InputMaybe<Scalars['String']['input']>;
40381
40566
  transition?: InputMaybe<Scalars['String']['input']>;
40382
40567
  };
@@ -41198,11 +41383,15 @@ export type UpdateDonationInput = {
41198
41383
  /** Flag to mark the object for destruction */
41199
41384
  _destroy?: InputMaybe<Scalars['Boolean']['input']>;
41200
41385
  attributes?: InputMaybe<DonationAttributes>;
41386
+ /** @deprecated Use `update_contact_billing_details` mutation instead */
41387
+ billingDetails?: InputMaybe<Scalars['JSON']['input']>;
41201
41388
  /** A unique identifier for the client performing the mutation. */
41202
41389
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
41203
41390
  contactAttributes?: InputMaybe<ContactAttributes>;
41204
41391
  id: Scalars['ID']['input'];
41205
41392
  orderAttributes?: InputMaybe<OrderAttributes>;
41393
+ /** @deprecated Use `update_contact_billing_details` mutation instead */
41394
+ saveBillingDetails?: InputMaybe<Scalars['Boolean']['input']>;
41206
41395
  step: Scalars['String']['input'];
41207
41396
  subscriptionAttributes?: InputMaybe<SubscriptionAttributes>;
41208
41397
  };
@@ -42279,7 +42468,10 @@ export type UpdateNoticedPreferenceInput = {
42279
42468
  deliveryMethod: Scalars['String']['input'];
42280
42469
  /** Global ID of the object */
42281
42470
  id?: InputMaybe<Scalars['ID']['input']>;
42282
- /** The ID of the notifiable object this preference applies to (e.g. a specific message or circle). Omit for global preferences. */
42471
+ /**
42472
+ * The ID of the notifiable object this preference applies to (e.g. a specific
42473
+ * message or circle). Omit for global preferences.
42474
+ */
42283
42475
  notifiableId?: InputMaybe<Scalars['ID']['input']>;
42284
42476
  notifierType: Scalars['String']['input'];
42285
42477
  subscribed: Scalars['Boolean']['input'];
@@ -42348,9 +42540,13 @@ export type UpdateOrderInput = {
42348
42540
  /** Flag to mark the object for destruction */
42349
42541
  _destroy?: InputMaybe<Scalars['Boolean']['input']>;
42350
42542
  attributes?: InputMaybe<OrderAttributes>;
42543
+ /** @deprecated Use `update_contact_billing_details` mutation instead */
42544
+ billingDetails?: InputMaybe<Scalars['JSON']['input']>;
42351
42545
  /** A unique identifier for the client performing the mutation. */
42352
42546
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
42353
42547
  id: Scalars['ID']['input'];
42548
+ /** @deprecated Use `update_contact_billing_details` mutation instead */
42549
+ saveBillingDetails?: InputMaybe<Scalars['Boolean']['input']>;
42354
42550
  step?: InputMaybe<Scalars['String']['input']>;
42355
42551
  transition?: InputMaybe<Scalars['String']['input']>;
42356
42552
  };
@@ -46607,9 +46803,19 @@ export type WithWorkspace = {
46607
46803
  };
46608
46804
  /** Object that exposes its grants through the canonical WorkspaceRole table */
46609
46805
  export type WithWorkspaceRoles = {
46610
- /** Role names offerable for this resource type (e.g. Space → owner/admin/member, Task → admin/member). Frontend uses this to populate the role dropdown without hardcoding. Assignable, not merely valid: a role can stay valid on existing rows while being withheld from the picker — see WorkspaceRole::HIDDEN_ROLE_NAMES_BY_RESOURCE_TYPE. */
46806
+ /**
46807
+ * Role names offerable for this resource type (e.g. Space → owner/admin/member,
46808
+ * Task → admin/member). Frontend uses this to populate the role dropdown without
46809
+ * hardcoding. Assignable, not merely valid: a role can stay valid on existing
46810
+ * rows while being withheld from the picker — see
46811
+ * WorkspaceRole::HIDDEN_ROLE_NAMES_BY_RESOURCE_TYPE.
46812
+ */
46611
46813
  availableRoleNames: Array<Scalars['String']['output']>;
46612
- /** Highest-priority role the requesting user holds on this resource (owner > admin > member > guest), or null if no kept WorkspaceRole exists. Resolved via `Permissions.role` so multi-grant audit history doesn't confuse the answer. */
46814
+ /**
46815
+ * Highest-priority role the requesting user holds on this resource (owner >
46816
+ * admin > member > guest), or null if no kept WorkspaceRole exists. Resolved via
46817
+ * `Permissions.role` so multi-grant audit history doesn't confuse the answer.
46818
+ */
46613
46819
  currentUserRoleName?: Maybe<Scalars['String']['output']>;
46614
46820
  id: Scalars['ID']['output'];
46615
46821
  workspaceRoles: Array<WorkspaceRole>;
@@ -47000,7 +47206,10 @@ export type WorkflowAttributes = {
47000
47206
  name?: InputMaybe<Scalars['String']['input']>;
47001
47207
  /** Published timestamp */
47002
47208
  publishedAt?: InputMaybe<Scalars['ISO8601DateTime']['input']>;
47003
- /** The kind of record a case of this workflow is about, e.g. 'PurchaseRequest'. Blank means the flow is about nothing in particular. */
47209
+ /**
47210
+ * The kind of record a case of this workflow is about, e.g. 'PurchaseRequest'.
47211
+ * Blank means the flow is about nothing in particular.
47212
+ */
47004
47213
  subjectType?: InputMaybe<Scalars['String']['input']>;
47005
47214
  /** Who may read a case of this workflow: participants, app_members or workspace */
47006
47215
  visibility?: InputMaybe<Scalars['String']['input']>;
@@ -47828,6 +48037,8 @@ export type Workspace = ActiveRecordTimestamp & Node & WithAddresses & WithAvata
47828
48037
  rowId: Scalars['Int']['output'];
47829
48038
  rsUserList: Array<User>;
47830
48039
  rsUsers: UserConnection;
48040
+ /** The figures behind the Sales dashboard */
48041
+ salesSummary: SalesSummary;
47831
48042
  savedGrants: Array<ProposalGrant>;
47832
48043
  search?: Maybe<SearchableConnection>;
47833
48044
  service?: Maybe<Service>;
@@ -49292,6 +49503,9 @@ export type WorkspaceRsUsersArgs = {
49292
49503
  last?: InputMaybe<Scalars['Int']['input']>;
49293
49504
  params?: InputMaybe<SearchParams>;
49294
49505
  };
49506
+ export type WorkspaceSalesSummaryArgs = {
49507
+ pipelineId?: InputMaybe<Scalars['ID']['input']>;
49508
+ };
49295
49509
  export type WorkspaceSearchArgs = {
49296
49510
  after?: InputMaybe<Scalars['String']['input']>;
49297
49511
  before?: InputMaybe<Scalars['String']['input']>;
@@ -51443,6 +51657,33 @@ export type ListPagesQuery = {
51443
51657
  } | null;
51444
51658
  } | null;
51445
51659
  };
51660
+ export type ListProjectsQueryVariables = Exact<{
51661
+ first?: InputMaybe<Scalars['Int']['input']>;
51662
+ after?: InputMaybe<Scalars['String']['input']>;
51663
+ }>;
51664
+ export type ListProjectsQuery = {
51665
+ __typename?: 'Query';
51666
+ currentWorkspace?: {
51667
+ __typename?: 'Workspace';
51668
+ projects: {
51669
+ __typename?: 'ProjectConnection';
51670
+ pageInfo: {
51671
+ __typename?: 'PageInfo';
51672
+ hasNextPage: boolean;
51673
+ endCursor?: string | null;
51674
+ };
51675
+ edges?: Array<{
51676
+ __typename?: 'ProjectEdge';
51677
+ node?: {
51678
+ __typename?: 'Project';
51679
+ id: string;
51680
+ name?: string | null;
51681
+ slug?: string | null;
51682
+ } | null;
51683
+ } | null> | null;
51684
+ };
51685
+ } | null;
51686
+ };
51446
51687
  export type CreateContactMutationVariables = Exact<{
51447
51688
  input: CreateContactInput;
51448
51689
  }>;
@@ -52676,6 +52917,33 @@ export type GetChannelQuery = {
52676
52917
  } | null;
52677
52918
  } | null;
52678
52919
  };
52920
+ export type ListChannelsQueryVariables = Exact<{
52921
+ first?: InputMaybe<Scalars['Int']['input']>;
52922
+ after?: InputMaybe<Scalars['String']['input']>;
52923
+ }>;
52924
+ export type ListChannelsQuery = {
52925
+ __typename?: 'Query';
52926
+ currentWorkspace?: {
52927
+ __typename?: 'Workspace';
52928
+ channels?: {
52929
+ __typename?: 'ChannelConnection';
52930
+ pageInfo: {
52931
+ __typename?: 'PageInfo';
52932
+ hasNextPage: boolean;
52933
+ endCursor?: string | null;
52934
+ };
52935
+ edges?: Array<{
52936
+ __typename?: 'ChannelEdge';
52937
+ node?: {
52938
+ __typename?: 'Channel';
52939
+ id: string;
52940
+ name: string;
52941
+ isDefault: boolean;
52942
+ } | null;
52943
+ } | null> | null;
52944
+ } | null;
52945
+ } | null;
52946
+ };
52679
52947
  export type GetKbArticleQueryVariables = Exact<{
52680
52948
  id: Scalars['ID']['input'];
52681
52949
  }>;
@@ -53884,6 +54152,7 @@ export declare const CreateProjectDocument: DocumentNode<CreateProjectMutation,
53884
54152
  export declare const GetPageDocument: DocumentNode<GetPageQuery, GetPageQueryVariables>;
53885
54153
  export declare const GetTemplateDocument: DocumentNode<GetTemplateQuery, GetTemplateQueryVariables>;
53886
54154
  export declare const ListPagesDocument: DocumentNode<ListPagesQuery, ListPagesQueryVariables>;
54155
+ export declare const ListProjectsDocument: DocumentNode<ListProjectsQuery, ListProjectsQueryVariables>;
53887
54156
  export declare const CreateContactDocument: DocumentNode<CreateContactMutation, CreateContactMutationVariables>;
53888
54157
  export declare const DeleteContactDocument: DocumentNode<DeleteContactMutation, DeleteContactMutationVariables>;
53889
54158
  export declare const CreateDealDocument: DocumentNode<CreateDealMutation, CreateDealMutationVariables>;
@@ -53923,6 +54192,7 @@ export declare const CreateChannelDocument: DocumentNode<CreateChannelMutation,
53923
54192
  export declare const UpdateChannelDocument: DocumentNode<UpdateChannelMutation, UpdateChannelMutationVariables>;
53924
54193
  export declare const DeleteChannelDocument: DocumentNode<DeleteChannelMutation, DeleteChannelMutationVariables>;
53925
54194
  export declare const GetChannelDocument: DocumentNode<GetChannelQuery, GetChannelQueryVariables>;
54195
+ export declare const ListChannelsDocument: DocumentNode<ListChannelsQuery, ListChannelsQueryVariables>;
53926
54196
  export declare const GetKbArticleDocument: DocumentNode<GetKbArticleQuery, GetKbArticleQueryVariables>;
53927
54197
  export declare const GetKbCollectionDocument: DocumentNode<GetKbCollectionQuery, GetKbCollectionQueryVariables>;
53928
54198
  export declare const CreateKbCollectionDocument: DocumentNode<CreateKbCollectionMutation, CreateKbCollectionMutationVariables>;
@@ -1,4 +1,15 @@
1
1
  import type { UiduClient } from "./client.js";
2
- import { type GetChannelQuery, type GetChannelQueryVariables } from "./generated/index.js";
2
+ import { type GetChannelQuery, type GetChannelQueryVariables, type ListChannelsQueryVariables } from "./generated/index.js";
3
3
  export type Channel = NonNullable<NonNullable<GetChannelQuery['currentWorkspace']>['channel']>;
4
4
  export declare function getChannel(client: UiduClient, variables: GetChannelQueryVariables): Promise<Channel | null>;
5
+ /**
6
+ * The workspace's help center channels. `isDefault` marks the one the
7
+ * workspace treats as its main channel — a caller that has no channel id
8
+ * configured should prefer it over the first row.
9
+ */
10
+ export declare function listChannels(client: UiduClient, variables?: ListChannelsQueryVariables): Promise<{
11
+ __typename?: "Channel";
12
+ id: string;
13
+ name: string;
14
+ isDefault: boolean;
15
+ }[]>;
@@ -5,7 +5,7 @@ export { paginate } from "./utils/paginate.js";
5
5
  export type { PaginateOptions } from "./utils/paginate.js";
6
6
  export { normalizeFieldValueContent, normalizeFieldValuesAttributes, } from "./utils/fieldValues.js";
7
7
  export { ListApplicationsDocument, ListBookingsDocument, ListCalendarsDocument, ListCalendarEventsDocument, ListCallsDocument, ListCampaignsDocument, ListEmailCampaignsDocument, ListCoursesDocument, ListDealsDocument, ListDonationCampaignsDocument, ListEmployeesDocument, ListEnrollmentsDocument, ListEventsDocument, ListFormsDocument, ListKbArticlesDocument, ListKbCollectionsDocument, ListLecturesDocument, ListPagesDocument, ListStoriesDocument, } from "./generated/index.js";
8
- export { getPage, listPages, getTemplate, createProject, createPage, createPageBlock, createFieldValue, } from "./cms.js";
8
+ export { getPage, listPages, getTemplate, createProject, createPage, createPageBlock, createFieldValue, listProjects, } from "./cms.js";
9
9
  export type { Page, Template } from "./cms.js";
10
10
  export { createWorkspace, generateWorkspaceApiCredentials } from "./system.js";
11
11
  export { createSpace } from "./spaces.js";
@@ -14,7 +14,7 @@ export { createNote } from "./notes.js";
14
14
  export { createCourse, updateCourse, deleteCourse, createForm, updateForm, deleteForm, createContact, deleteContact, createDeal, updateDeal, createKbCollection, updateKbCollection, deleteKbCollection, createKbArticle, updateKbArticle, deleteKbArticle, createChannel, updateChannel, deleteChannel, updateEvent, updateStory, updateDonationCampaign, deleteDonationCampaign, updateTask, deleteTask, updateNote, deleteNote, updateSpace, deleteSpace, createEmployee, updateEmployee, createEmployment, updateEmployment, deleteEmployment, terminateEmployment, createCompensation, updateCompensation, deleteCompensation, } from "./mutations.js";
15
15
  export { getForm, listForms, createFormResponse, updateFormResponse, } from "./forms.js";
16
16
  export type { Form } from "./forms.js";
17
- export { getChannel } from "./help-center.js";
17
+ export { getChannel, listChannels } from "./help-center.js";
18
18
  export type { Channel } from "./help-center.js";
19
19
  export { search } from "./search.js";
20
20
  export type { SearchResult } from "./search.js";