@bunnyapp/api-client 3.0.0 → 3.1.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.
@@ -75,8 +75,6 @@ export type Account = {
75
75
  annualRevenue?: Maybe<Scalars['Int']['output']>;
76
76
  /** ARR (Annual Recurring Revenue) amount */
77
77
  arr?: Maybe<Scalars['Float']['output']>;
78
- /** Pcode (a reference code for location data from Avalara) for Avalara AFC */
79
- avalaraAfcPcode?: Maybe<Scalars['String']['output']>;
80
78
  balances: Array<AccountBalance>;
81
79
  /** City for billing */
82
80
  billingCity?: Maybe<Scalars['String']['output']>;
@@ -96,6 +94,8 @@ export type Account = {
96
94
  billingZip?: Maybe<Scalars['String']['output']>;
97
95
  /** Custom unique identifier for the account */
98
96
  code?: Maybe<Scalars['String']['output']>;
97
+ /** Enable consolidated billing for this account */
98
+ consolidatedBilling: Scalars['Boolean']['output'];
99
99
  /** List of contacts for the account */
100
100
  contacts?: Maybe<Array<Contact>>;
101
101
  /** Datetime the account was created */
@@ -110,10 +110,14 @@ export type Account = {
110
110
  deals?: Maybe<Array<Deal>>;
111
111
  /** Description of the account */
112
112
  description?: Maybe<Scalars['String']['output']>;
113
+ /** Indicates if dunning is disabled for this account */
114
+ disableDunning: Scalars['Boolean']['output'];
113
115
  /** Send new invoices to draft state */
114
116
  draftInvoices: Scalars['Boolean']['output'];
115
117
  /** Dun & Bradstreet Number */
116
118
  duns?: Maybe<Scalars['String']['output']>;
119
+ /** Next effective billing date calculated from billing_day */
120
+ effectiveBillingDate?: Maybe<Scalars['ISO8601Date']['output']>;
117
121
  /** Enable sending emails to account contacts */
118
122
  emailsEnabled: Scalars['Boolean']['output'];
119
123
  /** Number of employees */
@@ -150,6 +154,10 @@ export type Account = {
150
154
  name?: Maybe<Scalars['String']['output']>;
151
155
  /** Payment terms in days */
152
156
  netPaymentDays?: Maybe<Scalars['Int']['output']>;
157
+ /** Use the new quote builder to create quotes and invoices */
158
+ newQuoteBuilder: Scalars['Boolean']['output'];
159
+ /** Next renewal date from active evergreen subscriptions */
160
+ nextRenewal?: Maybe<Scalars['ISO8601Date']['output']>;
153
161
  /** Account owner */
154
162
  owner?: Maybe<User>;
155
163
  /** Account owner */
@@ -157,12 +165,14 @@ export type Account = {
157
165
  /** Paying status */
158
166
  payingStatus?: Maybe<PayingStatus>;
159
167
  /** Payment methods associated with this account */
160
- paymentMethods?: Maybe<Array<PaymentMethod>>;
168
+ paymentMethods?: Maybe<PaymentMethodConnection>;
161
169
  /** Primary phone number for the account */
162
170
  phone?: Maybe<Scalars['String']['output']>;
163
171
  /** Recurring revenues for the account */
164
172
  recurringRevenues?: Maybe<Array<RecurringRevenue>>;
165
173
  revenueMovements?: Maybe<Array<RevenueMovement>>;
174
+ /** Total revenue recognized to date */
175
+ revenueToDate?: Maybe<Scalars['Float']['output']>;
166
176
  /** Secondary billing contact IDs */
167
177
  secondaryBillingContactIds?: Maybe<Array<Scalars['ID']['output']>>;
168
178
  /** Secondary billing contact IDs */
@@ -186,6 +196,8 @@ export type Account = {
186
196
  /** Time zone for the account */
187
197
  timezone?: Maybe<Scalars['String']['output']>;
188
198
  transactions?: Maybe<Array<Transaction>>;
199
+ /** Upcoming account billing dates based on the current subscrptions */
200
+ upcomingBillingDates?: Maybe<Array<Scalars['ISO8601Date']['output']>>;
189
201
  /** Datetime the account was last updated */
190
202
  updatedAt: Scalars['ISO8601DateTime']['output'];
191
203
  /** Website of the account */
@@ -197,6 +209,16 @@ export type AccountInvoicesArgs = {
197
209
  sort?: InputMaybe<Scalars['String']['input']>;
198
210
  };
199
211
  /** An account record is used to represent a customer or trialist */
212
+ export type AccountPaymentMethodsArgs = {
213
+ accountId?: InputMaybe<Scalars['ID']['input']>;
214
+ after?: InputMaybe<Scalars['String']['input']>;
215
+ before?: InputMaybe<Scalars['String']['input']>;
216
+ filter?: InputMaybe<Scalars['String']['input']>;
217
+ first?: InputMaybe<Scalars['Int']['input']>;
218
+ last?: InputMaybe<Scalars['Int']['input']>;
219
+ sort?: InputMaybe<Scalars['String']['input']>;
220
+ };
221
+ /** An account record is used to represent a customer or trialist */
200
222
  export type AccountRecurringRevenuesArgs = {
201
223
  filter?: InputMaybe<Scalars['String']['input']>;
202
224
  sort?: InputMaybe<Scalars['String']['input']>;
@@ -212,8 +234,6 @@ export type AccountAttributes = {
212
234
  accountTypeId?: InputMaybe<Scalars['ID']['input']>;
213
235
  /** Annual revenue */
214
236
  annualRevenue?: InputMaybe<Scalars['Int']['input']>;
215
- /** Pcode (a reference code for location data from Avalara) for Avalara AFC */
216
- avalaraAfcPcode?: InputMaybe<Scalars['String']['input']>;
217
237
  /** City for billing */
218
238
  billingCity?: InputMaybe<Scalars['String']['input']>;
219
239
  /** Contact for billing correspondence */
@@ -230,10 +250,14 @@ export type AccountAttributes = {
230
250
  billingZip?: InputMaybe<Scalars['String']['input']>;
231
251
  /** Custom unique identifier for the account */
232
252
  code?: InputMaybe<Scalars['String']['input']>;
253
+ /** Enable consolidated billing for this account */
254
+ consolidatedBilling?: InputMaybe<Scalars['Boolean']['input']>;
233
255
  /** Primary currency for billing */
234
256
  currencyId?: InputMaybe<Scalars['ID']['input']>;
235
257
  /** Description of the account */
236
258
  description?: InputMaybe<Scalars['String']['input']>;
259
+ /** Indicates if dunning is disabled for this account */
260
+ disableDunning?: InputMaybe<Scalars['Boolean']['input']>;
237
261
  /** Send new invoices to draft state */
238
262
  draftInvoices?: InputMaybe<Scalars['Boolean']['input']>;
239
263
  /** Dun & Bradstreet Number */
@@ -262,6 +286,8 @@ export type AccountAttributes = {
262
286
  name?: InputMaybe<Scalars['String']['input']>;
263
287
  /** Payment terms in days */
264
288
  netPaymentDays?: InputMaybe<Scalars['Int']['input']>;
289
+ /** Use the new quote builder to create quotes and invoices */
290
+ newQuoteBuilder?: InputMaybe<Scalars['Boolean']['input']>;
265
291
  /** Account owner */
266
292
  ownerUserId?: InputMaybe<Scalars['ID']['input']>;
267
293
  /** Primary phone number for the account */
@@ -350,7 +376,7 @@ export type AccountEdge = {
350
376
  /** Autogenerated return type of AccountReset. */
351
377
  export type AccountResetPayload = {
352
378
  __typename?: 'AccountResetPayload';
353
- errors?: Maybe<Scalars['String']['output']>;
379
+ errors?: Maybe<Array<Scalars['String']['output']>>;
354
380
  };
355
381
  /** Autogenerated return type of AccountSignup. */
356
382
  export type AccountSignupPayload = {
@@ -437,12 +463,16 @@ export type ApiClient = {
437
463
  clientId?: Maybe<Scalars['String']['output']>;
438
464
  /** Only returned on creation of an api client */
439
465
  clientSecret?: Maybe<Scalars['String']['output']>;
466
+ /** Entity ID of the api client */
467
+ entityId?: Maybe<Scalars['ID']['output']>;
440
468
  /** Unique identifier of the api client */
441
469
  id: Scalars['ID']['output'];
442
470
  /** Name of the api client */
443
471
  name?: Maybe<Scalars['String']['output']>;
444
472
  /** The ID of the user that created the application */
445
473
  ownerId?: Maybe<Scalars['ID']['output']>;
474
+ /** Lets PKCE be used to generate access tokens */
475
+ pkceEnabled: Scalars['Boolean']['output'];
446
476
  /** Required for authorization_code grant. The callback url of the client. */
447
477
  redirectUri?: Maybe<Scalars['String']['output']>;
448
478
  /** The scopes that this application can request */
@@ -456,8 +486,12 @@ export type ApiClientAttributes = {
456
486
  authorizationCodeEnabled?: InputMaybe<Scalars['Boolean']['input']>;
457
487
  /** Lets client credentials grant be used to generate access tokens */
458
488
  clientCredentialsEnabled?: InputMaybe<Scalars['Boolean']['input']>;
489
+ /** Entity ID of the api client */
490
+ entityId?: InputMaybe<Scalars['String']['input']>;
459
491
  /** Name of the api client */
460
492
  name?: InputMaybe<Scalars['String']['input']>;
493
+ /** Lets PKCE be used to generate access tokens */
494
+ pkceEnabled?: InputMaybe<Scalars['Boolean']['input']>;
461
495
  /** Required for authorization_code grant. The callback url of the client. */
462
496
  redirectUri?: InputMaybe<Scalars['String']['input']>;
463
497
  /** The scopes that this application can request */
@@ -571,6 +605,8 @@ export type ApprovalRule = {
571
605
  isRampEnabled?: Maybe<Scalars['Boolean']['output']>;
572
606
  /** Rule name */
573
607
  name?: Maybe<Scalars['String']['output']>;
608
+ netPaymentDays?: Maybe<Scalars['Int']['output']>;
609
+ netPaymentDaysEnabled?: Maybe<Scalars['Boolean']['output']>;
574
610
  overallQuoteDiscount?: Maybe<Scalars['Int']['output']>;
575
611
  overallQuoteDiscountEnabled?: Maybe<Scalars['Boolean']['output']>;
576
612
  plan?: Maybe<Plan>;
@@ -599,6 +635,8 @@ export type ApprovalRuleAttributes = {
599
635
  isRampEnabled?: InputMaybe<Scalars['Boolean']['input']>;
600
636
  /** Name of the approval rule */
601
637
  name?: InputMaybe<Scalars['String']['input']>;
638
+ netPaymentDays?: InputMaybe<Scalars['Int']['input']>;
639
+ netPaymentDaysEnabled?: InputMaybe<Scalars['Boolean']['input']>;
602
640
  overallQuoteDiscount?: InputMaybe<Scalars['Int']['input']>;
603
641
  overallQuoteDiscountEnabled?: InputMaybe<Scalars['Boolean']['input']>;
604
642
  planId?: InputMaybe<Scalars['ID']['input']>;
@@ -703,6 +741,7 @@ export type Attachment = {
703
741
  __typename?: 'Attachment';
704
742
  id: Scalars['String']['output'];
705
743
  name: Scalars['String']['output'];
744
+ url: Scalars['String']['output'];
706
745
  };
707
746
  /** The Authorized Object represents the entity for which the authorization was granted */
708
747
  export type AuthObject = Invoice | Quote;
@@ -794,8 +833,6 @@ export type BillingDetailsAttributes = {
794
833
  billingStreet?: InputMaybe<Scalars['String']['input']>;
795
834
  /** Zip/PostalCode for billing */
796
835
  billingZip?: InputMaybe<Scalars['String']['input']>;
797
- /** Name of the account */
798
- name?: InputMaybe<Scalars['String']['input']>;
799
836
  /** Tax number */
800
837
  taxNumber?: InputMaybe<Scalars['String']['input']>;
801
838
  };
@@ -893,6 +930,14 @@ export type CampaignUpdatePayload = {
893
930
  errors?: Maybe<Array<Scalars['String']['output']>>;
894
931
  };
895
932
  export type Charge = QuoteCharge | SubscriptionCharge;
933
+ export type ChargeSettingsImport = {
934
+ /** The charge code to apply settings to */
935
+ chargeCode: Scalars['String']['input'];
936
+ /** Quantity for this charge (defaults to 1) */
937
+ quantity?: InputMaybe<Scalars['Int']['input']>;
938
+ /** Start date for this specific charge (if not provided, uses quote start date) */
939
+ startDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
940
+ };
896
941
  export type ChargeType =
897
942
  /** One_time charge */
898
943
  'ONE_TIME'
@@ -900,6 +945,44 @@ export type ChargeType =
900
945
  | 'RECURRING'
901
946
  /** Usage charge */
902
947
  | 'USAGE';
948
+ export type Chat = {
949
+ __typename?: 'Chat';
950
+ createdAt: Scalars['ISO8601DateTime']['output'];
951
+ id: Scalars['ID']['output'];
952
+ messages: Array<Message>;
953
+ title: Scalars['String']['output'];
954
+ updatedAt: Scalars['ISO8601DateTime']['output'];
955
+ };
956
+ /** Autogenerated return type of ChatAsk. */
957
+ export type ChatAskPayload = {
958
+ __typename?: 'ChatAskPayload';
959
+ errors: Array<Scalars['String']['output']>;
960
+ };
961
+ /** The connection type for Chat. */
962
+ export type ChatConnection = {
963
+ __typename?: 'ChatConnection';
964
+ /** A list of edges. */
965
+ edges?: Maybe<Array<Maybe<ChatEdge>>>;
966
+ /** A list of nodes. */
967
+ nodes?: Maybe<Array<Maybe<Chat>>>;
968
+ /** Information to aid in pagination. */
969
+ pageInfo: PageInfo;
970
+ totalCount: Scalars['Int']['output'];
971
+ };
972
+ /** Autogenerated return type of ChatCreate. */
973
+ export type ChatCreatePayload = {
974
+ __typename?: 'ChatCreatePayload';
975
+ chatId?: Maybe<Scalars['String']['output']>;
976
+ errors: Array<Scalars['String']['output']>;
977
+ };
978
+ /** An edge in a connection. */
979
+ export type ChatEdge = {
980
+ __typename?: 'ChatEdge';
981
+ /** A cursor for use in pagination. */
982
+ cursor: Scalars['String']['output'];
983
+ /** The item at the end of the edge. */
984
+ node?: Maybe<Chat>;
985
+ };
903
986
  /** Autogenerated return type of Checkout. */
904
987
  export type CheckoutPayload = {
905
988
  __typename?: 'CheckoutPayload';
@@ -1220,6 +1303,8 @@ export type CreditNote = {
1220
1303
  creditedInvoiceId?: Maybe<Scalars['ID']['output']>;
1221
1304
  currencyId: Scalars['ID']['output'];
1222
1305
  description: Scalars['String']['output'];
1306
+ dispute?: Maybe<Dispute>;
1307
+ disputeId?: Maybe<Scalars['ID']['output']>;
1223
1308
  disputeReason?: Maybe<DisputeReason>;
1224
1309
  disputeReasonId?: Maybe<Scalars['ID']['output']>;
1225
1310
  entity: Entity;
@@ -1295,13 +1380,12 @@ export type CreditNoteEdge = {
1295
1380
  export type CreditNoteIssuePayload = {
1296
1381
  __typename?: 'CreditNoteIssuePayload';
1297
1382
  /** The issued credit note */
1298
- creditNote?: Maybe<Invoice>;
1383
+ creditNote?: Maybe<CreditNote>;
1299
1384
  };
1300
1385
  export type CreditNoteItem = {
1301
1386
  __typename?: 'CreditNoteItem';
1302
1387
  amount: Scalars['Float']['output'];
1303
1388
  currencyId: Scalars['String']['output'];
1304
- discount?: Maybe<Scalars['Float']['output']>;
1305
1389
  id?: Maybe<Scalars['ID']['output']>;
1306
1390
  invoiceItem?: Maybe<InvoiceItem>;
1307
1391
  invoiceItemId?: Maybe<Scalars['ID']['output']>;
@@ -1310,7 +1394,6 @@ export type CreditNoteItem = {
1310
1394
  price?: Maybe<Scalars['Float']['output']>;
1311
1395
  priceDecimals: Scalars['Int']['output'];
1312
1396
  priceTiers?: Maybe<Array<FormattedChargePriceTier>>;
1313
- prorationRate?: Maybe<Scalars['Float']['output']>;
1314
1397
  quantity?: Maybe<Scalars['Int']['output']>;
1315
1398
  subtotal: Scalars['Float']['output'];
1316
1399
  taxAmount?: Maybe<Scalars['Float']['output']>;
@@ -1321,6 +1404,25 @@ export type CreditNoteItemAttributes = {
1321
1404
  amount: Scalars['Float']['input'];
1322
1405
  id: Scalars['ID']['input'];
1323
1406
  };
1407
+ /** The connection type for CreditNoteItem. */
1408
+ export type CreditNoteItemConnection = {
1409
+ __typename?: 'CreditNoteItemConnection';
1410
+ /** A list of edges. */
1411
+ edges?: Maybe<Array<Maybe<CreditNoteItemEdge>>>;
1412
+ /** A list of nodes. */
1413
+ nodes?: Maybe<Array<Maybe<CreditNoteItem>>>;
1414
+ /** Information to aid in pagination. */
1415
+ pageInfo: PageInfo;
1416
+ totalCount: Scalars['Int']['output'];
1417
+ };
1418
+ /** An edge in a connection. */
1419
+ export type CreditNoteItemEdge = {
1420
+ __typename?: 'CreditNoteItemEdge';
1421
+ /** A cursor for use in pagination. */
1422
+ cursor: Scalars['String']['output'];
1423
+ /** The item at the end of the edge. */
1424
+ node?: Maybe<CreditNoteItem>;
1425
+ };
1324
1426
  export type CreditNoteKind =
1325
1427
  /** Credit credit note */
1326
1428
  'CREDIT'
@@ -1389,12 +1491,6 @@ export type CurrencyConversionType =
1389
1491
  'fixed'
1390
1492
  /** Convert to base currency using conversion rate lookup */
1391
1493
  | 'lookup';
1392
- /** Autogenerated return type of CurrencyCreate. */
1393
- export type CurrencyCreatePayload = {
1394
- __typename?: 'CurrencyCreatePayload';
1395
- currency: Currency;
1396
- errors?: Maybe<Scalars['String']['output']>;
1397
- };
1398
1494
  /** An edge in a connection. */
1399
1495
  export type CurrencyEdge = {
1400
1496
  __typename?: 'CurrencyEdge';
@@ -1411,9 +1507,11 @@ export type CurrencyUpdatePayload = {
1411
1507
  };
1412
1508
  export type CurrentUser = {
1413
1509
  __typename?: 'CurrentUser';
1510
+ account?: Maybe<Account>;
1414
1511
  accountName?: Maybe<Scalars['String']['output']>;
1415
1512
  authObject?: Maybe<AuthObject>;
1416
1513
  authObjectName?: Maybe<Scalars['String']['output']>;
1514
+ delinquentMessage?: Maybe<Scalars['String']['output']>;
1417
1515
  entityId?: Maybe<Scalars['ID']['output']>;
1418
1516
  featureFlags: Array<FeatureFlag>;
1419
1517
  payload?: Maybe<CurrentUserPayload>;
@@ -1692,6 +1790,61 @@ export type DemoDataDeletePayload = {
1692
1790
  __typename?: 'DemoDataDeletePayload';
1693
1791
  errors?: Maybe<Scalars['String']['output']>;
1694
1792
  };
1793
+ export type Dispute = {
1794
+ __typename?: 'Dispute';
1795
+ account: Account;
1796
+ accountId: Scalars['ID']['output'];
1797
+ amount: Scalars['Float']['output'];
1798
+ closedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
1799
+ createdAt: Scalars['ISO8601DateTime']['output'];
1800
+ currency: Currency;
1801
+ currencyId: Scalars['String']['output'];
1802
+ entity: Entity;
1803
+ entityId: Scalars['ID']['output'];
1804
+ feeAmount: Scalars['Float']['output'];
1805
+ id: Scalars['ID']['output'];
1806
+ invoices?: Maybe<Array<Invoice>>;
1807
+ payment: Payment;
1808
+ paymentId: Scalars['ID']['output'];
1809
+ processingState: DisputeProcessingState;
1810
+ reason?: Maybe<Scalars['String']['output']>;
1811
+ remoteTransactionId: Scalars['String']['output'];
1812
+ state: DisputeState;
1813
+ subscriptions?: Maybe<Array<Subscription>>;
1814
+ updatedAt: Scalars['ISO8601DateTime']['output'];
1815
+ warrenId: Scalars['ID']['output'];
1816
+ };
1817
+ /** The connection type for Dispute. */
1818
+ export type DisputeConnection = {
1819
+ __typename?: 'DisputeConnection';
1820
+ /** A list of edges. */
1821
+ edges?: Maybe<Array<Maybe<DisputeEdge>>>;
1822
+ /** A list of nodes. */
1823
+ nodes?: Maybe<Array<Maybe<Dispute>>>;
1824
+ /** Information to aid in pagination. */
1825
+ pageInfo: PageInfo;
1826
+ totalCount: Scalars['Int']['output'];
1827
+ };
1828
+ /** An edge in a connection. */
1829
+ export type DisputeEdge = {
1830
+ __typename?: 'DisputeEdge';
1831
+ /** A cursor for use in pagination. */
1832
+ cursor: Scalars['String']['output'];
1833
+ /** The item at the end of the edge. */
1834
+ node?: Maybe<Dispute>;
1835
+ };
1836
+ export type DisputeInvoiceAction =
1837
+ /** Create a credit note and refund when dispute is lost */
1838
+ 'CREDIT_NOTE_AND_REFUND'
1839
+ /** Take no action on invoices when dispute is lost */
1840
+ | 'DO_NOTHING'
1841
+ /** Unpay the invoice and create a refund when dispute is lost */
1842
+ | 'UNPAY_AND_REFUND';
1843
+ export type DisputeProcessingState =
1844
+ /** Dispute processing is closed */
1845
+ 'CLOSED'
1846
+ /** Dispute processing is open */
1847
+ | 'OPEN';
1695
1848
  export type DisputeReason = {
1696
1849
  __typename?: 'DisputeReason';
1697
1850
  description?: Maybe<Scalars['String']['output']>;
@@ -1739,6 +1892,20 @@ export type DisputeReasonUpdatePayload = {
1739
1892
  disputeReason?: Maybe<DisputeReason>;
1740
1893
  errors?: Maybe<Array<Scalars['String']['output']>>;
1741
1894
  };
1895
+ export type DisputeState =
1896
+ /** Dispute has been lost by the merchant */
1897
+ 'LOST'
1898
+ /** Dispute is open and under review */
1899
+ | 'OPEN'
1900
+ /** Dispute has been won by the merchant */
1901
+ | 'WON';
1902
+ export type DisputeSubscriptionAction =
1903
+ /** Cancel subscriptions immediately when dispute is lost */
1904
+ 'CANCEL_IMMEDIATELY'
1905
+ /** Take no action on subscriptions when dispute is lost */
1906
+ | 'DO_NOTHING'
1907
+ /** Disable auto-renewal for subscriptions when dispute is lost */
1908
+ | 'DO_NOT_AUTO_RENEW';
1742
1909
  export type Document = {
1743
1910
  __typename?: 'Document';
1744
1911
  date: Scalars['ISO8601DateTime']['output'];
@@ -1747,6 +1914,245 @@ export type Document = {
1747
1914
  size: Scalars['String']['output'];
1748
1915
  url: Scalars['String']['output'];
1749
1916
  };
1917
+ export type DocumentTemplate = {
1918
+ __typename?: 'DocumentTemplate';
1919
+ components?: Maybe<Array<DocumentTemplateComponent>>;
1920
+ createdAt: Scalars['ISO8601DateTime']['output'];
1921
+ description?: Maybe<Scalars['String']['output']>;
1922
+ font?: Maybe<Scalars['String']['output']>;
1923
+ id?: Maybe<Scalars['ID']['output']>;
1924
+ lineHeight?: Maybe<Scalars['String']['output']>;
1925
+ name: Scalars['String']['output'];
1926
+ pageSize: Scalars['String']['output'];
1927
+ updatedAt: Scalars['ISO8601DateTime']['output'];
1928
+ };
1929
+ export type DocumentTemplateAttributes = {
1930
+ components?: InputMaybe<Array<DocumentTemplateComponentAttributes>>;
1931
+ description?: InputMaybe<Scalars['String']['input']>;
1932
+ font?: InputMaybe<Scalars['String']['input']>;
1933
+ lineHeight?: InputMaybe<Scalars['String']['input']>;
1934
+ name?: InputMaybe<Scalars['String']['input']>;
1935
+ pageSize?: InputMaybe<Scalars['String']['input']>;
1936
+ };
1937
+ export type DocumentTemplateComponent = {
1938
+ __typename?: 'DocumentTemplateComponent';
1939
+ /** The alignment of the component */
1940
+ alignment?: Maybe<Scalars['String']['output']>;
1941
+ /** The background of the component */
1942
+ background?: Maybe<Scalars['String']['output']>;
1943
+ /** The color of the component */
1944
+ color?: Maybe<Scalars['String']['output']>;
1945
+ /** The content of the component */
1946
+ content?: Maybe<Scalars['String']['output']>;
1947
+ /** The created at timestamp */
1948
+ createdAt: Scalars['ISO8601DateTime']['output'];
1949
+ /** The ID of the template that the component belongs to */
1950
+ documentTemplateId?: Maybe<Scalars['ID']['output']>;
1951
+ /** The font of the component */
1952
+ font?: Maybe<Scalars['String']['output']>;
1953
+ /** The font size of the component */
1954
+ fontSize?: Maybe<Scalars['String']['output']>;
1955
+ /** The font weight of the component */
1956
+ fontWeight?: Maybe<Scalars['String']['output']>;
1957
+ /** The height of the component */
1958
+ height?: Maybe<Scalars['String']['output']>;
1959
+ id?: Maybe<Scalars['ID']['output']>;
1960
+ /** The image scale of the component */
1961
+ imageScale?: Maybe<Scalars['String']['output']>;
1962
+ /** The signed_id for an image attachment */
1963
+ imageSignedId?: Maybe<Scalars['String']['output']>;
1964
+ /** The url for an image attachment */
1965
+ imageUrl?: Maybe<Scalars['String']['output']>;
1966
+ /** The kind of the component */
1967
+ kind?: Maybe<DocumentTemplateComponentKind>;
1968
+ /** The line spacing of the component */
1969
+ lineSpacing?: Maybe<Scalars['String']['output']>;
1970
+ /** The margin bottom of the component */
1971
+ marginBottom?: Maybe<Scalars['Int']['output']>;
1972
+ /** The margin left of the component */
1973
+ marginLeft?: Maybe<Scalars['Int']['output']>;
1974
+ /** The margin right of the component */
1975
+ marginRight?: Maybe<Scalars['Int']['output']>;
1976
+ /** The margin top of the component */
1977
+ marginTop?: Maybe<Scalars['Int']['output']>;
1978
+ /** The padding bottom of the component */
1979
+ paddingBottom?: Maybe<Scalars['Int']['output']>;
1980
+ /** The padding left of the component */
1981
+ paddingLeft?: Maybe<Scalars['Int']['output']>;
1982
+ /** The padding right of the component */
1983
+ paddingRight?: Maybe<Scalars['Int']['output']>;
1984
+ /** The padding top of the component */
1985
+ paddingTop?: Maybe<Scalars['Int']['output']>;
1986
+ /** The position of the component in the template */
1987
+ position?: Maybe<Scalars['Int']['output']>;
1988
+ /** Number of pages to skip before header is shown */
1989
+ skipPages?: Maybe<Scalars['Boolean']['output']>;
1990
+ /** Whether to use two columns */
1991
+ twoColumns?: Maybe<Scalars['Boolean']['output']>;
1992
+ /** The updated at timestamp */
1993
+ updatedAt: Scalars['ISO8601DateTime']['output'];
1994
+ /** The width of the component */
1995
+ width?: Maybe<Scalars['String']['output']>;
1996
+ };
1997
+ export type DocumentTemplateComponentAttributes = {
1998
+ /** The alignment of the component */
1999
+ alignment?: InputMaybe<Scalars['String']['input']>;
2000
+ /** The background of the component */
2001
+ background?: InputMaybe<Scalars['String']['input']>;
2002
+ /** The color of the component */
2003
+ color?: InputMaybe<Scalars['String']['input']>;
2004
+ /** The content of the component */
2005
+ content?: InputMaybe<Scalars['String']['input']>;
2006
+ /** The ID of the template that the component belongs to */
2007
+ documentTemplateId?: InputMaybe<Scalars['ID']['input']>;
2008
+ /** The font of the component */
2009
+ font?: InputMaybe<Scalars['String']['input']>;
2010
+ /** The font size of the component */
2011
+ fontSize?: InputMaybe<Scalars['String']['input']>;
2012
+ /** The font weight of the component */
2013
+ fontWeight?: InputMaybe<Scalars['String']['input']>;
2014
+ /** The height of the component */
2015
+ height?: InputMaybe<Scalars['String']['input']>;
2016
+ /** The ID of the component */
2017
+ id?: InputMaybe<Scalars['ID']['input']>;
2018
+ /** The image scale of the component */
2019
+ imageScale?: InputMaybe<Scalars['String']['input']>;
2020
+ /** The signed_id for an image attachment */
2021
+ imageSignedId?: InputMaybe<Scalars['String']['input']>;
2022
+ /** The kind of the component */
2023
+ kind: DocumentTemplateComponentKind;
2024
+ /** The line spacing of the component */
2025
+ lineSpacing?: InputMaybe<Scalars['String']['input']>;
2026
+ /** The margin bottom of the component */
2027
+ marginBottom?: InputMaybe<Scalars['Int']['input']>;
2028
+ /** The margin left of the component */
2029
+ marginLeft?: InputMaybe<Scalars['Int']['input']>;
2030
+ /** The margin right of the component */
2031
+ marginRight?: InputMaybe<Scalars['Int']['input']>;
2032
+ /** The margin top of the component */
2033
+ marginTop?: InputMaybe<Scalars['Int']['input']>;
2034
+ /** The padding bottom of the component */
2035
+ paddingBottom?: InputMaybe<Scalars['Int']['input']>;
2036
+ /** The padding left of the component */
2037
+ paddingLeft?: InputMaybe<Scalars['Int']['input']>;
2038
+ /** The padding right of the component */
2039
+ paddingRight?: InputMaybe<Scalars['Int']['input']>;
2040
+ /** The padding top of the component */
2041
+ paddingTop?: InputMaybe<Scalars['Int']['input']>;
2042
+ /** The position of the component in the template */
2043
+ position?: InputMaybe<Scalars['Int']['input']>;
2044
+ /** Number of pages to skip before header is shown */
2045
+ skipPages?: InputMaybe<Scalars['Boolean']['input']>;
2046
+ /** Whether to use two columns */
2047
+ twoColumns?: InputMaybe<Scalars['Boolean']['input']>;
2048
+ /** The width of the component */
2049
+ width?: InputMaybe<Scalars['String']['input']>;
2050
+ };
2051
+ /** The connection type for DocumentTemplateComponent. */
2052
+ export type DocumentTemplateComponentConnection = {
2053
+ __typename?: 'DocumentTemplateComponentConnection';
2054
+ /** A list of edges. */
2055
+ edges?: Maybe<Array<Maybe<DocumentTemplateComponentEdge>>>;
2056
+ /** A list of nodes. */
2057
+ nodes?: Maybe<Array<Maybe<DocumentTemplateComponent>>>;
2058
+ /** Information to aid in pagination. */
2059
+ pageInfo: PageInfo;
2060
+ totalCount: Scalars['Int']['output'];
2061
+ };
2062
+ /** Autogenerated return type of DocumentTemplateComponentCreate. */
2063
+ export type DocumentTemplateComponentCreatePayload = {
2064
+ __typename?: 'DocumentTemplateComponentCreatePayload';
2065
+ documentTemplateComponent?: Maybe<DocumentTemplateComponent>;
2066
+ errors?: Maybe<Array<Scalars['String']['output']>>;
2067
+ };
2068
+ /** Autogenerated return type of DocumentTemplateComponentDelete. */
2069
+ export type DocumentTemplateComponentDeletePayload = {
2070
+ __typename?: 'DocumentTemplateComponentDeletePayload';
2071
+ documentTemplateComponent?: Maybe<DocumentTemplateComponent>;
2072
+ errors?: Maybe<Scalars['String']['output']>;
2073
+ };
2074
+ /** An edge in a connection. */
2075
+ export type DocumentTemplateComponentEdge = {
2076
+ __typename?: 'DocumentTemplateComponentEdge';
2077
+ /** A cursor for use in pagination. */
2078
+ cursor: Scalars['String']['output'];
2079
+ /** The item at the end of the edge. */
2080
+ node?: Maybe<DocumentTemplateComponent>;
2081
+ };
2082
+ export type DocumentTemplateComponentKind =
2083
+ /** Account */
2084
+ 'ACCOUNT'
2085
+ /** Entity */
2086
+ | 'ENTITY'
2087
+ /** Footer */
2088
+ | 'FOOTER'
2089
+ /** Header */
2090
+ | 'HEADER'
2091
+ /** Heading */
2092
+ | 'HEADING'
2093
+ /** Image */
2094
+ | 'IMAGE'
2095
+ /** Pagebreak */
2096
+ | 'PAGEBREAK'
2097
+ /** Paragraph */
2098
+ | 'PARAGRAPH'
2099
+ /** Quote */
2100
+ | 'QUOTE'
2101
+ /** Separator */
2102
+ | 'SEPARATOR'
2103
+ /** Signatures */
2104
+ | 'SIGNATURES'
2105
+ /** Spacer */
2106
+ | 'SPACER';
2107
+ /** Autogenerated return type of DocumentTemplateComponentUpdate. */
2108
+ export type DocumentTemplateComponentUpdatePayload = {
2109
+ __typename?: 'DocumentTemplateComponentUpdatePayload';
2110
+ documentTemplateComponent?: Maybe<DocumentTemplateComponent>;
2111
+ errors?: Maybe<Array<Scalars['String']['output']>>;
2112
+ };
2113
+ /** The connection type for DocumentTemplate. */
2114
+ export type DocumentTemplateConnection = {
2115
+ __typename?: 'DocumentTemplateConnection';
2116
+ /** A list of edges. */
2117
+ edges?: Maybe<Array<Maybe<DocumentTemplateEdge>>>;
2118
+ /** A list of nodes. */
2119
+ nodes?: Maybe<Array<Maybe<DocumentTemplate>>>;
2120
+ /** Information to aid in pagination. */
2121
+ pageInfo: PageInfo;
2122
+ totalCount: Scalars['Int']['output'];
2123
+ };
2124
+ /** Autogenerated return type of DocumentTemplateCreate. */
2125
+ export type DocumentTemplateCreatePayload = {
2126
+ __typename?: 'DocumentTemplateCreatePayload';
2127
+ documentTemplate?: Maybe<DocumentTemplate>;
2128
+ errors?: Maybe<Array<Scalars['String']['output']>>;
2129
+ };
2130
+ /** Autogenerated return type of DocumentTemplateDelete. */
2131
+ export type DocumentTemplateDeletePayload = {
2132
+ __typename?: 'DocumentTemplateDeletePayload';
2133
+ documentTemplate?: Maybe<DocumentTemplate>;
2134
+ errors?: Maybe<Scalars['String']['output']>;
2135
+ };
2136
+ /** An edge in a connection. */
2137
+ export type DocumentTemplateEdge = {
2138
+ __typename?: 'DocumentTemplateEdge';
2139
+ /** A cursor for use in pagination. */
2140
+ cursor: Scalars['String']['output'];
2141
+ /** The item at the end of the edge. */
2142
+ node?: Maybe<DocumentTemplate>;
2143
+ };
2144
+ export type DocumentTemplatePreview = {
2145
+ __typename?: 'DocumentTemplatePreview';
2146
+ html?: Maybe<Scalars['String']['output']>;
2147
+ id?: Maybe<Scalars['ID']['output']>;
2148
+ name?: Maybe<Scalars['String']['output']>;
2149
+ };
2150
+ /** Autogenerated return type of DocumentTemplateUpdate. */
2151
+ export type DocumentTemplateUpdatePayload = {
2152
+ __typename?: 'DocumentTemplateUpdatePayload';
2153
+ documentTemplate?: Maybe<DocumentTemplate>;
2154
+ errors?: Maybe<Array<Scalars['String']['output']>>;
2155
+ };
1750
2156
  export type DynamicComponent = {
1751
2157
  __typename?: 'DynamicComponent';
1752
2158
  column: Scalars['String']['output'];
@@ -1889,6 +2295,10 @@ export type Entity = {
1889
2295
  createdAt: Scalars['ISO8601DateTime']['output'];
1890
2296
  /** Email address for customer service */
1891
2297
  customerServiceEmail?: Maybe<Scalars['String']['output']>;
2298
+ /** Action to take over invoices when a dispute is lost */
2299
+ disputeInvoiceAction: DisputeInvoiceAction;
2300
+ /** Action to take over subscriptions when a dispute is lost */
2301
+ disputeSubscriptionAction: DisputeSubscriptionAction;
1892
2302
  /** The name that will appear as sender in the inbox */
1893
2303
  emailSenderName?: Maybe<Scalars['String']['output']>;
1894
2304
  /** Email template */
@@ -1897,6 +2307,8 @@ export type Entity = {
1897
2307
  fax?: Maybe<Scalars['String']['output']>;
1898
2308
  /** The first month of the fiscal year (0-11) */
1899
2309
  fiscalYearStartMonth?: Maybe<Scalars['Int']['output']>;
2310
+ /** Hide $0 charges from customer-facing quotes */
2311
+ hideZeroQuoteCharges?: Maybe<Scalars['Boolean']['output']>;
1900
2312
  id?: Maybe<Scalars['ID']['output']>;
1901
2313
  /** Prefix value for all invoice numbers. e.g. INV */
1902
2314
  invoiceNumberPrefix?: Maybe<Scalars['String']['output']>;
@@ -1957,6 +2369,10 @@ export type EntityAttributes = {
1957
2369
  brandColor?: InputMaybe<Scalars['String']['input']>;
1958
2370
  /** Email address for customer service */
1959
2371
  customerServiceEmail?: InputMaybe<Scalars['String']['input']>;
2372
+ /** Action to over an invoice when a dispute is lost */
2373
+ disputeInvoiceAction?: InputMaybe<DisputeInvoiceAction>;
2374
+ /** Action to take over a subscription when dispute is lost */
2375
+ disputeSubscriptionAction?: InputMaybe<DisputeSubscriptionAction>;
1960
2376
  /** The name that will appear as sender in the inbox */
1961
2377
  emailSenderName?: InputMaybe<Scalars['String']['input']>;
1962
2378
  /** Email template */
@@ -1965,6 +2381,8 @@ export type EntityAttributes = {
1965
2381
  fax?: InputMaybe<Scalars['String']['input']>;
1966
2382
  /** The first month of the fiscal year (0-11) */
1967
2383
  fiscalYearStartMonth?: InputMaybe<Scalars['Int']['input']>;
2384
+ /** Hide $0 charges from customer-facing quotes */
2385
+ hideZeroQuoteCharges?: InputMaybe<Scalars['Boolean']['input']>;
1968
2386
  /** Prefix value for all invoice numbers. e.g. INV */
1969
2387
  invoiceNumberPrefix?: InputMaybe<Scalars['String']['input']>;
1970
2388
  /** Number to start invoice numbers from */
@@ -2041,6 +2459,11 @@ export type EntityEdge = {
2041
2459
  /** The item at the end of the edge. */
2042
2460
  node?: Maybe<Entity>;
2043
2461
  };
2462
+ /** Autogenerated return type of EntityTemplateEmailTest. */
2463
+ export type EntityTemplateEmailTestPayload = {
2464
+ __typename?: 'EntityTemplateEmailTestPayload';
2465
+ errors?: Maybe<Array<Scalars['String']['output']>>;
2466
+ };
2044
2467
  /** Autogenerated return type of EntityUpdate. */
2045
2468
  export type EntityUpdatePayload = {
2046
2469
  __typename?: 'EntityUpdatePayload';
@@ -2063,8 +2486,12 @@ export type Event = {
2063
2486
  longDescription: Scalars['String']['output'];
2064
2487
  objectType?: Maybe<Scalars['String']['output']>;
2065
2488
  payload: Scalars['JSON']['output'];
2489
+ queryName?: Maybe<Scalars['String']['output']>;
2490
+ queryType?: Maybe<Scalars['String']['output']>;
2066
2491
  severity: Scalars['String']['output'];
2067
2492
  shortDescription: Scalars['String']['output'];
2493
+ shortForm: Scalars['String']['output'];
2494
+ target?: Maybe<Scalars['String']['output']>;
2068
2495
  timeAgo: Scalars['String']['output'];
2069
2496
  uuid: Scalars['String']['output'];
2070
2497
  };
@@ -2106,7 +2533,6 @@ export type EventEdge = {
2106
2533
  };
2107
2534
  export type Feature = {
2108
2535
  __typename?: 'Feature';
2109
- chargeType?: Maybe<ChargeType>;
2110
2536
  code?: Maybe<Scalars['String']['output']>;
2111
2537
  createdAt: Scalars['ISO8601DateTime']['output'];
2112
2538
  description?: Maybe<Scalars['String']['output']>;
@@ -2174,10 +2600,6 @@ export type FeatureFlag = {
2174
2600
  code?: Maybe<Scalars['String']['output']>;
2175
2601
  quantity?: Maybe<Scalars['Int']['output']>;
2176
2602
  };
2177
- export type FeatureFlagAttributes = {
2178
- code?: InputMaybe<Scalars['String']['input']>;
2179
- quantity?: InputMaybe<Scalars['Int']['input']>;
2180
- };
2181
2603
  export type FeatureKind =
2182
2604
  /** True or false */
2183
2605
  'BOOLEAN'
@@ -2201,6 +2623,7 @@ export type FeatureUsage = {
2201
2623
  feature?: Maybe<Feature>;
2202
2624
  featureId?: Maybe<Scalars['ID']['output']>;
2203
2625
  id: Scalars['ID']['output'];
2626
+ notes?: Maybe<Scalars['String']['output']>;
2204
2627
  plan?: Maybe<Plan>;
2205
2628
  product?: Maybe<Product>;
2206
2629
  quantity: Scalars['Float']['output'];
@@ -2215,6 +2638,8 @@ export type FeatureUsageAttributes = {
2215
2638
  accountId?: InputMaybe<Scalars['ID']['input']>;
2216
2639
  featureCode?: InputMaybe<Scalars['String']['input']>;
2217
2640
  featureId?: InputMaybe<Scalars['ID']['input']>;
2641
+ notes?: InputMaybe<Scalars['String']['input']>;
2642
+ overrideUsageAtLimit?: InputMaybe<Scalars['Boolean']['input']>;
2218
2643
  quantity?: InputMaybe<Scalars['Float']['input']>;
2219
2644
  subscriptionChargeId?: InputMaybe<Scalars['ID']['input']>;
2220
2645
  subscriptionId?: InputMaybe<Scalars['ID']['input']>;
@@ -2336,8 +2761,6 @@ export type FieldValue = {
2336
2761
  /** The financial account record used for accounting */
2337
2762
  export type FinancialAccount = {
2338
2763
  __typename?: 'FinancialAccount';
2339
- /** The account the financial account belongs to */
2340
- accountId?: Maybe<Scalars['ID']['output']>;
2341
2764
  /** The account number of the financial account */
2342
2765
  accountNumber?: Maybe<Scalars['String']['output']>;
2343
2766
  /** The type of the financial account */
@@ -2438,8 +2861,12 @@ export type FinancialAccountEdge = {
2438
2861
  node?: Maybe<FinancialAccount>;
2439
2862
  };
2440
2863
  export type FinancialAccountType =
2864
+ /** Accounts payable */
2865
+ 'accounts_payable'
2441
2866
  /** Accounts receivable */
2442
- 'accounts_receivable'
2867
+ | 'accounts_receivable'
2868
+ /** Bad debt */
2869
+ | 'bad_debt'
2443
2870
  /** Banking fees */
2444
2871
  | 'banking_fees'
2445
2872
  /** Conversion gain */
@@ -2448,6 +2875,8 @@ export type FinancialAccountType =
2448
2875
  | 'conversion_loss'
2449
2876
  /** CPCA */
2450
2877
  | 'cpca'
2878
+ /** Customer advances */
2879
+ | 'customer_advances'
2451
2880
  /** Deferred revenue */
2452
2881
  | 'deferred_revenue'
2453
2882
  /** Earned revenue */
@@ -2641,14 +3070,15 @@ export type FormattedQuote = {
2641
3070
  endDate?: Maybe<Scalars['ISO8601Date']['output']>;
2642
3071
  evergreen: Scalars['Boolean']['output'];
2643
3072
  expiresAt?: Maybe<Scalars['ISO8601Date']['output']>;
3073
+ files?: Maybe<Array<Document>>;
2644
3074
  formattedLines: Array<QuoteLine>;
2645
3075
  html?: Maybe<Scalars['String']['output']>;
2646
3076
  netPaymentDays?: Maybe<Scalars['Int']['output']>;
2647
3077
  notes?: Maybe<Scalars['String']['output']>;
2648
3078
  number?: Maybe<Scalars['String']['output']>;
2649
- object: Quote;
2650
3079
  payableId?: Maybe<Scalars['ID']['output']>;
2651
3080
  poNumberRequired?: Maybe<Scalars['Boolean']['output']>;
3081
+ quote: Quote;
2652
3082
  salesContactEmail?: Maybe<Scalars['String']['output']>;
2653
3083
  sharedAt?: Maybe<Scalars['ISO8601Date']['output']>;
2654
3084
  startDate?: Maybe<Scalars['ISO8601Date']['output']>;
@@ -2838,6 +3268,8 @@ export type Invoice = {
2838
3268
  amount: Scalars['Float']['output'];
2839
3269
  amountDue?: Maybe<Scalars['Float']['output']>;
2840
3270
  amountPaid?: Maybe<Scalars['Float']['output']>;
3271
+ baseCurrencyId: Scalars['ID']['output'];
3272
+ baseCurrencyTotal: Scalars['Float']['output'];
2841
3273
  couponApplied: Scalars['Boolean']['output'];
2842
3274
  createdAt: Scalars['ISO8601DateTime']['output'];
2843
3275
  creditItem?: Maybe<InvoiceItem>;
@@ -2846,13 +3278,22 @@ export type Invoice = {
2846
3278
  currencyId: Scalars['ID']['output'];
2847
3279
  description: Scalars['String']['output'];
2848
3280
  dueAt?: Maybe<Scalars['ISO8601Date']['output']>;
3281
+ entity: Entity;
3282
+ hasPaymentMethod?: Maybe<Scalars['Boolean']['output']>;
2849
3283
  /** IDs are null when object is previewed */
2850
3284
  id?: Maybe<Scalars['ID']['output']>;
3285
+ /** Internal notes that are not included in the invoice PDF, only visible in the App */
3286
+ internalNotes?: Maybe<Scalars['String']['output']>;
2851
3287
  invoiceItems?: Maybe<Array<InvoiceItem>>;
2852
3288
  isLegacy: Scalars['Boolean']['output'];
2853
3289
  issuedAt?: Maybe<Scalars['ISO8601Date']['output']>;
2854
3290
  kind: Scalars['String']['output'];
3291
+ /** The invoices that were merged into this invoice */
3292
+ mergedInvoices?: Maybe<Array<Invoice>>;
3293
+ /** The invoice this invoice was merged into */
3294
+ mergedToInvoice?: Maybe<Invoice>;
2855
3295
  netPaymentDays: Scalars['Int']['output'];
3296
+ notes?: Maybe<Scalars['String']['output']>;
2856
3297
  /** Invoice number. Blank when invoice is being prepared */
2857
3298
  number?: Maybe<Scalars['String']['output']>;
2858
3299
  operations: Array<Scalars['String']['output']>;
@@ -2860,16 +3301,21 @@ export type Invoice = {
2860
3301
  payableId?: Maybe<Scalars['ID']['output']>;
2861
3302
  /** Payments applied to this invoice */
2862
3303
  paymentApplications?: Maybe<Array<PaymentApplication>>;
3304
+ paymentFailedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
3305
+ paymentFailureReason?: Maybe<Scalars['String']['output']>;
2863
3306
  payments?: Maybe<PaymentConnection>;
2864
3307
  poNumber?: Maybe<Scalars['String']['output']>;
2865
3308
  /** URL to the invoice within the customer portal */
2866
3309
  portalUrl: Scalars['String']['output'];
2867
3310
  quote?: Maybe<Quote>;
2868
3311
  quoteId?: Maybe<Scalars['ID']['output']>;
3312
+ /** Email address where the invoice was last sent to */
3313
+ sendInvoiceTo?: Maybe<Scalars['String']['output']>;
2869
3314
  smallUnitAmountDue?: Maybe<Scalars['Int']['output']>;
2870
3315
  state: InvoiceState;
2871
3316
  subtotal: Scalars['Float']['output'];
2872
3317
  taxAmount: Scalars['Float']['output'];
3318
+ taxRate?: Maybe<Scalars['Float']['output']>;
2873
3319
  transactionRecord: Transaction;
2874
3320
  updatedAt: Scalars['ISO8601DateTime']['output'];
2875
3321
  /** URL to the invoice within the Bunny app */
@@ -2888,6 +3334,8 @@ export type InvoiceAddCreditPayload = {
2888
3334
  invoiceItem?: Maybe<InvoiceItem>;
2889
3335
  };
2890
3336
  export type InvoiceAttributes = {
3337
+ internalNotes?: InputMaybe<Scalars['String']['input']>;
3338
+ notes?: InputMaybe<Scalars['String']['input']>;
2891
3339
  poNumber?: InputMaybe<Scalars['String']['input']>;
2892
3340
  };
2893
3341
  /** The connection type for Invoice. */
@@ -2912,6 +3360,12 @@ export type InvoiceDeleteCreditPayload = {
2912
3360
  __typename?: 'InvoiceDeleteCreditPayload';
2913
3361
  invoiceItem?: Maybe<InvoiceItem>;
2914
3362
  };
3363
+ /** Autogenerated return type of InvoiceDequeue. */
3364
+ export type InvoiceDequeuePayload = {
3365
+ __typename?: 'InvoiceDequeuePayload';
3366
+ errors?: Maybe<Array<Scalars['String']['output']>>;
3367
+ invoice: Invoice;
3368
+ };
2915
3369
  /** An edge in a connection. */
2916
3370
  export type InvoiceEdge = {
2917
3371
  __typename?: 'InvoiceEdge';
@@ -2931,29 +3385,32 @@ export type InvoiceItem = {
2931
3385
  amount: Scalars['Float']['output'];
2932
3386
  charge: Charge;
2933
3387
  chargeType?: Maybe<Scalars['String']['output']>;
3388
+ comment?: Maybe<Scalars['String']['output']>;
2934
3389
  couponId?: Maybe<Scalars['ID']['output']>;
2935
3390
  creditNoteItem?: Maybe<CreditNoteItem>;
2936
3391
  creditedItem?: Maybe<InvoiceItem>;
2937
3392
  currencyId: Scalars['String']['output'];
2938
3393
  discount?: Maybe<Scalars['Float']['output']>;
3394
+ endDate?: Maybe<Scalars['ISO8601Date']['output']>;
2939
3395
  id?: Maybe<Scalars['ID']['output']>;
2940
3396
  invoice: Invoice;
2941
3397
  invoiceId: Scalars['ID']['output'];
2942
3398
  isCoupon: Scalars['Boolean']['output'];
2943
3399
  isCredit: Scalars['Boolean']['output'];
2944
- isRamp: Scalars['Boolean']['output'];
2945
3400
  kind?: Maybe<QuoteChangeKind>;
2946
3401
  lineText?: Maybe<Scalars['String']['output']>;
2947
3402
  position?: Maybe<Scalars['Int']['output']>;
2948
3403
  price?: Maybe<Scalars['Float']['output']>;
2949
3404
  priceDecimals: Scalars['Int']['output'];
3405
+ priceTier?: Maybe<FormattedChargePriceTier>;
2950
3406
  priceTiers?: Maybe<Array<FormattedChargePriceTier>>;
2951
3407
  prorationRate?: Maybe<Scalars['Float']['output']>;
2952
3408
  quantity?: Maybe<Scalars['Int']['output']>;
2953
- showProductNameOnLineItem: Scalars['Boolean']['output'];
3409
+ startDate?: Maybe<Scalars['ISO8601Date']['output']>;
2954
3410
  subtotal: Scalars['Float']['output'];
2955
3411
  taxAmount?: Maybe<Scalars['Float']['output']>;
2956
3412
  taxCode?: Maybe<Scalars['String']['output']>;
3413
+ taxRate?: Maybe<Scalars['Float']['output']>;
2957
3414
  vatCode?: Maybe<Scalars['String']['output']>;
2958
3415
  };
2959
3416
  /** The connection type for InvoiceItem. */
@@ -2975,6 +3432,18 @@ export type InvoiceItemEdge = {
2975
3432
  /** The item at the end of the edge. */
2976
3433
  node?: Maybe<InvoiceItem>;
2977
3434
  };
3435
+ /** Autogenerated return type of InvoiceMerge. */
3436
+ export type InvoiceMergePayload = {
3437
+ __typename?: 'InvoiceMergePayload';
3438
+ errors?: Maybe<Array<Scalars['String']['output']>>;
3439
+ invoice: Invoice;
3440
+ };
3441
+ /** Autogenerated return type of InvoiceMergeUndo. */
3442
+ export type InvoiceMergeUndoPayload = {
3443
+ __typename?: 'InvoiceMergeUndoPayload';
3444
+ errors?: Maybe<Array<Scalars['String']['output']>>;
3445
+ sourceInvoices: Array<Invoice>;
3446
+ };
2978
3447
  export type InvoiceMessage = {
2979
3448
  __typename?: 'InvoiceMessage';
2980
3449
  ids?: Maybe<Array<Scalars['ID']['output']>>;
@@ -2983,7 +3452,7 @@ export type InvoiceMessage = {
2983
3452
  /** Autogenerated return type of InvoiceRefund. */
2984
3453
  export type InvoiceRefundPayload = {
2985
3454
  __typename?: 'InvoiceRefundPayload';
2986
- creditNote?: Maybe<Invoice>;
3455
+ creditNote?: Maybe<CreditNote>;
2987
3456
  errors?: Maybe<Array<Scalars['String']['output']>>;
2988
3457
  };
2989
3458
  /** Autogenerated return type of InvoiceRegenerate. */
@@ -3017,12 +3486,16 @@ export type InvoiceSendEmailPayload = {
3017
3486
  invoice: Invoice;
3018
3487
  };
3019
3488
  export type InvoiceState =
3489
+ /** Consolidated invoice */
3490
+ 'CONSOLIDATED'
3020
3491
  /** Draft invoice */
3021
- 'DRAFT'
3492
+ | 'DRAFT'
3022
3493
  /** Due invoice */
3023
3494
  | 'DUE'
3024
3495
  /** Failed invoice */
3025
3496
  | 'FAILED'
3497
+ /** Merged invoice */
3498
+ | 'MERGED'
3026
3499
  /** Not_due invoice */
3027
3500
  | 'NOT_DUE'
3028
3501
  /** Paid invoice */
@@ -3031,6 +3504,8 @@ export type InvoiceState =
3031
3504
  | 'PREPARING'
3032
3505
  /** Processing_payment invoice */
3033
3506
  | 'PROCESSING_PAYMENT'
3507
+ /** Queued invoice */
3508
+ | 'QUEUED'
3034
3509
  /** Ready invoice */
3035
3510
  | 'READY'
3036
3511
  /** Unpaid invoice */
@@ -3049,6 +3524,7 @@ export type InvoiceTemplate = {
3049
3524
  includePaymentLink?: Maybe<Scalars['Boolean']['output']>;
3050
3525
  isDefault?: Maybe<Scalars['Boolean']['output']>;
3051
3526
  name?: Maybe<Scalars['String']['output']>;
3527
+ pageSize?: Maybe<Scalars['String']['output']>;
3052
3528
  poNumberRequired?: Maybe<Scalars['Boolean']['output']>;
3053
3529
  taxNumberLabel?: Maybe<Scalars['String']['output']>;
3054
3530
  taxNumberRequired?: Maybe<Scalars['Boolean']['output']>;
@@ -3062,6 +3538,7 @@ export type InvoiceTemplateAttributes = {
3062
3538
  includePaymentLink?: InputMaybe<Scalars['Boolean']['input']>;
3063
3539
  isDefault?: InputMaybe<Scalars['Boolean']['input']>;
3064
3540
  name?: InputMaybe<Scalars['String']['input']>;
3541
+ pageSize?: InputMaybe<Scalars['String']['input']>;
3065
3542
  poNumberRequired?: InputMaybe<Scalars['Boolean']['input']>;
3066
3543
  taxNumberLabel?: InputMaybe<Scalars['String']['input']>;
3067
3544
  taxNumberRequired?: InputMaybe<Scalars['Boolean']['input']>;
@@ -3103,6 +3580,12 @@ export type InvoiceTemplateUpdatePayload = {
3103
3580
  errors?: Maybe<Array<Scalars['String']['output']>>;
3104
3581
  invoiceTemplate?: Maybe<InvoiceTemplate>;
3105
3582
  };
3583
+ /** Autogenerated return type of InvoiceUpdateComment. */
3584
+ export type InvoiceUpdateCommentPayload = {
3585
+ __typename?: 'InvoiceUpdateCommentPayload';
3586
+ errors: Array<Scalars['String']['output']>;
3587
+ invoiceItem?: Maybe<InvoiceItem>;
3588
+ };
3106
3589
  /** Autogenerated return type of InvoiceUpdateCredit. */
3107
3590
  export type InvoiceUpdateCreditPayload = {
3108
3591
  __typename?: 'InvoiceUpdateCreditPayload';
@@ -3118,6 +3601,12 @@ export type InvoiceUpdateCreditsPayload = {
3118
3601
  errors: Array<Scalars['String']['output']>;
3119
3602
  invoiceItems?: Maybe<Array<InvoiceItem>>;
3120
3603
  };
3604
+ /** Autogenerated return type of InvoiceUpdateNotes. */
3605
+ export type InvoiceUpdateNotesPayload = {
3606
+ __typename?: 'InvoiceUpdateNotesPayload';
3607
+ errors: Array<Scalars['String']['output']>;
3608
+ invoice?: Maybe<Invoice>;
3609
+ };
3121
3610
  /** Autogenerated return type of InvoiceUpdate. */
3122
3611
  export type InvoiceUpdatePayload = {
3123
3612
  __typename?: 'InvoiceUpdatePayload';
@@ -3251,6 +3740,30 @@ export type JournalEntryLineEdge = {
3251
3740
  /** The item at the end of the edge. */
3252
3741
  node?: Maybe<JournalEntryLine>;
3253
3742
  };
3743
+ /** Launchpad metrics for revenue tracking */
3744
+ export type Launchpad = {
3745
+ __typename?: 'Launchpad';
3746
+ /** Actual cash collected in the current month */
3747
+ collectedCashThisMonth: Scalars['Float']['output'];
3748
+ /** Base currency ID from the specified entity */
3749
+ currencyId?: Maybe<Scalars['String']['output']>;
3750
+ /** The entity used for scoping dashboard data */
3751
+ entity?: Maybe<Entity>;
3752
+ /** The group ID used for filtering dashboard data (provided or default) */
3753
+ groupId?: Maybe<Scalars['ID']['output']>;
3754
+ /** Total revenue from invoices that are past due */
3755
+ pastDueRevenue: Scalars['Float']['output'];
3756
+ /** Total revenue in payments that failed processing */
3757
+ revenueInFailedPayments: Scalars['Float']['output'];
3758
+ /** Total revenue amount in quotes with shared status */
3759
+ sharedQuotes: Scalars['Float']['output'];
3760
+ /** Target cash collection from billing forecasts for current month */
3761
+ targetCashThisMonth: Scalars['Float']['output'];
3762
+ /** Total uncollected cash for the current month */
3763
+ uncollectedCashThisMonth: Scalars['Float']['output'];
3764
+ /** Total revenue from subscriptions nearing renewal */
3765
+ upcomingRenewals: Scalars['Float']['output'];
3766
+ };
3254
3767
  /** Leads are used to track potential new opportunities and can be converted to accounts */
3255
3768
  export type Lead = {
3256
3769
  __typename?: 'Lead';
@@ -3578,6 +4091,18 @@ export type Macro = {
3578
4091
  id: Scalars['ID']['output'];
3579
4092
  name: Scalars['String']['output'];
3580
4093
  };
4094
+ export type Message = {
4095
+ __typename?: 'Message';
4096
+ attachments?: Maybe<Array<Attachment>>;
4097
+ chat: Chat;
4098
+ chatId: Scalars['ID']['output'];
4099
+ content?: Maybe<Scalars['String']['output']>;
4100
+ createdAt: Scalars['ISO8601DateTime']['output'];
4101
+ id: Scalars['ID']['output'];
4102
+ role: Scalars['String']['output'];
4103
+ updatedAt: Scalars['ISO8601DateTime']['output'];
4104
+ user: User;
4105
+ };
3581
4106
  export type Method = {
3582
4107
  __typename?: 'Method';
3583
4108
  id: Scalars['ID']['output'];
@@ -3653,6 +4178,10 @@ export type Mutation = {
3653
4178
  campaignDelete?: Maybe<CampaignDeletePayload>;
3654
4179
  /** Update a campaign [REQUIRED_SCOPES:standard:write] */
3655
4180
  campaignUpdate?: Maybe<CampaignUpdatePayload>;
4181
+ /** Ask a question to the chat [REQUIRED_SCOPES:standard:write] */
4182
+ chatAsk?: Maybe<ChatAskPayload>;
4183
+ /** Create a chat [REQUIRED_SCOPES:standard:write] */
4184
+ chatCreate?: Maybe<ChatCreatePayload>;
3656
4185
  /** Pay a Quote or an Invoice [REQUIRED_SCOPES:standard:write] */
3657
4186
  checkout?: Maybe<CheckoutPayload>;
3658
4187
  /** Update company details [REQUIRED_SCOPES:admin:write] */
@@ -3681,8 +4210,6 @@ export type Mutation = {
3681
4210
  creditNoteUpdate?: Maybe<CreditNoteUpdatePayload>;
3682
4211
  /** Update a credit note taxes [REQUIRED_SCOPES:billing:write] */
3683
4212
  creditNoteUpdateTaxes?: Maybe<CreditNoteUpdateTaxesPayload>;
3684
- /** Create a currency [REQUIRED_SCOPES:billing:write] */
3685
- currencyCreate?: Maybe<CurrencyCreatePayload>;
3686
4213
  /** Update a currency [REQUIRED_SCOPES:billing:write] */
3687
4214
  currencyUpdate?: Maybe<CurrencyUpdatePayload>;
3688
4215
  /** Update the profile of the current user [REQUIRED_SCOPES:standard:write] */
@@ -3709,6 +4236,18 @@ export type Mutation = {
3709
4236
  disputeReasonDelete?: Maybe<DisputeReasonDeletePayload>;
3710
4237
  /** Update a dispute reason [REQUIRED_SCOPES:billing:write] */
3711
4238
  disputeReasonUpdate?: Maybe<DisputeReasonUpdatePayload>;
4239
+ /** Create a document template component [REQUIRED_SCOPES:billing:write] */
4240
+ documentTemplateComponentCreate?: Maybe<DocumentTemplateComponentCreatePayload>;
4241
+ /** Delete a document template component [REQUIRED_SCOPES:billing:write] */
4242
+ documentTemplateComponentDelete?: Maybe<DocumentTemplateComponentDeletePayload>;
4243
+ /** Update a document template component [REQUIRED_SCOPES:billing:write] */
4244
+ documentTemplateComponentUpdate?: Maybe<DocumentTemplateComponentUpdatePayload>;
4245
+ /** Create a document template [REQUIRED_SCOPES:billing:write] */
4246
+ documentTemplateCreate?: Maybe<DocumentTemplateCreatePayload>;
4247
+ /** Delete a document template [REQUIRED_SCOPES:billing:write] */
4248
+ documentTemplateDelete?: Maybe<DocumentTemplateDeletePayload>;
4249
+ /** Update a document template [REQUIRED_SCOPES:billing:write] */
4250
+ documentTemplateUpdate?: Maybe<DocumentTemplateUpdatePayload>;
3712
4251
  /** Reset email branding [REQUIRED_SCOPES:admin:write] */
3713
4252
  emailBrandingReset?: Maybe<EmailBrandingResetPayload>;
3714
4253
  /** Retry sending an email [REQUIRED_SCOPES:standard:write] */
@@ -3719,6 +4258,8 @@ export type Mutation = {
3719
4258
  entityDelete?: Maybe<EntityDeletePayload>;
3720
4259
  /** Create a duplicate of an entity [REQUIRED_SCOPES:admin:write] */
3721
4260
  entityDuplicate?: Maybe<EntityDuplicatePayload>;
4261
+ /** Send the entity email template to the current user. [REQUIRED_SCOPES:admin:write] */
4262
+ entityTemplateEmailTest?: Maybe<EntityTemplateEmailTestPayload>;
3722
4263
  /** Update an entity [REQUIRED_SCOPES:admin:write] */
3723
4264
  entityUpdate?: Maybe<EntityUpdatePayload>;
3724
4265
  /** Replaces a company address with a validated address [REQUIRED_SCOPES:admin:write] */
@@ -3761,8 +4302,14 @@ export type Mutation = {
3761
4302
  invoiceCredit?: Maybe<InvoiceCreditPayload>;
3762
4303
  /** Delete a credit from an invoice [REQUIRED_SCOPES:billing:write] */
3763
4304
  invoiceDeleteCredit?: Maybe<InvoiceDeleteCreditPayload>;
4305
+ /** Dequeue an invoice from consolidation queue for individual processing [REQUIRED_SCOPES:billing:write] */
4306
+ invoiceDequeue?: Maybe<InvoiceDequeuePayload>;
3764
4307
  /** Generate an invoice for the next billing period [REQUIRED_SCOPES:billing:write] */
3765
4308
  invoiceGenerateNextPeriod?: Maybe<InvoiceGenerateNextPeriodPayload>;
4309
+ /** Merge two or more invoices [REQUIRED_SCOPES:billing:write] */
4310
+ invoiceMerge?: Maybe<InvoiceMergePayload>;
4311
+ /** Undo the merge of two or more invoices [REQUIRED_SCOPES:billing:write] */
4312
+ invoiceMergeUndo?: Maybe<InvoiceMergeUndoPayload>;
3766
4313
  /** Refund an invoice [REQUIRED_SCOPES:billing:write] */
3767
4314
  invoiceRefund?: Maybe<InvoiceRefundPayload>;
3768
4315
  /** Regenerate an invoice [REQUIRED_SCOPES:billing:write] */
@@ -3783,10 +4330,14 @@ export type Mutation = {
3783
4330
  invoiceTemplateUpdate?: Maybe<InvoiceTemplateUpdatePayload>;
3784
4331
  /** Update an invoice [REQUIRED_SCOPES:billing:write] */
3785
4332
  invoiceUpdate?: Maybe<InvoiceUpdatePayload>;
4333
+ /** Add, update, or remove a comment on an invoice item [REQUIRED_SCOPES:billing:write] */
4334
+ invoiceUpdateComment?: Maybe<InvoiceUpdateCommentPayload>;
3786
4335
  /** Edit a credit on an invoice [REQUIRED_SCOPES:billing:write] */
3787
4336
  invoiceUpdateCredit?: Maybe<InvoiceUpdateCreditPayload>;
3788
4337
  /** Edit credits on an invoice [REQUIRED_SCOPES:billing:write] */
3789
4338
  invoiceUpdateCredits?: Maybe<InvoiceUpdateCreditsPayload>;
4339
+ /** Add, update, or remove notes from an invoice [REQUIRED_SCOPES:billing:write] */
4340
+ invoiceUpdateNotes?: Maybe<InvoiceUpdateNotesPayload>;
3790
4341
  /** Update an invoice taxes [REQUIRED_SCOPES:billing:write] */
3791
4342
  invoiceUpdateTaxes?: Maybe<InvoiceUpdateTaxesPayload>;
3792
4343
  /** Void an invoice [REQUIRED_SCOPES:billing:write] */
@@ -3901,16 +4452,14 @@ export type Mutation = {
3901
4452
  productImport?: Maybe<ProductImportPayload>;
3902
4453
  /** Update a product [REQUIRED_SCOPES:product:write] */
3903
4454
  productUpdate?: Maybe<ProductUpdatePayload>;
3904
- /** Trigger a fake provisioning workflow to send a test webhook request [REQUIRED_SCOPES:workflow:write] */
3905
- provisioningWorkflowTest?: Maybe<ProvisioningWorkflowTestPayload>;
3906
4455
  /** Flag a quote as accepted [REQUIRED_SCOPES:standard:write] */
3907
4456
  quoteAccept?: Maybe<QuoteAcceptPayload>;
3908
4457
  /** Create an account and get a quote amount for a subscription. [REQUIRED_SCOPES:standard:write] */
3909
4458
  quoteAccountSignup?: Maybe<QuoteAccountSignupPayload>;
3910
- /** Add a coupon to a Quote [REQUIRED_SCOPES:standard:write] */
3911
- quoteAddCoupon?: Maybe<QuoteAddCouponPayload>;
3912
4459
  /** Convert the quote to a subscription [REQUIRED_SCOPES:admin:write] */
3913
4460
  quoteApplyChanges?: Maybe<QuoteApplyChangesPayload>;
4461
+ /** Apply price adjustments to the quote [REQUIRED_SCOPES:standard:write] */
4462
+ quoteApplyPriceAdjustments?: Maybe<QuoteApplyPriceAdjustmentsPayload>;
3914
4463
  /** Cancel the approval process and remove the pending approval request [REQUIRED_SCOPES:standard:write] */
3915
4464
  quoteApprovalCancel?: Maybe<QuoteApprovalCancelPayload>;
3916
4465
  /** Begin with the approval process [REQUIRED_SCOPES:standard:write] */
@@ -3919,20 +4468,37 @@ export type Mutation = {
3919
4468
  quoteApprove?: Maybe<QuoteApprovePayload>;
3920
4469
  /** Create a quote change [REQUIRED_SCOPES:standard:write] */
3921
4470
  quoteChangeAdd?: Maybe<QuoteChangeCreatePayload>;
4471
+ /** Add a coupon to a Quote [REQUIRED_SCOPES:standard:write] */
4472
+ quoteChangeAddCoupon?: Maybe<QuoteChangeAddCouponPayload>;
4473
+ /** Apply the price adjustments on a quote change [REQUIRED_SCOPES:standard:write] */
4474
+ quoteChangeApplyPriceAdjustment?: Maybe<QuoteChangeApplyPriceAdjustmentPayload>;
3922
4475
  /** Add a price list with its charges and quantities to the quote [REQUIRED_SCOPES:standard:write] */
3923
4476
  quoteChangeCreate?: Maybe<QuoteChangeCreatePayload>;
3924
4477
  /** Add a price list and configure the ramp up of the charges [REQUIRED_SCOPES:standard:write] */
3925
4478
  quoteChangeCreateRampUp?: Maybe<QuoteChangeCreateRampUpPayload>;
3926
4479
  /** Add a price list and configure the ramp up of the charges [REQUIRED_SCOPES:standard:write] */
3927
4480
  quoteChangeCreateRampUpPreview?: Maybe<QuoteChangeCreateRampUpPreviewPayload>;
4481
+ /** Create a quote change for a subscription renewal [REQUIRED_SCOPES:standard:write] */
4482
+ quoteChangeCreateRenew?: Maybe<QuoteChangeCreateRenewPayload>;
3928
4483
  /** Delete a quote change [REQUIRED_SCOPES:standard:write] */
3929
4484
  quoteChangeDelete?: Maybe<QuoteChangeDeletePayload>;
3930
- /** Create a discount for a quote charge [REQUIRED_SCOPES:standard:write] */
4485
+ /**
4486
+ * Create a discount for a quote charge [REQUIRED_SCOPES:standard:write]
4487
+ * @deprecated This mutation is deprecated. Please use quote_charge_create with discount argument instead.
4488
+ */
3931
4489
  quoteChangeDiscountCreate?: Maybe<QuoteChangeDiscountCreatePayload>;
4490
+ /** Removes a coupon from a quote change [REQUIRED_SCOPES:standard:write] */
4491
+ quoteChangeRemoveCoupon?: Maybe<QuoteChangeRemoveCouponPayload>;
4492
+ /** Revert the price adjustments on a quote change [REQUIRED_SCOPES:standard:write] */
4493
+ quoteChangeRevertPriceAdjustment?: Maybe<QuoteChangeRevertPriceAdjustmentPayload>;
3932
4494
  /** Update a quote change [REQUIRED_SCOPES:standard:write] */
3933
4495
  quoteChangeUpdate?: Maybe<QuoteChangeUpdatePayload>;
3934
4496
  /** Modify the ramp deal configuration [REQUIRED_SCOPES:standard:write] */
3935
4497
  quoteChangeUpdateRampUp?: Maybe<QuoteChangeUpdateRampUpPayload>;
4498
+ /** Create a charge for a quote change [REQUIRED_SCOPES:standard:write] */
4499
+ quoteChargeCreate?: Maybe<QuoteChargeCreatePayload>;
4500
+ /** Delete a quote charge [REQUIRED_SCOPES:standard:write] */
4501
+ quoteChargeDelete?: Maybe<QuoteChargeDeletePayload>;
3936
4502
  /** Add free months to a quote charge [REQUIRED_SCOPES:standard:write] */
3937
4503
  quoteChargeFreeMonthsCreate?: Maybe<QuoteChargeFreeMonthsCreatePayload>;
3938
4504
  /** Modify the quote charge properties [REQUIRED_SCOPES:standard:write] */
@@ -3947,22 +4513,28 @@ export type Mutation = {
3947
4513
  quoteDelete?: Maybe<QuoteDeletePayload>;
3948
4514
  /** Create a duplicate of a quote [REQUIRED_SCOPES:standard:write] */
3949
4515
  quoteDuplicate?: Maybe<QuoteDuplicatePayload>;
3950
- /** [REQUIRED_SCOPES:standard:write] */
3951
- quotePlanPreview: QuotePlanPreview;
3952
4516
  /** Poll for the signing url to check if it is ready [REQUIRED_SCOPES:standard:write] */
3953
4517
  quotePollSigningUrl?: Maybe<QuotePollSigningUrlPayload>;
3954
- /** DEPRECATED. Please use Quote Checkout instead [REQUIRED_SCOPES:standard:write] */
3955
- quotePreview: QuotePlanPreview;
3956
4518
  /** Update a quote taxes [REQUIRED_SCOPES:standard:write] */
3957
4519
  quoteRecalculateTaxes?: Maybe<QuoteRecalculateTaxesPayload>;
3958
4520
  /** Reject a quote [REQUIRED_SCOPES:standard:write] */
3959
4521
  quoteReject?: Maybe<QuoteRejectPayload>;
3960
- /** Removes coupons from a quote [REQUIRED_SCOPES:standard:write] */
3961
- quoteRemoveCoupons?: Maybe<QuoteRemoveCouponsPayload>;
3962
4522
  /** Send the quote by email to the quotes contact [REQUIRED_SCOPES:standard:write] */
3963
4523
  quoteSendEmail?: Maybe<QuoteSendEmailPayload>;
4524
+ /** Add a signature to a quote [REQUIRED_SCOPES:standard:write] */
4525
+ quoteSignatureCreate?: Maybe<QuoteSignatureCreatePayload>;
4526
+ /** Send the quote by email to the remaining signers [REQUIRED_SCOPES:standard:write] */
4527
+ quoteSignersSendEmail?: Maybe<QuoteSignersSendEmailPayload>;
3964
4528
  /** Generate a signing url for a quote [REQUIRED_SCOPES:standard:write] */
3965
4529
  quoteSigningUrlCreate?: Maybe<QuoteCreateSignUrlPayload>;
4530
+ /** Quote activating a subscription [REQUIRED_SCOPES:standard:write] */
4531
+ quoteSubscriptionActivate?: Maybe<QuoteSubscriptionActivatePayload>;
4532
+ /** Generate a quote to add an addon to a subscription [REQUIRED_SCOPES:standard:write] */
4533
+ quoteSubscriptionAddon?: Maybe<QuoteSubscriptionAddonPayload>;
4534
+ /** Generate a quote to discount a subscription [REQUIRED_SCOPES:standard:write] */
4535
+ quoteSubscriptionDiscount?: Maybe<QuoteSubscriptionDiscountPayload>;
4536
+ /** Import a subscription from a price list and account data [REQUIRED_SCOPES:product:write] */
4537
+ quoteSubscriptionImport?: Maybe<QuoteSubscriptionImportPayload>;
3966
4538
  /** Generate a quote to reinstate a subscription [REQUIRED_SCOPES:standard:write] */
3967
4539
  quoteSubscriptionReinstate?: Maybe<QuoteSubscriptionReinstatePayload>;
3968
4540
  /** Generate a quote to renew a subscription [REQUIRED_SCOPES:standard:write] */
@@ -3983,16 +4555,20 @@ export type Mutation = {
3983
4555
  roleDelete?: Maybe<RoleDeletePayload>;
3984
4556
  /** Update a role [REQUIRED_SCOPES:security:write] */
3985
4557
  roleUpdate?: Maybe<RoleUpdatePayload>;
3986
- /** Complete the signup for a Bunny account [REQUIRED_SCOPES:legendary:write] */
4558
+ /** Complete the signup for a Bunny account [REQUIRED_SCOPES:signup:write] */
3987
4559
  signupActivate?: Maybe<SignupActivatePayload>;
3988
- /** Sign up for a Bunny account [REQUIRED_SCOPES:legendary:write] */
4560
+ /** Sign up for a Bunny account [REQUIRED_SCOPES:signup:write] */
3989
4561
  signupCreate?: Maybe<SignupCreatePayload>;
4562
+ /** Migrate a subscription from Stripe [REQUIRED_SCOPES:standard:write] */
4563
+ stripeSubscriptionMigrate?: Maybe<StripeSubscriptionMigratePayload>;
3990
4564
  /** Cancel an active subscription [REQUIRED_SCOPES:standard:write] */
3991
4565
  subscriptionCancel?: Maybe<SubscriptionCancelPayload>;
3992
4566
  /** Create a paid or trial subscription [REQUIRED_SCOPES:standard:write] */
3993
4567
  subscriptionCreate?: Maybe<SubscriptionCreatePayload>;
3994
- /** Delete a subscription [REQUIRED_SCOPES:standard:write] */
4568
+ /** Delete a subscription (only in sandbox mode with no issued invoices) [REQUIRED_SCOPES:standard:write] */
3995
4569
  subscriptionDelete?: Maybe<SubscriptionDeletePayload>;
4570
+ /** Quote quantity modifications to a subscription [REQUIRED_SCOPES:standard:write] */
4571
+ subscriptionQuantityUpdate?: Maybe<SubscriptionQuantityUpdatePayload>;
3996
4572
  /** Reinstating an expired or canceled subscription [REQUIRED_SCOPES:standard:write] */
3997
4573
  subscriptionReinstate?: Maybe<SubscriptionReinstatePayload>;
3998
4574
  /** Toggle auto-renew ON or OFF on a subscription [REQUIRED_SCOPES:standard:write] */
@@ -4001,7 +4577,10 @@ export type Mutation = {
4001
4577
  subscriptionTenantUpdate?: Maybe<SubscriptionTenantUpdatePayload>;
4002
4578
  /** Convert an existing trial subscription into a paid subscription [REQUIRED_SCOPES:standard:write] */
4003
4579
  subscriptionTrialConvert?: Maybe<SubscriptionTrialConvertPayload>;
4004
- /** Preview of a existing trial subscription conversion [REQUIRED_SCOPES:standard:write] */
4580
+ /**
4581
+ * Preview of a existing trial subscription conversion [REQUIRED_SCOPES:standard:write]
4582
+ * @deprecated This mutation is deprecated. Please use quote_subscription_activate instead.
4583
+ */
4005
4584
  subscriptionTrialConvertPreview?: Maybe<SubscriptionTrialConvertPreviewPayload>;
4006
4585
  /** Extend the subscription's trial period [REQUIRED_SCOPES:standard:write] */
4007
4586
  subscriptionTrialExtend?: Maybe<SubscriptionTrialExtendPayload>;
@@ -4015,10 +4594,12 @@ export type Mutation = {
4015
4594
  tenantDelete?: Maybe<TenantDeletePayload>;
4016
4595
  /** Updates the metrics for a tenant [REQUIRED_SCOPES:platform:write] */
4017
4596
  tenantMetricsUpdate?: Maybe<TenantMetricsUpdatePayload>;
4018
- /** Change the provisioning state to trigger a provisioning workflow [REQUIRED_SCOPES:standard:write] */
4019
- tenantProvisioningChangeUpdate?: Maybe<TenantProvisioningChangeUpdatePayload>;
4020
4597
  /** Update an tenant [REQUIRED_SCOPES:product:write] */
4021
4598
  tenantUpdate?: Maybe<TenantUpdatePayload>;
4599
+ /** Test an email by sending it to the current user [REQUIRED_SCOPES:admin:write] */
4600
+ testEmail?: Maybe<TestEmailPayload>;
4601
+ /** Send a test webhook payload to the webhook url [REQUIRED_SCOPES:admin:write] */
4602
+ testWebhook?: Maybe<TestWebhookPayload>;
4022
4603
  /** Create a user [REQUIRED_SCOPES:security:write] */
4023
4604
  userCreate?: Maybe<UserCreatePayload>;
4024
4605
  /** Delete a user [REQUIRED_SCOPES:security:write] */
@@ -4031,8 +4612,6 @@ export type Mutation = {
4031
4612
  viewDelete?: Maybe<ViewDeletePayload>;
4032
4613
  /** Update a view [REQUIRED_SCOPES:standard:write] */
4033
4614
  viewUpdate?: Maybe<ViewUpdatePayload>;
4034
- /** [REQUIRED_SCOPES:legendary:write] */
4035
- warrenProvision?: Maybe<WarrenProvisionPayload>;
4036
4615
  /** [REQUIRED_SCOPES:standard:write] */
4037
4616
  webPushSubscribe?: Maybe<WebPushSubscribePayload>;
4038
4617
  /** Retry sending a webhook event [REQUIRED_SCOPES:workflow:write] */
@@ -4071,7 +4650,6 @@ export type MutationAccountResetArgs = {
4071
4650
  };
4072
4651
  export type MutationAccountSignupArgs = {
4073
4652
  accountId: Scalars['ID']['input'];
4074
- entityId: Scalars['ID']['input'];
4075
4653
  paymentMethodId?: InputMaybe<Scalars['String']['input']>;
4076
4654
  pluginId: Scalars['String']['input'];
4077
4655
  priceListCode: Scalars['String']['input'];
@@ -4134,6 +4712,11 @@ export type MutationCampaignUpdateArgs = {
4134
4712
  attributes: CampaignAttributes;
4135
4713
  id: Scalars['ID']['input'];
4136
4714
  };
4715
+ export type MutationChatAskArgs = {
4716
+ appRoute?: InputMaybe<Scalars['String']['input']>;
4717
+ chatId: Scalars['String']['input'];
4718
+ message: Scalars['String']['input'];
4719
+ };
4137
4720
  export type MutationCheckoutArgs = {
4138
4721
  invoiceId?: InputMaybe<Scalars['ID']['input']>;
4139
4722
  payableId?: InputMaybe<Scalars['ID']['input']>;
@@ -4190,9 +4773,6 @@ export type MutationCreditNoteUpdateArgs = {
4190
4773
  export type MutationCreditNoteUpdateTaxesArgs = {
4191
4774
  id: Scalars['ID']['input'];
4192
4775
  };
4193
- export type MutationCurrencyCreateArgs = {
4194
- attributes: CurrencyAttributes;
4195
- };
4196
4776
  export type MutationCurrencyUpdateArgs = {
4197
4777
  attributes: CurrencyAttributes;
4198
4778
  id: Scalars['ID']['input'];
@@ -4230,6 +4810,26 @@ export type MutationDisputeReasonUpdateArgs = {
4230
4810
  attributes: DisputeReasonAttributes;
4231
4811
  id: Scalars['ID']['input'];
4232
4812
  };
4813
+ export type MutationDocumentTemplateComponentCreateArgs = {
4814
+ attributes: DocumentTemplateComponentAttributes;
4815
+ };
4816
+ export type MutationDocumentTemplateComponentDeleteArgs = {
4817
+ id: Scalars['ID']['input'];
4818
+ };
4819
+ export type MutationDocumentTemplateComponentUpdateArgs = {
4820
+ attributes: DocumentTemplateComponentAttributes;
4821
+ id: Scalars['ID']['input'];
4822
+ };
4823
+ export type MutationDocumentTemplateCreateArgs = {
4824
+ attributes: DocumentTemplateAttributes;
4825
+ };
4826
+ export type MutationDocumentTemplateDeleteArgs = {
4827
+ id: Scalars['ID']['input'];
4828
+ };
4829
+ export type MutationDocumentTemplateUpdateArgs = {
4830
+ attributes?: InputMaybe<DocumentTemplateAttributes>;
4831
+ id: Scalars['ID']['input'];
4832
+ };
4233
4833
  export type MutationEmailRetryArgs = {
4234
4834
  uuid: Scalars['String']['input'];
4235
4835
  };
@@ -4304,7 +4904,7 @@ export type MutationIndustryCreateArgs = {
4304
4904
  attributes: IndustryAttributes;
4305
4905
  };
4306
4906
  export type MutationInvoiceAddCreditArgs = {
4307
- amount: Scalars['Float']['input'];
4907
+ amount?: InputMaybe<Scalars['Float']['input']>;
4308
4908
  id: Scalars['ID']['input'];
4309
4909
  };
4310
4910
  export type MutationInvoiceCreditArgs = {
@@ -4314,10 +4914,19 @@ export type MutationInvoiceCreditArgs = {
4314
4914
  export type MutationInvoiceDeleteCreditArgs = {
4315
4915
  id: Scalars['ID']['input'];
4316
4916
  };
4917
+ export type MutationInvoiceDequeueArgs = {
4918
+ id: Scalars['ID']['input'];
4919
+ };
4317
4920
  export type MutationInvoiceGenerateNextPeriodArgs = {
4318
4921
  accountId?: InputMaybe<Scalars['ID']['input']>;
4319
4922
  billUsageCharges?: InputMaybe<Scalars['Boolean']['input']>;
4320
4923
  };
4924
+ export type MutationInvoiceMergeArgs = {
4925
+ invoiceIds: Array<Scalars['ID']['input']>;
4926
+ };
4927
+ export type MutationInvoiceMergeUndoArgs = {
4928
+ invoiceId: Scalars['ID']['input'];
4929
+ };
4321
4930
  export type MutationInvoiceRefundArgs = {
4322
4931
  disputeReasonId?: InputMaybe<Scalars['ID']['input']>;
4323
4932
  invoiceId: Scalars['ID']['input'];
@@ -4352,6 +4961,10 @@ export type MutationInvoiceUpdateArgs = {
4352
4961
  attributes: InvoiceAttributes;
4353
4962
  id: Scalars['ID']['input'];
4354
4963
  };
4964
+ export type MutationInvoiceUpdateCommentArgs = {
4965
+ comment?: InputMaybe<Scalars['String']['input']>;
4966
+ id: Scalars['ID']['input'];
4967
+ };
4355
4968
  export type MutationInvoiceUpdateCreditArgs = {
4356
4969
  amount: Scalars['Float']['input'];
4357
4970
  id: Scalars['ID']['input'];
@@ -4360,6 +4973,10 @@ export type MutationInvoiceUpdateCreditsArgs = {
4360
4973
  attributes: InvoiceUpdateCreditsAttributes;
4361
4974
  id: Scalars['ID']['input'];
4362
4975
  };
4976
+ export type MutationInvoiceUpdateNotesArgs = {
4977
+ id: Scalars['ID']['input'];
4978
+ notes?: InputMaybe<Scalars['String']['input']>;
4979
+ };
4363
4980
  export type MutationInvoiceUpdateTaxesArgs = {
4364
4981
  id: Scalars['ID']['input'];
4365
4982
  };
@@ -4554,9 +5171,6 @@ export type MutationProductUpdateArgs = {
4554
5171
  attributes: ProductAttributes;
4555
5172
  id: Scalars['ID']['input'];
4556
5173
  };
4557
- export type MutationProvisioningWorkflowTestArgs = {
4558
- platformId: Scalars['ID']['input'];
4559
- };
4560
5174
  export type MutationQuoteAcceptArgs = {
4561
5175
  name: Scalars['String']['input'];
4562
5176
  poNumber?: InputMaybe<Scalars['String']['input']>;
@@ -4567,19 +5181,20 @@ export type MutationQuoteAcceptArgs = {
4567
5181
  export type MutationQuoteAccountSignupArgs = {
4568
5182
  accountName: Scalars['String']['input'];
4569
5183
  billingContact: ContactAttributes;
4570
- entityId: Scalars['ID']['input'];
5184
+ billingDetails?: InputMaybe<BillingDetailsAttributes>;
4571
5185
  priceListCode: Scalars['String']['input'];
4572
5186
  quantity?: InputMaybe<Scalars['Int']['input']>;
4573
5187
  };
4574
- export type MutationQuoteAddCouponArgs = {
4575
- couponCode: Scalars['String']['input'];
4576
- quoteId: Scalars['ID']['input'];
4577
- };
4578
5188
  export type MutationQuoteApplyChangesArgs = {
4579
5189
  persist?: InputMaybe<Scalars['Boolean']['input']>;
4580
5190
  quoteId: Scalars['ID']['input'];
4581
5191
  taxes?: InputMaybe<Scalars['Boolean']['input']>;
4582
5192
  };
5193
+ export type MutationQuoteApplyPriceAdjustmentsArgs = {
5194
+ id: Scalars['ID']['input'];
5195
+ priceAdjustmentPercentage: Scalars['Float']['input'];
5196
+ startDate: Scalars['ISO8601Date']['input'];
5197
+ };
4583
5198
  export type MutationQuoteApprovalCancelArgs = {
4584
5199
  id: Scalars['ID']['input'];
4585
5200
  };
@@ -4591,15 +5206,34 @@ export type MutationQuoteApproveArgs = {
4591
5206
  notes?: InputMaybe<Scalars['String']['input']>;
4592
5207
  };
4593
5208
  export type MutationQuoteChangeAddArgs = {
5209
+ evergreen?: InputMaybe<Scalars['Boolean']['input']>;
5210
+ parentQuoteChangeId?: InputMaybe<Scalars['ID']['input']>;
5211
+ priceAdjustmentAction?: InputMaybe<PriceAdjustmentAction>;
5212
+ priceAdjustmentPercentage?: InputMaybe<Scalars['Float']['input']>;
5213
+ priceAdjustmentTiming?: InputMaybe<PriceAdjustmentTiming>;
4594
5214
  priceListId: Scalars['ID']['input'];
4595
- priceOverride?: InputMaybe<Scalars['Boolean']['input']>;
4596
5215
  quoteId: Scalars['ID']['input'];
5216
+ renewalTermMonths?: InputMaybe<Scalars['Int']['input']>;
4597
5217
  trial?: InputMaybe<Scalars['Boolean']['input']>;
4598
5218
  };
5219
+ export type MutationQuoteChangeAddCouponArgs = {
5220
+ couponCode: Scalars['String']['input'];
5221
+ quoteChangeId: Scalars['ID']['input'];
5222
+ };
5223
+ export type MutationQuoteChangeApplyPriceAdjustmentArgs = {
5224
+ priceAdjustmentPercentage?: InputMaybe<Scalars['Float']['input']>;
5225
+ quoteChangeId: Scalars['ID']['input'];
5226
+ startDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
5227
+ };
4599
5228
  export type MutationQuoteChangeCreateArgs = {
5229
+ evergreen?: InputMaybe<Scalars['Boolean']['input']>;
5230
+ parentQuoteChangeId?: InputMaybe<Scalars['ID']['input']>;
5231
+ priceAdjustmentAction?: InputMaybe<PriceAdjustmentAction>;
5232
+ priceAdjustmentPercentage?: InputMaybe<Scalars['Float']['input']>;
5233
+ priceAdjustmentTiming?: InputMaybe<PriceAdjustmentTiming>;
4600
5234
  priceListId: Scalars['ID']['input'];
4601
- priceOverride?: InputMaybe<Scalars['Boolean']['input']>;
4602
5235
  quoteId: Scalars['ID']['input'];
5236
+ renewalTermMonths?: InputMaybe<Scalars['Int']['input']>;
4603
5237
  trial?: InputMaybe<Scalars['Boolean']['input']>;
4604
5238
  };
4605
5239
  export type MutationQuoteChangeCreateRampUpArgs = {
@@ -4613,6 +5247,11 @@ export type MutationQuoteChangeCreateRampUpPreviewArgs = {
4613
5247
  quoteId: Scalars['ID']['input'];
4614
5248
  rampIntervalMonths?: InputMaybe<Scalars['Int']['input']>;
4615
5249
  };
5250
+ export type MutationQuoteChangeCreateRenewArgs = {
5251
+ priceListId?: InputMaybe<Scalars['ID']['input']>;
5252
+ quoteId: Scalars['ID']['input'];
5253
+ subscriptionId: Scalars['ID']['input'];
5254
+ };
4616
5255
  export type MutationQuoteChangeDeleteArgs = {
4617
5256
  id: Scalars['ID']['input'];
4618
5257
  };
@@ -4621,29 +5260,63 @@ export type MutationQuoteChangeDiscountCreateArgs = {
4621
5260
  quoteChargeId: Scalars['ID']['input'];
4622
5261
  quoteId: Scalars['ID']['input'];
4623
5262
  };
5263
+ export type MutationQuoteChangeRemoveCouponArgs = {
5264
+ couponCode: Scalars['String']['input'];
5265
+ quoteChangeId: Scalars['ID']['input'];
5266
+ };
5267
+ export type MutationQuoteChangeRevertPriceAdjustmentArgs = {
5268
+ quoteChangeId: Scalars['ID']['input'];
5269
+ };
4624
5270
  export type MutationQuoteChangeUpdateArgs = {
4625
5271
  charges?: InputMaybe<Array<QuoteChargeAttributes>>;
5272
+ evergreen?: InputMaybe<Scalars['Boolean']['input']>;
4626
5273
  id: Scalars['ID']['input'];
4627
- priceOverride?: InputMaybe<Scalars['Boolean']['input']>;
5274
+ priceAdjustmentAction?: InputMaybe<PriceAdjustmentAction>;
5275
+ priceAdjustmentPercentage?: InputMaybe<Scalars['Float']['input']>;
5276
+ priceAdjustmentTiming?: InputMaybe<PriceAdjustmentTiming>;
5277
+ renewalTermMonths?: InputMaybe<Scalars['Int']['input']>;
5278
+ trial?: InputMaybe<Scalars['Boolean']['input']>;
5279
+ trialStartDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
4628
5280
  };
4629
5281
  export type MutationQuoteChangeUpdateRampUpArgs = {
4630
5282
  charges?: InputMaybe<Array<QuoteChargeAttributes>>;
4631
5283
  quoteChangeId: Scalars['ID']['input'];
4632
5284
  rampIntervalMonths?: InputMaybe<Scalars['Int']['input']>;
4633
5285
  };
4634
- export type MutationQuoteChargeFreeMonthsCreateArgs = {
4635
- attributes: QuoteFreeMonthsAttributes;
4636
- quoteChargeId: Scalars['ID']['input'];
4637
- };
4638
- export type MutationQuoteChargeUpdateArgs = {
4639
- amount?: InputMaybe<Scalars['Float']['input']>;
4640
- discount?: InputMaybe<Scalars['Float']['input']>;
5286
+ export type MutationQuoteChargeCreateArgs = {
5287
+ discount?: InputMaybe<Scalars['Boolean']['input']>;
4641
5288
  endDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
5289
+ evergreen?: InputMaybe<Scalars['Boolean']['input']>;
5290
+ name?: InputMaybe<Scalars['String']['input']>;
4642
5291
  price?: InputMaybe<Scalars['Float']['input']>;
4643
- priceTiers?: InputMaybe<Array<PriceListChargeTierAttributes>>;
5292
+ priceListChargeId?: InputMaybe<Scalars['ID']['input']>;
5293
+ priceTiers?: InputMaybe<Array<QuotePriceTierAttributes>>;
5294
+ quantity?: InputMaybe<Scalars['Int']['input']>;
5295
+ quoteChangeId: Scalars['ID']['input'];
5296
+ startDate: Scalars['ISO8601Date']['input'];
5297
+ subscriptionChargeId?: InputMaybe<Scalars['ID']['input']>;
5298
+ };
5299
+ export type MutationQuoteChargeDeleteArgs = {
5300
+ quoteChargeId: Scalars['ID']['input'];
5301
+ };
5302
+ export type MutationQuoteChargeFreeMonthsCreateArgs = {
5303
+ freeMonths: Scalars['Int']['input'];
5304
+ freeMonthsAdd?: InputMaybe<Scalars['Boolean']['input']>;
5305
+ name?: InputMaybe<Scalars['String']['input']>;
5306
+ priceListChargeId?: InputMaybe<Scalars['ID']['input']>;
5307
+ quoteChangeId: Scalars['ID']['input'];
5308
+ subscriptionChargeId?: InputMaybe<Scalars['ID']['input']>;
5309
+ };
5310
+ export type MutationQuoteChargeUpdateArgs = {
5311
+ discount?: InputMaybe<Scalars['Float']['input']>;
5312
+ endDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
5313
+ name?: InputMaybe<Scalars['String']['input']>;
5314
+ price?: InputMaybe<Scalars['Float']['input']>;
5315
+ priceTiers?: InputMaybe<Array<QuotePriceTierAttributes>>;
4644
5316
  quantity?: InputMaybe<Scalars['Int']['input']>;
4645
5317
  quoteChargeId: Scalars['ID']['input'];
4646
5318
  startDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
5319
+ subtotal?: InputMaybe<Scalars['Float']['input']>;
4647
5320
  };
4648
5321
  export type MutationQuoteComposeArgs = {
4649
5322
  accountId?: InputMaybe<Scalars['ID']['input']>;
@@ -4666,28 +5339,9 @@ export type MutationQuoteDeleteArgs = {
4666
5339
  export type MutationQuoteDuplicateArgs = {
4667
5340
  id: Scalars['ID']['input'];
4668
5341
  };
4669
- export type MutationQuotePlanPreviewArgs = {
4670
- accountId?: InputMaybe<Scalars['ID']['input']>;
4671
- apply?: InputMaybe<Scalars['Boolean']['input']>;
4672
- basePrice?: InputMaybe<Scalars['Boolean']['input']>;
4673
- couponCode?: InputMaybe<Scalars['String']['input']>;
4674
- paymentId?: InputMaybe<Scalars['ID']['input']>;
4675
- priceListId: Scalars['ID']['input'];
4676
- quantity?: InputMaybe<Scalars['Int']['input']>;
4677
- subscriptionId?: InputMaybe<Scalars['ID']['input']>;
4678
- taxes?: InputMaybe<Scalars['Boolean']['input']>;
4679
- };
4680
5342
  export type MutationQuotePollSigningUrlArgs = {
4681
5343
  quoteId?: InputMaybe<Scalars['ID']['input']>;
4682
5344
  };
4683
- export type MutationQuotePreviewArgs = {
4684
- accountId?: InputMaybe<Scalars['ID']['input']>;
4685
- apply?: InputMaybe<Scalars['Boolean']['input']>;
4686
- freeze?: InputMaybe<Scalars['Boolean']['input']>;
4687
- paymentId?: InputMaybe<Scalars['ID']['input']>;
4688
- quoteId: Scalars['ID']['input'];
4689
- taxes?: InputMaybe<Scalars['Boolean']['input']>;
4690
- };
4691
5345
  export type MutationQuoteRecalculateTaxesArgs = {
4692
5346
  id: Scalars['ID']['input'];
4693
5347
  };
@@ -4695,20 +5349,48 @@ export type MutationQuoteRejectArgs = {
4695
5349
  id: Scalars['ID']['input'];
4696
5350
  notes?: InputMaybe<Scalars['String']['input']>;
4697
5351
  };
4698
- export type MutationQuoteRemoveCouponsArgs = {
4699
- quoteId: Scalars['ID']['input'];
4700
- };
4701
5352
  export type MutationQuoteSendEmailArgs = {
4702
5353
  id: Scalars['ID']['input'];
4703
5354
  };
5355
+ export type MutationQuoteSignatureCreateArgs = {
5356
+ name: Scalars['String']['input'];
5357
+ poNumber?: InputMaybe<Scalars['String']['input']>;
5358
+ signatureImageData: Scalars['String']['input'];
5359
+ taxNumber?: InputMaybe<Scalars['String']['input']>;
5360
+ title?: InputMaybe<Scalars['String']['input']>;
5361
+ };
5362
+ export type MutationQuoteSignersSendEmailArgs = {
5363
+ id: Scalars['ID']['input'];
5364
+ };
4704
5365
  export type MutationQuoteSigningUrlCreateArgs = {
4705
5366
  quoteId?: InputMaybe<Scalars['ID']['input']>;
4706
5367
  };
5368
+ export type MutationQuoteSubscriptionActivateArgs = {
5369
+ subscriptionId: Scalars['ID']['input'];
5370
+ };
5371
+ export type MutationQuoteSubscriptionAddonArgs = {
5372
+ priceListId?: InputMaybe<Scalars['ID']['input']>;
5373
+ subscriptionId: Scalars['ID']['input'];
5374
+ };
5375
+ export type MutationQuoteSubscriptionDiscountArgs = {
5376
+ ids: Array<Scalars['ID']['input']>;
5377
+ };
5378
+ export type MutationQuoteSubscriptionImportArgs = {
5379
+ accountAttributes: AccountAttributes;
5380
+ billingContactAttributes?: InputMaybe<ContactAttributes>;
5381
+ chargeSettings?: InputMaybe<Array<ChargeSettingsImport>>;
5382
+ featuresAttributes?: InputMaybe<Array<FeatureAttributes>>;
5383
+ planAttributes?: InputMaybe<PlanAttributes>;
5384
+ priceListAttributes: PriceListAttributes;
5385
+ priceListChargesAttributes?: InputMaybe<Array<PriceListChargeAttributes>>;
5386
+ productAttributes?: InputMaybe<ProductAttributes>;
5387
+ };
4707
5388
  export type MutationQuoteSubscriptionReinstateArgs = {
4708
5389
  ids: Array<Scalars['ID']['input']>;
4709
5390
  };
4710
5391
  export type MutationQuoteSubscriptionRenewArgs = {
4711
5392
  ids: Array<Scalars['ID']['input']>;
5393
+ priceListId?: InputMaybe<Scalars['ID']['input']>;
4712
5394
  };
4713
5395
  export type MutationQuoteSubscriptionUpdateArgs = {
4714
5396
  subscriptionIds: Array<Scalars['ID']['input']>;
@@ -4743,6 +5425,10 @@ export type MutationSignupActivateArgs = {
4743
5425
  export type MutationSignupCreateArgs = {
4744
5426
  attributes: SignupAttributes;
4745
5427
  };
5428
+ export type MutationStripeSubscriptionMigrateArgs = {
5429
+ paymentMethodId?: InputMaybe<Scalars['String']['input']>;
5430
+ quoteId: Scalars['ID']['input'];
5431
+ };
4746
5432
  export type MutationSubscriptionCancelArgs = {
4747
5433
  cancellationDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
4748
5434
  ids: Array<Scalars['ID']['input']>;
@@ -4754,6 +5440,14 @@ export type MutationSubscriptionCreateArgs = {
4754
5440
  export type MutationSubscriptionDeleteArgs = {
4755
5441
  id: Scalars['ID']['input'];
4756
5442
  };
5443
+ export type MutationSubscriptionQuantityUpdateArgs = {
5444
+ allowQuantityLimitsOverride?: InputMaybe<Scalars['Boolean']['input']>;
5445
+ invoiceImmediately?: InputMaybe<Scalars['Boolean']['input']>;
5446
+ name?: InputMaybe<Scalars['String']['input']>;
5447
+ quantities: Array<SubscriptionChargeQuantityAttributes>;
5448
+ startDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
5449
+ subscriptionId: Scalars['ID']['input'];
5450
+ };
4757
5451
  export type MutationSubscriptionReinstateArgs = {
4758
5452
  effectiveDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
4759
5453
  ids: Array<Scalars['ID']['input']>;
@@ -4770,6 +5464,8 @@ export type MutationSubscriptionTenantUpdateArgs = {
4770
5464
  };
4771
5465
  export type MutationSubscriptionTrialConvertArgs = {
4772
5466
  paymentId?: InputMaybe<Scalars['ID']['input']>;
5467
+ priceListCode?: InputMaybe<Scalars['String']['input']>;
5468
+ priceListId?: InputMaybe<Scalars['ID']['input']>;
4773
5469
  subscriptionId: Scalars['ID']['input'];
4774
5470
  };
4775
5471
  export type MutationSubscriptionTrialConvertPreviewArgs = {
@@ -4798,14 +5494,21 @@ export type MutationTenantMetricsUpdateArgs = {
4798
5494
  attributes: TenantMetricsAttributes;
4799
5495
  code: Scalars['String']['input'];
4800
5496
  };
4801
- export type MutationTenantProvisioningChangeUpdateArgs = {
4802
- attributes: TenantProvisioningChangeAttributes;
4803
- id: Scalars['ID']['input'];
4804
- };
4805
5497
  export type MutationTenantUpdateArgs = {
4806
5498
  attributes: TenantAttributes;
4807
5499
  id: Scalars['ID']['input'];
4808
5500
  };
5501
+ export type MutationTestEmailArgs = {
5502
+ body: Scalars['String']['input'];
5503
+ subject: Scalars['String']['input'];
5504
+ };
5505
+ export type MutationTestWebhookArgs = {
5506
+ authToken?: InputMaybe<Scalars['String']['input']>;
5507
+ customPayload?: InputMaybe<Scalars['String']['input']>;
5508
+ payloadType?: InputMaybe<Scalars['String']['input']>;
5509
+ signingKey?: InputMaybe<Scalars['String']['input']>;
5510
+ url: Scalars['String']['input'];
5511
+ };
4809
5512
  export type MutationUserCreateArgs = {
4810
5513
  attributes: UserAttributes;
4811
5514
  };
@@ -4826,10 +5529,6 @@ export type MutationViewUpdateArgs = {
4826
5529
  attributes: ViewAttributes;
4827
5530
  id: Scalars['ID']['input'];
4828
5531
  };
4829
- export type MutationWarrenProvisionArgs = {
4830
- attributes: WarrenAttributes;
4831
- tenantCode: Scalars['String']['input'];
4832
- };
4833
5532
  export type MutationWebPushSubscribeArgs = {
4834
5533
  attributes: WebPushAttributes;
4835
5534
  };
@@ -4964,13 +5663,23 @@ export type Payment = {
4964
5663
  appliedToInvoices?: Maybe<InvoiceConnection>;
4965
5664
  baseCurrencyCash?: Maybe<Scalars['Float']['output']>;
4966
5665
  baseCurrencyId?: Maybe<Scalars['ID']['output']>;
5666
+ completedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5667
+ conversionRate?: Maybe<Scalars['Float']['output']>;
4967
5668
  createdAt: Scalars['ISO8601DateTime']['output'];
4968
5669
  currencyId?: Maybe<Scalars['ID']['output']>;
4969
5670
  description: Scalars['String']['output'];
5671
+ entity?: Maybe<Entity>;
5672
+ errorCode?: Maybe<Scalars['String']['output']>;
5673
+ errorMessage?: Maybe<Scalars['String']['output']>;
5674
+ fees?: Maybe<Scalars['Float']['output']>;
4970
5675
  id: Scalars['ID']['output'];
4971
5676
  isLegacy?: Maybe<Scalars['Boolean']['output']>;
4972
5677
  memo: Scalars['String']['output'];
4973
- receivedAt: Scalars['ISO8601DateTime']['output'];
5678
+ paymentProcessor?: Maybe<Scalars['String']['output']>;
5679
+ processingState: PaymentProcessingState;
5680
+ receivedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5681
+ remoteTransactionId?: Maybe<Scalars['String']['output']>;
5682
+ startedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
4974
5683
  state: PaymentState;
4975
5684
  transactionRecord?: Maybe<Transaction>;
4976
5685
  updatedAt: Scalars['ISO8601DateTime']['output'];
@@ -5070,6 +5779,20 @@ export type PaymentEdge = {
5070
5779
  /** The item at the end of the edge. */
5071
5780
  node?: Maybe<Payment>;
5072
5781
  };
5782
+ export type PaymentHold = {
5783
+ __typename?: 'PaymentHold';
5784
+ amount?: Maybe<Scalars['Float']['output']>;
5785
+ completedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5786
+ createdAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5787
+ currency?: Maybe<Scalars['String']['output']>;
5788
+ expiresAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5789
+ id?: Maybe<Scalars['ID']['output']>;
5790
+ paymentMethod?: Maybe<PaymentMethod>;
5791
+ quote?: Maybe<Quote>;
5792
+ remoteTransactionId?: Maybe<Scalars['String']['output']>;
5793
+ updatedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5794
+ uuid?: Maybe<Scalars['String']['output']>;
5795
+ };
5073
5796
  export type PaymentMethod = {
5074
5797
  __typename?: 'PaymentMethod';
5075
5798
  account?: Maybe<Account>;
@@ -5079,6 +5802,7 @@ export type PaymentMethod = {
5079
5802
  expirationDate?: Maybe<Scalars['ISO8601Date']['output']>;
5080
5803
  failureCode?: Maybe<Scalars['String']['output']>;
5081
5804
  id: Scalars['ID']['output'];
5805
+ isDefault?: Maybe<Scalars['Boolean']['output']>;
5082
5806
  lastSuccess?: Maybe<Scalars['ISO8601DateTime']['output']>;
5083
5807
  metadata?: Maybe<PaymentMethodMetadata>;
5084
5808
  paymentType?: Maybe<PaymentType>;
@@ -5114,6 +5838,7 @@ export type PaymentMethodMetadata = {
5114
5838
  identifier?: Maybe<Scalars['String']['output']>;
5115
5839
  issuer?: Maybe<Scalars['String']['output']>;
5116
5840
  kind?: Maybe<Scalars['String']['output']>;
5841
+ type?: Maybe<Scalars['String']['output']>;
5117
5842
  };
5118
5843
  export type PaymentMethodState =
5119
5844
  /** Payment method has failed during use */
@@ -5122,6 +5847,30 @@ export type PaymentMethodState =
5122
5847
  | 'SUCCESS'
5123
5848
  /** Payment method has not ben used or unknown state */
5124
5849
  | 'UNKNOWN';
5850
+ export type PaymentPlugin = {
5851
+ __typename?: 'PaymentPlugin';
5852
+ components: Scalars['JSON']['output'];
5853
+ enabled: Scalars['Boolean']['output'];
5854
+ entities: Array<Scalars['ID']['output']>;
5855
+ guid: Scalars['ID']['output'];
5856
+ hidden: Scalars['Boolean']['output'];
5857
+ id: Scalars['ID']['output'];
5858
+ name: Scalars['String']['output'];
5859
+ status: Scalars['String']['output'];
5860
+ type: Scalars['String']['output'];
5861
+ webhookEnabled: Scalars['Boolean']['output'];
5862
+ };
5863
+ export type PaymentProcessingState =
5864
+ /** Payment is disputed */
5865
+ 'DISPUTED'
5866
+ /** Payment is failed */
5867
+ | 'FAILED'
5868
+ /** Payment is pending */
5869
+ | 'PENDING'
5870
+ /** Payment is processing */
5871
+ | 'PROCESSING'
5872
+ /** Payment is successful */
5873
+ | 'SUCCEEDED';
5125
5874
  export type PaymentState =
5126
5875
  /** Payment is applied */
5127
5876
  'APPLIED'
@@ -5152,7 +5901,6 @@ export type Period = {
5152
5901
  id: Scalars['ID']['output'];
5153
5902
  month?: Maybe<Scalars['Int']['output']>;
5154
5903
  monthName?: Maybe<Scalars['String']['output']>;
5155
- name?: Maybe<Scalars['String']['output']>;
5156
5904
  updatedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
5157
5905
  warrenId?: Maybe<Scalars['Int']['output']>;
5158
5906
  year?: Maybe<Scalars['Int']['output']>;
@@ -5198,6 +5946,8 @@ export type Plan = {
5198
5946
  __typename?: 'Plan';
5199
5947
  /** True if the plan is an add-on */
5200
5948
  addon?: Maybe<Scalars['Boolean']['output']>;
5949
+ /** List of addon plans */
5950
+ addonPlans?: Maybe<Array<Plan>>;
5201
5951
  /** First date the plan is available for sale */
5202
5952
  availableFrom: Scalars['ISO8601Date']['output'];
5203
5953
  /** Late date the plan is available for sale */
@@ -5206,6 +5956,10 @@ export type Plan = {
5206
5956
  basePrice?: Maybe<Scalars['Float']['output']>;
5207
5957
  /** Unique code */
5208
5958
  code?: Maybe<Scalars['String']['output']>;
5959
+ /** List of compatible plan IDs */
5960
+ compatiblePlanIds?: Maybe<Array<Scalars['ID']['output']>>;
5961
+ /** List of compatible plans (ie plans that can be a parent plan to self) */
5962
+ compatiblePlans?: Maybe<Array<Plan>>;
5209
5963
  /** Label for the contact us button */
5210
5964
  contactUsLabel?: Maybe<Scalars['String']['output']>;
5211
5965
  /** URL for the contact us button */
@@ -5258,6 +6012,7 @@ export type PlanAttributes = {
5258
6012
  availableFrom?: InputMaybe<Scalars['ISO8601Date']['input']>;
5259
6013
  availableTo?: InputMaybe<Scalars['ISO8601Date']['input']>;
5260
6014
  code?: InputMaybe<Scalars['String']['input']>;
6015
+ compatiblePlanIds?: InputMaybe<Array<Scalars['ID']['input']>>;
5261
6016
  /** Label for the contact us button */
5262
6017
  contactUsLabel?: InputMaybe<Scalars['String']['input']>;
5263
6018
  /** URL for the contact us button */
@@ -5478,15 +6233,12 @@ export type PluginActionMenuItem = {
5478
6233
  relUrl?: Maybe<Scalars['String']['output']>;
5479
6234
  visible?: Maybe<Scalars['String']['output']>;
5480
6235
  };
5481
- /** Attributes for creating and updating a plugin */
6236
+ /** Attributes for updating a plugin */
5482
6237
  export type PluginAttributes = {
5483
6238
  dynamicComponentValues?: InputMaybe<Array<DynamicComponentAttributes>>;
5484
6239
  enabled?: InputMaybe<Scalars['Boolean']['input']>;
5485
6240
  enabledOnlyForUserId?: InputMaybe<Scalars['ID']['input']>;
5486
6241
  entityIds?: InputMaybe<Array<Scalars['ID']['input']>>;
5487
- entitySelectionEnabled?: InputMaybe<Scalars['Boolean']['input']>;
5488
- guid?: InputMaybe<Scalars['String']['input']>;
5489
- id?: InputMaybe<Scalars['ID']['input']>;
5490
6242
  pluginDefinitionId?: InputMaybe<Scalars['ID']['input']>;
5491
6243
  };
5492
6244
  /** The connection type for Plugin. */
@@ -5795,8 +6547,46 @@ export type PortalSessionCreatePayload = {
5795
6547
  errors?: Maybe<Array<Scalars['String']['output']>>;
5796
6548
  token?: Maybe<Scalars['String']['output']>;
5797
6549
  };
6550
+ /** Controls how the price adjustment is applied */
6551
+ export type PriceAdjustmentAction =
6552
+ /** Price will be adjusted based on catalog prices */
6553
+ 'CATALOG'
6554
+ /** No price adjustment will be applied */
6555
+ | 'NO_CHANGE'
6556
+ /** Price will be adjusted by a percentage */
6557
+ | 'PERCENTAGE';
6558
+ /** Controls when the price adjustment takes effect */
6559
+ export type PriceAdjustmentTiming =
6560
+ /** Price adjustment will be applied on April */
6561
+ 'APRIL'
6562
+ /** Price adjustment will be applied at the renewal date */
6563
+ | 'AT_RENEWAL'
6564
+ /** Price adjustment will be applied on August */
6565
+ | 'AUGUST'
6566
+ /** Price adjustment will be applied on December */
6567
+ | 'DECEMBER'
6568
+ /** Price adjustment will be applied on February */
6569
+ | 'FEBRUARY'
6570
+ /** Price adjustment will be applied on January */
6571
+ | 'JANUARY'
6572
+ /** Price adjustment will be applied on July */
6573
+ | 'JULY'
6574
+ /** Price adjustment will be applied on June */
6575
+ | 'JUNE'
6576
+ /** Price adjustment will be applied on March */
6577
+ | 'MARCH'
6578
+ /** Price adjustment will be applied on May */
6579
+ | 'MAY'
6580
+ /** Price adjustment will be applied on November */
6581
+ | 'NOVEMBER'
6582
+ /** Price adjustment will be applied on October */
6583
+ | 'OCTOBER'
6584
+ /** Price adjustment will be applied on September */
6585
+ | 'SEPTEMBER';
5798
6586
  export type PriceList = {
5799
6587
  __typename?: 'PriceList';
6588
+ /** List of addons for this price list */
6589
+ addonPlans?: Maybe<Array<Plan>>;
5800
6590
  /** The minimum amount you'll pay by using this plan */
5801
6591
  basePrice?: Maybe<Scalars['Float']['output']>;
5802
6592
  /** List of charges for this plan */
@@ -5813,6 +6603,8 @@ export type PriceList = {
5813
6603
  id: Scalars['ID']['output'];
5814
6604
  /** Controls whether the plan is visible for sale */
5815
6605
  isVisible?: Maybe<Scalars['Boolean']['output']>;
6606
+ /** The minimum amount you'll pay by using this plan per month */
6607
+ monthlyBasePrice?: Maybe<Scalars['Float']['output']>;
5816
6608
  /** Name of the price list */
5817
6609
  name: Scalars['String']['output'];
5818
6610
  /** Number of months per billing cycle */
@@ -5821,13 +6613,23 @@ export type PriceList = {
5821
6613
  plan?: Maybe<Plan>;
5822
6614
  /** ID of the plan the price list belongs to */
5823
6615
  planId: Scalars['ID']['output'];
6616
+ priceAdjustmentAction?: Maybe<PriceAdjustmentAction>;
6617
+ priceAdjustmentActionOptions: Array<Scalars['String']['output']>;
6618
+ priceAdjustmentPercentage?: Maybe<Scalars['Float']['output']>;
6619
+ priceAdjustmentTiming?: Maybe<PriceAdjustmentTiming>;
6620
+ priceAdjustmentTimingOptions: Array<Scalars['String']['output']>;
5824
6621
  /** Auto-generated summary of the pricing */
5825
6622
  priceDescription?: Maybe<Scalars['String']['output']>;
5826
6623
  /** Default values for a new price list charge */
5827
- priceListChargeDefaults?: Maybe<PriceListCharge>;
6624
+ priceListChargeDefaults?: Maybe<PriceListChargeDefault>;
5828
6625
  product?: Maybe<Product>;
5829
6626
  /** ID of the plan the product belongs to */
5830
6627
  productId?: Maybe<Scalars['ID']['output']>;
6628
+ /** Number of months for the renewal term */
6629
+ renewalTermMonths?: Maybe<Scalars['Int']['output']>;
6630
+ renewalTermMonthsOptions: Array<RenewalTermOption>;
6631
+ /** Controls whether the price is shown as monthly */
6632
+ showPriceAsMonthly?: Maybe<Scalars['Boolean']['output']>;
5831
6633
  /** Stock keeping unit */
5832
6634
  sku?: Maybe<Scalars['String']['output']>;
5833
6635
  /** Determines whether a trial period is possible before paying */
@@ -5846,6 +6648,11 @@ export type PriceListAttributes = {
5846
6648
  isVisible?: InputMaybe<Scalars['Boolean']['input']>;
5847
6649
  name?: InputMaybe<Scalars['String']['input']>;
5848
6650
  planId?: InputMaybe<Scalars['ID']['input']>;
6651
+ priceAdjustmentAction?: InputMaybe<PriceAdjustmentAction>;
6652
+ priceAdjustmentPercentage?: InputMaybe<Scalars['Float']['input']>;
6653
+ priceAdjustmentTiming?: InputMaybe<PriceAdjustmentTiming>;
6654
+ renewalTermMonths?: InputMaybe<Scalars['Int']['input']>;
6655
+ showPriceAsMonthly?: InputMaybe<Scalars['Boolean']['input']>;
5849
6656
  sku?: InputMaybe<Scalars['String']['input']>;
5850
6657
  trialAllowed?: InputMaybe<Scalars['Boolean']['input']>;
5851
6658
  trialExpirationAction?: InputMaybe<TrialExpirationAction>;
@@ -5869,12 +6676,14 @@ export type PriceListCharge = {
5869
6676
  chargeType?: Maybe<ChargeType>;
5870
6677
  code?: Maybe<Scalars['String']['output']>;
5871
6678
  createdAt: Scalars['ISO8601DateTime']['output'];
5872
- /** The currency of the prices on the price list charge */
5873
- currencyId: Scalars['ID']['output'];
5874
6679
  feature?: Maybe<Feature>;
6680
+ /** True if the charge is a feature add-on */
6681
+ featureAddon?: Maybe<Scalars['Boolean']['output']>;
5875
6682
  featureId?: Maybe<Scalars['ID']['output']>;
5876
6683
  financialAccount?: Maybe<FinancialAccount>;
5877
6684
  financialAccountId?: Maybe<Scalars['ID']['output']>;
6685
+ /** Controls whether to hide billing periods on invoices */
6686
+ hidePeriodsOnInvoice: Scalars['Boolean']['output'];
5878
6687
  id: Scalars['ID']['output'];
5879
6688
  isTelecomCharge?: Maybe<Scalars['Boolean']['output']>;
5880
6689
  longName?: Maybe<Scalars['String']['output']>;
@@ -5914,8 +6723,12 @@ export type PriceListChargeAttributes = {
5914
6723
  billingPeriod?: InputMaybe<BillingPeriod>;
5915
6724
  chargeType?: InputMaybe<ChargeType>;
5916
6725
  code?: InputMaybe<Scalars['String']['input']>;
6726
+ featureAddon?: InputMaybe<Scalars['Boolean']['input']>;
6727
+ featureCode?: InputMaybe<Scalars['String']['input']>;
5917
6728
  featureId?: InputMaybe<Scalars['ID']['input']>;
5918
6729
  financialAccountId?: InputMaybe<Scalars['ID']['input']>;
6730
+ /** Controls whether to hide billing periods on invoices */
6731
+ hidePeriodsOnInvoice?: InputMaybe<Scalars['Boolean']['input']>;
5919
6732
  id?: InputMaybe<Scalars['ID']['input']>;
5920
6733
  isTelecomCharge?: InputMaybe<Scalars['Boolean']['input']>;
5921
6734
  name?: InputMaybe<Scalars['String']['input']>;
@@ -5952,6 +6765,13 @@ export type PriceListChargeCreatePayload = {
5952
6765
  errors?: Maybe<Array<Scalars['String']['output']>>;
5953
6766
  priceListCharge?: Maybe<PriceListCharge>;
5954
6767
  };
6768
+ export type PriceListChargeDefault = {
6769
+ __typename?: 'PriceListChargeDefault';
6770
+ /** The currency of the prices on the plan */
6771
+ currencyId: Scalars['ID']['output'];
6772
+ /** ID of the plan the product belongs to */
6773
+ productId?: Maybe<Scalars['ID']['output']>;
6774
+ };
5955
6775
  /** Autogenerated return type of PriceListChargeDelete. */
5956
6776
  export type PriceListChargeDeletePayload = {
5957
6777
  __typename?: 'PriceListChargeDeletePayload';
@@ -6045,6 +6865,8 @@ export type Product = {
6045
6865
  __typename?: 'Product';
6046
6866
  /** Unique code */
6047
6867
  code?: Maybe<Scalars['String']['output']>;
6868
+ /** Timestamp the product was created */
6869
+ createdAt: Scalars['ISO8601DateTime']['output'];
6048
6870
  /** Product description */
6049
6871
  description?: Maybe<Scalars['String']['output']>;
6050
6872
  /** Lays out plan features in typical everything-in-X-plus style */
@@ -6061,6 +6883,8 @@ export type Product = {
6061
6883
  planDefaults?: Maybe<Plan>;
6062
6884
  /** The plan available on the product */
6063
6885
  plans?: Maybe<Array<Plan>>;
6886
+ /** Number of plans to display at once on the product page */
6887
+ plansToDisplay?: Maybe<Scalars['Int']['output']>;
6064
6888
  /** Platform object */
6065
6889
  platform?: Maybe<Platform>;
6066
6890
  /** ID of the platform this plan is provisioned to */
@@ -6071,6 +6895,8 @@ export type Product = {
6071
6895
  productCategoryId?: Maybe<Scalars['ID']['output']>;
6072
6896
  /** Prefix quote and invoice line items with product name */
6073
6897
  showProductNameOnLineItem?: Maybe<Scalars['Boolean']['output']>;
6898
+ /** Timestamp the product was last updated */
6899
+ updatedAt: Scalars['ISO8601DateTime']['output'];
6074
6900
  };
6075
6901
  export type ProductFeaturesArgs = {
6076
6902
  filter?: InputMaybe<Scalars['String']['input']>;
@@ -6088,6 +6914,8 @@ export type ProductAttributes = {
6088
6914
  everythingInPlus?: InputMaybe<Scalars['Boolean']['input']>;
6089
6915
  internalNotes?: InputMaybe<Scalars['String']['input']>;
6090
6916
  name?: InputMaybe<Scalars['String']['input']>;
6917
+ /** Number of plans to display at once on the product page */
6918
+ plansToDisplay?: InputMaybe<Scalars['Int']['input']>;
6091
6919
  platformId?: InputMaybe<Scalars['ID']['input']>;
6092
6920
  productCategoryId?: InputMaybe<Scalars['ID']['input']>;
6093
6921
  /** Prefix quote and invoice line items with product name */
@@ -6191,11 +7019,6 @@ export type ProductUpdatePayload = {
6191
7019
  errors?: Maybe<Array<Scalars['String']['output']>>;
6192
7020
  product?: Maybe<Product>;
6193
7021
  };
6194
- /** Autogenerated return type of ProvisioningWorkflowTest. */
6195
- export type ProvisioningWorkflowTestPayload = {
6196
- __typename?: 'ProvisioningWorkflowTestPayload';
6197
- errors?: Maybe<Array<Scalars['String']['output']>>;
6198
- };
6199
7022
  export type Query = {
6200
7023
  __typename?: 'Query';
6201
7024
  /** An account record is used to represent a customer or trialist [REQUIRED_SCOPES:standard:read] */
@@ -6234,6 +7057,9 @@ export type Query = {
6234
7057
  campaign?: Maybe<Campaign>;
6235
7058
  /** Campaigns are used to track where contacts and leads originate from [REQUIRED_SCOPES:standard:read] */
6236
7059
  campaigns?: Maybe<CampaignConnection>;
7060
+ /** [REQUIRED_SCOPES:standard:read] */
7061
+ chat?: Maybe<Chat>;
7062
+ chats: ChatConnection;
6237
7063
  /** [REQUIRED_SCOPES:admin:read] */
6238
7064
  company?: Maybe<Company>;
6239
7065
  /** The contact record for a person on an account [REQUIRED_SCOPES:standard:read] */
@@ -6246,6 +7072,10 @@ export type Query = {
6246
7072
  coupons: CouponConnection;
6247
7073
  /** [REQUIRED_SCOPES:billing:read] */
6248
7074
  creditNote?: Maybe<CreditNote>;
7075
+ /** [REQUIRED_SCOPES:standard:read] */
7076
+ creditNoteItem?: Maybe<CreditNoteItem>;
7077
+ /** [REQUIRED_SCOPES:standard:read] */
7078
+ creditNoteItems?: Maybe<CreditNoteItemConnection>;
6249
7079
  /** [REQUIRED_SCOPES:billing:read] */
6250
7080
  creditNotes?: Maybe<CreditNoteConnection>;
6251
7081
  /** [REQUIRED_SCOPES:standard:read] */
@@ -6264,9 +7094,23 @@ export type Query = {
6264
7094
  deals: DealConnection;
6265
7095
  deepEvents?: Maybe<EventConnection>;
6266
7096
  /** [REQUIRED_SCOPES:billing:read] */
7097
+ dispute?: Maybe<Dispute>;
7098
+ /** [REQUIRED_SCOPES:billing:read] */
6267
7099
  disputeReason?: Maybe<DisputeReason>;
6268
7100
  /** [REQUIRED_SCOPES:billing:read] */
6269
7101
  disputeReasons?: Maybe<DisputeReasonConnection>;
7102
+ /** [REQUIRED_SCOPES:billing:read] */
7103
+ disputes?: Maybe<DisputeConnection>;
7104
+ /** [REQUIRED_SCOPES:standard:read] */
7105
+ documentTemplate?: Maybe<DocumentTemplate>;
7106
+ /** [REQUIRED_SCOPES:standard:read] */
7107
+ documentTemplateComponent?: Maybe<DocumentTemplateComponent>;
7108
+ /** [REQUIRED_SCOPES:standard:read] */
7109
+ documentTemplateComponents?: Maybe<DocumentTemplateComponentConnection>;
7110
+ /** [REQUIRED_SCOPES:billing:read] */
7111
+ documentTemplatePreview?: Maybe<DocumentTemplatePreview>;
7112
+ /** [REQUIRED_SCOPES:standard:read] */
7113
+ documentTemplates?: Maybe<DocumentTemplateConnection>;
6270
7114
  draftCreditNotes: CreditNoteConnection;
6271
7115
  draftInvoices: InvoiceConnection;
6272
7116
  /** [REQUIRED_SCOPES:standard:read] */
@@ -6274,9 +7118,9 @@ export type Query = {
6274
7118
  /** [REQUIRED_SCOPES:standard:read] */
6275
7119
  emails?: Maybe<EmailConnection>;
6276
7120
  enabledOnlyForUsers: UserConnection;
6277
- /** [REQUIRED_SCOPES:admin:read] */
7121
+ /** [REQUIRED_SCOPES:standard:read] */
6278
7122
  entities?: Maybe<EntityConnection>;
6279
- /** [REQUIRED_SCOPES:admin:read] */
7123
+ /** [REQUIRED_SCOPES:standard:read] */
6280
7124
  entity?: Maybe<Entity>;
6281
7125
  /** [REQUIRED_SCOPES:standard:read] */
6282
7126
  entityBranding: EntityBranding;
@@ -6344,6 +7188,8 @@ export type Query = {
6344
7188
  journalEntryLine?: Maybe<JournalEntryLine>;
6345
7189
  /** The Journal Entry Line represents a financial transaction line item [REQUIRED_SCOPES:standard:read] */
6346
7190
  journalEntryLines?: Maybe<JournalEntryLineConnection>;
7191
+ /** Launchpad metrics for revenue tracking [REQUIRED_SCOPES:standard:read] */
7192
+ launchpad: Launchpad;
6347
7193
  /** Leads are used to track potential new opportunities and can be converted to accounts [REQUIRED_SCOPES:standard:read] */
6348
7194
  lead?: Maybe<Lead>;
6349
7195
  /** Source of the lead [REQUIRED_SCOPES:standard:read] */
@@ -6353,7 +7199,7 @@ export type Query = {
6353
7199
  /** Status of a lead [REQUIRED_SCOPES:standard:read] */
6354
7200
  leadStatus?: Maybe<LeadStatus>;
6355
7201
  /** Status of a lead [REQUIRED_SCOPES:standard:read] */
6356
- leadStatuses: LeadStatusConnection;
7202
+ leadStatuses?: Maybe<LeadStatusConnection>;
6357
7203
  /** Leads are used to track potential new opportunities and can be converted to accounts [REQUIRED_SCOPES:standard:read] */
6358
7204
  leads: LeadConnection;
6359
7205
  /** [REQUIRED_SCOPES:standard:read] */
@@ -6373,10 +7219,8 @@ export type Query = {
6373
7219
  paymentApplication?: Maybe<PaymentApplication>;
6374
7220
  /** [REQUIRED_SCOPES:standard:read] */
6375
7221
  paymentApplications?: Maybe<PaymentApplicationConnection>;
6376
- /** [REQUIRED_SCOPES:billing:read] */
6377
- paymentMethod?: Maybe<PaymentMethod>;
6378
- /** [REQUIRED_SCOPES:billing:read] */
6379
7222
  paymentMethods?: Maybe<PaymentMethodConnection>;
7223
+ paymentPlugins: Array<PaymentPlugin>;
6380
7224
  /** [REQUIRED_SCOPES:standard:read] */
6381
7225
  payments?: Maybe<PaymentConnection>;
6382
7226
  /** [REQUIRED_SCOPES:standard:read] */
@@ -6385,6 +7229,7 @@ export type Query = {
6385
7229
  periods: PeriodConnection;
6386
7230
  /** [REQUIRED_SCOPES:product:read] */
6387
7231
  plan?: Maybe<Plan>;
7232
+ /** @deprecated Use PriceListChangeOptions instead */
6388
7233
  planChangeOptions: PlanChangeOptions;
6389
7234
  /** [REQUIRED_SCOPES:product:read] */
6390
7235
  planFeature?: Maybe<PlanFeature>;
@@ -6416,6 +7261,7 @@ export type Query = {
6416
7261
  pluginVendors?: Maybe<PluginVendorConnection>;
6417
7262
  /** [REQUIRED_SCOPES:standard:read plugins:read] */
6418
7263
  plugins?: Maybe<PluginConnection>;
7264
+ previewInvoice?: Maybe<FormattedInvoice>;
6419
7265
  /** [REQUIRED_SCOPES:product:read] */
6420
7266
  priceList?: Maybe<PriceList>;
6421
7267
  priceListChangeOptions: PriceListChangeOptions;
@@ -6435,6 +7281,7 @@ export type Query = {
6435
7281
  productCategory?: Maybe<ProductCategory>;
6436
7282
  /** [REQUIRED_SCOPES:product:read] */
6437
7283
  products: ProductConnection;
7284
+ queuedInvoices: InvoiceConnection;
6438
7285
  /** [REQUIRED_SCOPES:standard:read] */
6439
7286
  quote?: Maybe<Quote>;
6440
7287
  /** [REQUIRED_SCOPES:standard:read] */
@@ -6451,13 +7298,12 @@ export type Query = {
6451
7298
  recurringRevenue?: Maybe<RecurringRevenue>;
6452
7299
  /** [REQUIRED_SCOPES:billing:read] */
6453
7300
  recurringRevenues?: Maybe<RecurringRevenueConnection>;
6454
- /** [REQUIRED_SCOPES:standard:read] */
6455
- revenueDetails?: Maybe<Array<RevenueDetail>>;
6456
7301
  /** [REQUIRED_SCOPES:billing:read] */
6457
7302
  revenueMovement?: Maybe<RevenueMovement>;
6458
- /** [REQUIRED_SCOPES:billing:read] */
6459
7303
  revenueMovements: RevenueMovementConnection;
6460
7304
  /** [REQUIRED_SCOPES:standard:read] */
7305
+ revenueRecognitionExport: RevenueRecognitionExport;
7306
+ /** [REQUIRED_SCOPES:standard:read] */
6461
7307
  revenueRecognitionTable: RevenueRecognitionTable;
6462
7308
  /** [REQUIRED_SCOPES:security:read] */
6463
7309
  role?: Maybe<Role>;
@@ -6465,8 +7311,6 @@ export type Query = {
6465
7311
  /** [REQUIRED_SCOPES:security:read] */
6466
7312
  roles?: Maybe<RoleConnection>;
6467
7313
  search: Array<SearchResult>;
6468
- /** [REQUIRED_SCOPES:standard:read] */
6469
- secondaryBillingContacts: SecondaryBillingContactConnection;
6470
7314
  /** [REQUIRED_SCOPES:billing:read] */
6471
7315
  subscription?: Maybe<Subscription>;
6472
7316
  /** [REQUIRED_SCOPES:billing:read] */
@@ -6484,10 +7328,6 @@ export type Query = {
6484
7328
  templates?: Maybe<TemplateConnection>;
6485
7329
  /** [REQUIRED_SCOPES:product:read] */
6486
7330
  tenant?: Maybe<Tenant>;
6487
- /** [REQUIRED_SCOPES:standard:read] */
6488
- tenantProvisioningChange?: Maybe<TenantProvisioningChange>;
6489
- /** [REQUIRED_SCOPES:standard:read] */
6490
- tenantProvisioningChanges?: Maybe<TenantProvisioningChangeConnection>;
6491
7331
  /** [REQUIRED_SCOPES:product:read] */
6492
7332
  tenants?: Maybe<TenantConnection>;
6493
7333
  /** [REQUIRED_SCOPES:billing:read] */
@@ -6508,6 +7348,8 @@ export type Query = {
6508
7348
  webhookEvent?: Maybe<WebhookEvent>;
6509
7349
  /** A webhook payload [REQUIRED_SCOPES:workflow:read] */
6510
7350
  webhookEvents: WebhookEventConnection;
7351
+ /** Chart data for webhook event logs showing success and failure counts over the last 30 days [REQUIRED_SCOPES:workflow:read] */
7352
+ webhookEventsChart: WebhookEventsChart;
6511
7353
  /** A workflow containing triggers and jobs [REQUIRED_SCOPES:workflow:read] */
6512
7354
  workflow?: Maybe<Workflow>;
6513
7355
  /** A workflow action definition [REQUIRED_SCOPES:workflow:read] */
@@ -6650,6 +7492,15 @@ export type QueryCampaignsArgs = {
6650
7492
  sort?: InputMaybe<Scalars['String']['input']>;
6651
7493
  viewId?: InputMaybe<Scalars['ID']['input']>;
6652
7494
  };
7495
+ export type QueryChatArgs = {
7496
+ id: Scalars['ID']['input'];
7497
+ };
7498
+ export type QueryChatsArgs = {
7499
+ after?: InputMaybe<Scalars['String']['input']>;
7500
+ before?: InputMaybe<Scalars['String']['input']>;
7501
+ first?: InputMaybe<Scalars['Int']['input']>;
7502
+ last?: InputMaybe<Scalars['Int']['input']>;
7503
+ };
6653
7504
  export type QueryContactArgs = {
6654
7505
  code?: InputMaybe<Scalars['String']['input']>;
6655
7506
  id?: InputMaybe<Scalars['ID']['input']>;
@@ -6681,6 +7532,21 @@ export type QueryCreditNoteArgs = {
6681
7532
  format?: InputMaybe<Scalars['String']['input']>;
6682
7533
  id?: InputMaybe<Scalars['ID']['input']>;
6683
7534
  };
7535
+ export type QueryCreditNoteItemArgs = {
7536
+ code?: InputMaybe<Scalars['String']['input']>;
7537
+ format?: InputMaybe<Scalars['String']['input']>;
7538
+ id?: InputMaybe<Scalars['ID']['input']>;
7539
+ };
7540
+ export type QueryCreditNoteItemsArgs = {
7541
+ after?: InputMaybe<Scalars['String']['input']>;
7542
+ before?: InputMaybe<Scalars['String']['input']>;
7543
+ filter?: InputMaybe<Scalars['String']['input']>;
7544
+ first?: InputMaybe<Scalars['Int']['input']>;
7545
+ format?: InputMaybe<Scalars['String']['input']>;
7546
+ last?: InputMaybe<Scalars['Int']['input']>;
7547
+ sort?: InputMaybe<Scalars['String']['input']>;
7548
+ viewId?: InputMaybe<Scalars['ID']['input']>;
7549
+ };
6684
7550
  export type QueryCreditNotesArgs = {
6685
7551
  after?: InputMaybe<Scalars['String']['input']>;
6686
7552
  before?: InputMaybe<Scalars['String']['input']>;
@@ -6742,6 +7608,11 @@ export type QueryDeepEventsArgs = {
6742
7608
  objectId?: InputMaybe<Scalars['ID']['input']>;
6743
7609
  objectType?: InputMaybe<Scalars['String']['input']>;
6744
7610
  };
7611
+ export type QueryDisputeArgs = {
7612
+ code?: InputMaybe<Scalars['String']['input']>;
7613
+ format?: InputMaybe<Scalars['String']['input']>;
7614
+ id?: InputMaybe<Scalars['ID']['input']>;
7615
+ };
6745
7616
  export type QueryDisputeReasonArgs = {
6746
7617
  code?: InputMaybe<Scalars['String']['input']>;
6747
7618
  format?: InputMaybe<Scalars['String']['input']>;
@@ -6757,6 +7628,49 @@ export type QueryDisputeReasonsArgs = {
6757
7628
  sort?: InputMaybe<Scalars['String']['input']>;
6758
7629
  viewId?: InputMaybe<Scalars['ID']['input']>;
6759
7630
  };
7631
+ export type QueryDisputesArgs = {
7632
+ after?: InputMaybe<Scalars['String']['input']>;
7633
+ before?: InputMaybe<Scalars['String']['input']>;
7634
+ filter?: InputMaybe<Scalars['String']['input']>;
7635
+ first?: InputMaybe<Scalars['Int']['input']>;
7636
+ format?: InputMaybe<Scalars['String']['input']>;
7637
+ last?: InputMaybe<Scalars['Int']['input']>;
7638
+ sort?: InputMaybe<Scalars['String']['input']>;
7639
+ viewId?: InputMaybe<Scalars['ID']['input']>;
7640
+ };
7641
+ export type QueryDocumentTemplateArgs = {
7642
+ code?: InputMaybe<Scalars['String']['input']>;
7643
+ format?: InputMaybe<Scalars['String']['input']>;
7644
+ id?: InputMaybe<Scalars['ID']['input']>;
7645
+ };
7646
+ export type QueryDocumentTemplateComponentArgs = {
7647
+ code?: InputMaybe<Scalars['String']['input']>;
7648
+ format?: InputMaybe<Scalars['String']['input']>;
7649
+ id?: InputMaybe<Scalars['ID']['input']>;
7650
+ };
7651
+ export type QueryDocumentTemplateComponentsArgs = {
7652
+ after?: InputMaybe<Scalars['String']['input']>;
7653
+ before?: InputMaybe<Scalars['String']['input']>;
7654
+ filter?: InputMaybe<Scalars['String']['input']>;
7655
+ first?: InputMaybe<Scalars['Int']['input']>;
7656
+ format?: InputMaybe<Scalars['String']['input']>;
7657
+ last?: InputMaybe<Scalars['Int']['input']>;
7658
+ sort?: InputMaybe<Scalars['String']['input']>;
7659
+ viewId?: InputMaybe<Scalars['ID']['input']>;
7660
+ };
7661
+ export type QueryDocumentTemplatePreviewArgs = {
7662
+ id: Scalars['ID']['input'];
7663
+ };
7664
+ export type QueryDocumentTemplatesArgs = {
7665
+ after?: InputMaybe<Scalars['String']['input']>;
7666
+ before?: InputMaybe<Scalars['String']['input']>;
7667
+ filter?: InputMaybe<Scalars['String']['input']>;
7668
+ first?: InputMaybe<Scalars['Int']['input']>;
7669
+ format?: InputMaybe<Scalars['String']['input']>;
7670
+ last?: InputMaybe<Scalars['Int']['input']>;
7671
+ sort?: InputMaybe<Scalars['String']['input']>;
7672
+ viewId?: InputMaybe<Scalars['ID']['input']>;
7673
+ };
6760
7674
  export type QueryDraftCreditNotesArgs = {
6761
7675
  after?: InputMaybe<Scalars['String']['input']>;
6762
7676
  before?: InputMaybe<Scalars['String']['input']>;
@@ -7025,6 +7939,10 @@ export type QueryJournalEntryLinesArgs = {
7025
7939
  sort?: InputMaybe<Scalars['String']['input']>;
7026
7940
  viewId?: InputMaybe<Scalars['ID']['input']>;
7027
7941
  };
7942
+ export type QueryLaunchpadArgs = {
7943
+ entityId: Scalars['ID']['input'];
7944
+ groupId?: InputMaybe<Scalars['ID']['input']>;
7945
+ };
7028
7946
  export type QueryLeadArgs = {
7029
7947
  id: Scalars['ID']['input'];
7030
7948
  };
@@ -7044,13 +7962,16 @@ export type QueryLeadSourcesArgs = {
7044
7962
  viewId?: InputMaybe<Scalars['ID']['input']>;
7045
7963
  };
7046
7964
  export type QueryLeadStatusArgs = {
7047
- id: Scalars['ID']['input'];
7965
+ code?: InputMaybe<Scalars['String']['input']>;
7966
+ format?: InputMaybe<Scalars['String']['input']>;
7967
+ id?: InputMaybe<Scalars['ID']['input']>;
7048
7968
  };
7049
7969
  export type QueryLeadStatusesArgs = {
7050
7970
  after?: InputMaybe<Scalars['String']['input']>;
7051
7971
  before?: InputMaybe<Scalars['String']['input']>;
7052
7972
  filter?: InputMaybe<Scalars['String']['input']>;
7053
7973
  first?: InputMaybe<Scalars['Int']['input']>;
7974
+ format?: InputMaybe<Scalars['String']['input']>;
7054
7975
  last?: InputMaybe<Scalars['Int']['input']>;
7055
7976
  sort?: InputMaybe<Scalars['String']['input']>;
7056
7977
  viewId?: InputMaybe<Scalars['ID']['input']>;
@@ -7113,20 +8034,17 @@ export type QueryPaymentApplicationsArgs = {
7113
8034
  sort?: InputMaybe<Scalars['String']['input']>;
7114
8035
  viewId?: InputMaybe<Scalars['ID']['input']>;
7115
8036
  };
7116
- export type QueryPaymentMethodArgs = {
7117
- code?: InputMaybe<Scalars['String']['input']>;
7118
- format?: InputMaybe<Scalars['String']['input']>;
7119
- id?: InputMaybe<Scalars['ID']['input']>;
7120
- };
7121
8037
  export type QueryPaymentMethodsArgs = {
8038
+ accountId?: InputMaybe<Scalars['ID']['input']>;
7122
8039
  after?: InputMaybe<Scalars['String']['input']>;
7123
8040
  before?: InputMaybe<Scalars['String']['input']>;
7124
8041
  filter?: InputMaybe<Scalars['String']['input']>;
7125
8042
  first?: InputMaybe<Scalars['Int']['input']>;
7126
- format?: InputMaybe<Scalars['String']['input']>;
7127
8043
  last?: InputMaybe<Scalars['Int']['input']>;
7128
8044
  sort?: InputMaybe<Scalars['String']['input']>;
7129
- viewId?: InputMaybe<Scalars['ID']['input']>;
8045
+ };
8046
+ export type QueryPaymentPluginsArgs = {
8047
+ accountId?: InputMaybe<Scalars['ID']['input']>;
7130
8048
  };
7131
8049
  export type QueryPaymentsArgs = {
7132
8050
  after?: InputMaybe<Scalars['String']['input']>;
@@ -7270,6 +8188,10 @@ export type QueryPluginsArgs = {
7270
8188
  sort?: InputMaybe<Scalars['String']['input']>;
7271
8189
  viewId?: InputMaybe<Scalars['ID']['input']>;
7272
8190
  };
8191
+ export type QueryPreviewInvoiceArgs = {
8192
+ accountId: Scalars['ID']['input'];
8193
+ billingDate: Scalars['ISO8601Date']['input'];
8194
+ };
7273
8195
  export type QueryPriceListArgs = {
7274
8196
  code?: InputMaybe<Scalars['String']['input']>;
7275
8197
  format?: InputMaybe<Scalars['String']['input']>;
@@ -7305,7 +8227,8 @@ export type QueryPriceListsArgs = {
7305
8227
  viewId?: InputMaybe<Scalars['ID']['input']>;
7306
8228
  };
7307
8229
  export type QueryProductArgs = {
7308
- id: Scalars['ID']['input'];
8230
+ code?: InputMaybe<Scalars['String']['input']>;
8231
+ id?: InputMaybe<Scalars['ID']['input']>;
7309
8232
  };
7310
8233
  export type QueryProductCategoriesArgs = {
7311
8234
  after?: InputMaybe<Scalars['String']['input']>;
@@ -7331,6 +8254,14 @@ export type QueryProductsArgs = {
7331
8254
  sort?: InputMaybe<Scalars['String']['input']>;
7332
8255
  viewId?: InputMaybe<Scalars['ID']['input']>;
7333
8256
  };
8257
+ export type QueryQueuedInvoicesArgs = {
8258
+ after?: InputMaybe<Scalars['String']['input']>;
8259
+ before?: InputMaybe<Scalars['String']['input']>;
8260
+ filter?: InputMaybe<Scalars['String']['input']>;
8261
+ first?: InputMaybe<Scalars['Int']['input']>;
8262
+ last?: InputMaybe<Scalars['Int']['input']>;
8263
+ sort?: InputMaybe<Scalars['String']['input']>;
8264
+ };
7334
8265
  export type QueryQuoteArgs = {
7335
8266
  code?: InputMaybe<Scalars['String']['input']>;
7336
8267
  format?: InputMaybe<Scalars['String']['input']>;
@@ -7391,9 +8322,6 @@ export type QueryRecurringRevenuesArgs = {
7391
8322
  sort?: InputMaybe<Scalars['String']['input']>;
7392
8323
  viewId?: InputMaybe<Scalars['ID']['input']>;
7393
8324
  };
7394
- export type QueryRevenueDetailsArgs = {
7395
- accountId?: InputMaybe<Scalars['Int']['input']>;
7396
- };
7397
8325
  export type QueryRevenueMovementArgs = {
7398
8326
  id: Scalars['ID']['input'];
7399
8327
  };
@@ -7406,6 +8334,13 @@ export type QueryRevenueMovementsArgs = {
7406
8334
  sort?: InputMaybe<Scalars['String']['input']>;
7407
8335
  viewId?: InputMaybe<Scalars['ID']['input']>;
7408
8336
  };
8337
+ export type QueryRevenueRecognitionExportArgs = {
8338
+ entityId: Scalars['ID']['input'];
8339
+ filter?: InputMaybe<Scalars['String']['input']>;
8340
+ limit?: InputMaybe<Scalars['Int']['input']>;
8341
+ offset?: InputMaybe<Scalars['Int']['input']>;
8342
+ year: Scalars['Int']['input'];
8343
+ };
7409
8344
  export type QueryRevenueRecognitionTableArgs = {
7410
8345
  entityId: Scalars['ID']['input'];
7411
8346
  filter?: InputMaybe<Scalars['String']['input']>;
@@ -7437,15 +8372,6 @@ export type QueryRolesArgs = {
7437
8372
  export type QuerySearchArgs = {
7438
8373
  text: Scalars['String']['input'];
7439
8374
  };
7440
- export type QuerySecondaryBillingContactsArgs = {
7441
- after?: InputMaybe<Scalars['String']['input']>;
7442
- before?: InputMaybe<Scalars['String']['input']>;
7443
- filter?: InputMaybe<Scalars['String']['input']>;
7444
- first?: InputMaybe<Scalars['Int']['input']>;
7445
- last?: InputMaybe<Scalars['Int']['input']>;
7446
- sort?: InputMaybe<Scalars['String']['input']>;
7447
- viewId?: InputMaybe<Scalars['ID']['input']>;
7448
- };
7449
8375
  export type QuerySubscriptionArgs = {
7450
8376
  code?: InputMaybe<Scalars['String']['input']>;
7451
8377
  format?: InputMaybe<Scalars['String']['input']>;
@@ -7503,21 +8429,6 @@ export type QueryTenantArgs = {
7503
8429
  format?: InputMaybe<Scalars['String']['input']>;
7504
8430
  id?: InputMaybe<Scalars['ID']['input']>;
7505
8431
  };
7506
- export type QueryTenantProvisioningChangeArgs = {
7507
- code?: InputMaybe<Scalars['String']['input']>;
7508
- format?: InputMaybe<Scalars['String']['input']>;
7509
- id?: InputMaybe<Scalars['ID']['input']>;
7510
- };
7511
- export type QueryTenantProvisioningChangesArgs = {
7512
- after?: InputMaybe<Scalars['String']['input']>;
7513
- before?: InputMaybe<Scalars['String']['input']>;
7514
- filter?: InputMaybe<Scalars['String']['input']>;
7515
- first?: InputMaybe<Scalars['Int']['input']>;
7516
- format?: InputMaybe<Scalars['String']['input']>;
7517
- last?: InputMaybe<Scalars['Int']['input']>;
7518
- sort?: InputMaybe<Scalars['String']['input']>;
7519
- viewId?: InputMaybe<Scalars['ID']['input']>;
7520
- };
7521
8432
  export type QueryTenantsArgs = {
7522
8433
  after?: InputMaybe<Scalars['String']['input']>;
7523
8434
  before?: InputMaybe<Scalars['String']['input']>;
@@ -7637,15 +8548,19 @@ export type QueryWorkflowsArgs = {
7637
8548
  };
7638
8549
  export type Quote = {
7639
8550
  __typename?: 'Quote';
8551
+ acceptedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
7640
8552
  acceptedByName?: Maybe<Scalars['String']['output']>;
7641
8553
  acceptedByTitle?: Maybe<Scalars['String']['output']>;
7642
8554
  account?: Maybe<Account>;
7643
8555
  accountId: Scalars['ID']['output'];
7644
8556
  amount: Scalars['Float']['output'];
8557
+ /** Formatted amount with currency symbol */
8558
+ amountAsCurrency: Scalars['String']['output'];
7645
8559
  amountDue?: Maybe<Scalars['Float']['output']>;
7646
8560
  amountsByPeriod: Array<PeriodAmount>;
7647
8561
  applicationDate?: Maybe<Scalars['ISO8601Date']['output']>;
7648
8562
  applied: Scalars['Boolean']['output'];
8563
+ applyOnAccept?: Maybe<Scalars['Boolean']['output']>;
7649
8564
  approvalRequest?: Maybe<ApprovalRequest>;
7650
8565
  backdatedPeriods?: Maybe<Scalars['Boolean']['output']>;
7651
8566
  backdatedQuote?: Maybe<Scalars['Boolean']['output']>;
@@ -7653,20 +8568,29 @@ export type Quote = {
7653
8568
  billingDay?: Maybe<Scalars['Int']['output']>;
7654
8569
  contact?: Maybe<Contact>;
7655
8570
  contactId?: Maybe<Scalars['ID']['output']>;
8571
+ /** Contact signers IDs */
8572
+ contactSignerIds?: Maybe<Array<Scalars['ID']['output']>>;
8573
+ /** Contact signers */
8574
+ contactSigners?: Maybe<Array<Contact>>;
7656
8575
  createdAt: Scalars['ISO8601DateTime']['output'];
7657
8576
  /** Credits granted from plan upgrades */
7658
8577
  credits?: Maybe<Scalars['Float']['output']>;
7659
8578
  currencyId: Scalars['ID']['output'];
8579
+ currentPaymentHold?: Maybe<PaymentHold>;
7660
8580
  deal?: Maybe<Deal>;
7661
8581
  dealId?: Maybe<Scalars['ID']['output']>;
7662
8582
  discount?: Maybe<Scalars['Float']['output']>;
7663
8583
  /** Amount discounted from subtotal */
7664
8584
  discountValue: Scalars['Float']['output'];
8585
+ documentTemplate?: Maybe<DocumentTemplate>;
8586
+ documentTemplateId?: Maybe<Scalars['ID']['output']>;
7665
8587
  documents?: Maybe<Array<Document>>;
7666
8588
  endDate: Scalars['ISO8601Date']['output'];
7667
8589
  endDateOptions?: Maybe<Array<DateOption>>;
8590
+ entity: Entity;
7668
8591
  evergreen?: Maybe<Scalars['Boolean']['output']>;
7669
8592
  expiresAt: Scalars['ISO8601Date']['output'];
8593
+ files?: Maybe<Array<Document>>;
7670
8594
  firstInvoice?: Maybe<Invoice>;
7671
8595
  formattedQuote?: Maybe<FormattedQuote>;
7672
8596
  /** Null when previewing */
@@ -7687,6 +8611,7 @@ export type Quote = {
7687
8611
  number?: Maybe<Scalars['String']['output']>;
7688
8612
  owner?: Maybe<User>;
7689
8613
  ownerId?: Maybe<Scalars['ID']['output']>;
8614
+ payToAccept?: Maybe<Scalars['Boolean']['output']>;
7690
8615
  payableId?: Maybe<Scalars['ID']['output']>;
7691
8616
  /** Amount for a single full period of the subscription */
7692
8617
  periodAmount?: Maybe<Scalars['Float']['output']>;
@@ -7694,6 +8619,8 @@ export type Quote = {
7694
8619
  poNumber?: Maybe<Scalars['String']['output']>;
7695
8620
  quoteChanges?: Maybe<Array<QuoteChange>>;
7696
8621
  requiresApproval: Scalars['Boolean']['output'];
8622
+ sharedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
8623
+ signingMetadata?: Maybe<SigningMetadata>;
7697
8624
  /** Amount in the currency smallest unit */
7698
8625
  smallUnitAmountDue?: Maybe<Scalars['Int']['output']>;
7699
8626
  splitInvoice?: Maybe<Scalars['Boolean']['output']>;
@@ -7706,7 +8633,12 @@ export type Quote = {
7706
8633
  /** Approval rules triggered by the quote properties */
7707
8634
  triggeredApprovalRules?: Maybe<Array<ApprovalRule>>;
7708
8635
  updatedAt: Scalars['ISO8601DateTime']['output'];
8636
+ /** User signers IDs */
8637
+ userSignerIds?: Maybe<Array<Scalars['ID']['output']>>;
8638
+ /** User signers */
8639
+ userSigners?: Maybe<Array<QuoteUserSigner>>;
7709
8640
  uuid: Scalars['ID']['output'];
8641
+ viewedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
7710
8642
  };
7711
8643
  export type QuoteTriggeredApprovalRulesArgs = {
7712
8644
  approverId?: InputMaybe<Scalars['ID']['input']>;
@@ -7727,12 +8659,6 @@ export type QuoteAccountSignupPayload = {
7727
8659
  quote?: Maybe<Quote>;
7728
8660
  tenant?: Maybe<Tenant>;
7729
8661
  };
7730
- /** Autogenerated return type of QuoteAddCoupon. */
7731
- export type QuoteAddCouponPayload = {
7732
- __typename?: 'QuoteAddCouponPayload';
7733
- errors?: Maybe<Scalars['String']['output']>;
7734
- quote?: Maybe<Quote>;
7735
- };
7736
8662
  /** Autogenerated return type of QuoteApplyChanges. */
7737
8663
  export type QuoteApplyChangesPayload = {
7738
8664
  __typename?: 'QuoteApplyChangesPayload';
@@ -7741,6 +8667,12 @@ export type QuoteApplyChangesPayload = {
7741
8667
  quote: Quote;
7742
8668
  subscriptions?: Maybe<Array<Subscription>>;
7743
8669
  };
8670
+ /** Autogenerated return type of QuoteApplyPriceAdjustments. */
8671
+ export type QuoteApplyPriceAdjustmentsPayload = {
8672
+ __typename?: 'QuoteApplyPriceAdjustmentsPayload';
8673
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8674
+ quote?: Maybe<Quote>;
8675
+ };
7744
8676
  /** Autogenerated return type of QuoteApprovalCancel. */
7745
8677
  export type QuoteApprovalCancelPayload = {
7746
8678
  __typename?: 'QuoteApprovalCancelPayload';
@@ -7759,11 +8691,15 @@ export type QuoteApprovePayload = {
7759
8691
  };
7760
8692
  export type QuoteAttributes = {
7761
8693
  accountId?: InputMaybe<Scalars['ID']['input']>;
8694
+ applyOnAccept?: InputMaybe<Scalars['Boolean']['input']>;
7762
8695
  backdatedPeriods?: InputMaybe<Scalars['Boolean']['input']>;
7763
8696
  contactId?: InputMaybe<Scalars['ID']['input']>;
8697
+ /** Contact signers IDs */
8698
+ contactSignerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
7764
8699
  currencyId?: InputMaybe<Scalars['String']['input']>;
7765
8700
  dealId?: InputMaybe<Scalars['ID']['input']>;
7766
8701
  discount?: InputMaybe<Scalars['Float']['input']>;
8702
+ documentTemplateId?: InputMaybe<Scalars['ID']['input']>;
7767
8703
  endDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
7768
8704
  evergreen?: InputMaybe<Scalars['Boolean']['input']>;
7769
8705
  expiresAt?: InputMaybe<Scalars['ISO8601Date']['input']>;
@@ -7776,37 +8712,70 @@ export type QuoteAttributes = {
7776
8712
  /** Notes pertaining to the quote */
7777
8713
  notes?: InputMaybe<Scalars['String']['input']>;
7778
8714
  ownerId?: InputMaybe<Scalars['ID']['input']>;
8715
+ payToAccept?: InputMaybe<Scalars['Boolean']['input']>;
7779
8716
  poNumber?: InputMaybe<Scalars['String']['input']>;
7780
8717
  splitInvoice?: InputMaybe<Scalars['Boolean']['input']>;
7781
8718
  startDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
8719
+ /** User signers IDs */
8720
+ userSignerIds?: InputMaybe<Array<Scalars['ID']['input']>>;
7782
8721
  };
7783
8722
  export type QuoteChange = {
7784
8723
  __typename?: 'QuoteChange';
8724
+ /** Addon quote changes for the quote change */
8725
+ addonQuoteChanges?: Maybe<Array<QuoteChange>>;
7785
8726
  charges: Array<QuoteCharge>;
7786
8727
  currencyId: Scalars['ID']['output'];
8728
+ /** Subscription charges for the configured date */
8729
+ currentSubscriptionCharges?: Maybe<Array<SubscriptionCharge>>;
7787
8730
  endDate?: Maybe<Scalars['ISO8601Date']['output']>;
8731
+ evergreen?: Maybe<Scalars['Boolean']['output']>;
7788
8732
  id?: Maybe<Scalars['ID']['output']>;
7789
8733
  /** The available interval months options for ramp up changes */
7790
8734
  intervalMonthsOptions?: Maybe<Array<Scalars['Int']['output']>>;
8735
+ isTrial: Scalars['Boolean']['output'];
7791
8736
  kind: QuoteChangeKind;
7792
8737
  name: Scalars['String']['output'];
8738
+ priceAdjustmentAction?: Maybe<PriceAdjustmentAction>;
8739
+ priceAdjustmentActionOptions: Array<Scalars['String']['output']>;
8740
+ priceAdjustmentAllowed?: Maybe<Scalars['Boolean']['output']>;
8741
+ priceAdjustmentLastDate?: Maybe<Scalars['ISO8601Date']['output']>;
8742
+ priceAdjustmentPercentage?: Maybe<Scalars['Float']['output']>;
8743
+ priceAdjustmentTiming?: Maybe<PriceAdjustmentTiming>;
8744
+ priceAdjustmentTimingOptions: Array<Scalars['String']['output']>;
7793
8745
  priceList?: Maybe<PriceList>;
7794
8746
  priceListId?: Maybe<Scalars['ID']['output']>;
7795
- /** Standard pricing is used unless this is true */
7796
- priceOverride?: Maybe<Scalars['Boolean']['output']>;
7797
8747
  quote: Quote;
7798
8748
  quoteId: Scalars['ID']['output'];
7799
8749
  quotePlan: QuotePlan;
7800
8750
  quotePlanId: Scalars['ID']['output'];
7801
8751
  /** The selected interval months for ramp up changes */
7802
8752
  rampIntervalMonths?: Maybe<Scalars['Int']['output']>;
8753
+ /** Description of the renwal settings */
8754
+ renewalSummary?: Maybe<Scalars['String']['output']>;
8755
+ /** Number of months for the renewal term */
8756
+ renewalTermMonths?: Maybe<Scalars['Int']['output']>;
8757
+ renewalTermMonthsOptions: Array<RenewalTermOption>;
7803
8758
  startDate?: Maybe<Scalars['ISO8601Date']['output']>;
7804
8759
  subscription?: Maybe<Subscription>;
7805
8760
  subscriptionId?: Maybe<Scalars['ID']['output']>;
8761
+ trialEndDate?: Maybe<Scalars['ISO8601Date']['output']>;
8762
+ trialStartDate?: Maybe<Scalars['ISO8601Date']['output']>;
7806
8763
  };
7807
8764
  export type QuoteChangeChargesArgs = {
7808
8765
  sort?: InputMaybe<Scalars['String']['input']>;
7809
8766
  };
8767
+ /** Autogenerated return type of QuoteChangeAddCoupon. */
8768
+ export type QuoteChangeAddCouponPayload = {
8769
+ __typename?: 'QuoteChangeAddCouponPayload';
8770
+ errors?: Maybe<Scalars['String']['output']>;
8771
+ quoteChange?: Maybe<QuoteChange>;
8772
+ };
8773
+ /** Autogenerated return type of QuoteChangeApplyPriceAdjustment. */
8774
+ export type QuoteChangeApplyPriceAdjustmentPayload = {
8775
+ __typename?: 'QuoteChangeApplyPriceAdjustmentPayload';
8776
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8777
+ quoteChange?: Maybe<QuoteChange>;
8778
+ };
7810
8779
  /** The connection type for QuoteChange. */
7811
8780
  export type QuoteChangeConnection = {
7812
8781
  __typename?: 'QuoteChangeConnection';
@@ -7837,6 +8806,12 @@ export type QuoteChangeCreateRampUpPreviewPayload = {
7837
8806
  intervalMonthsOptions?: Maybe<Array<Scalars['Int']['output']>>;
7838
8807
  quoteChange?: Maybe<QuoteChange>;
7839
8808
  };
8809
+ /** Autogenerated return type of QuoteChangeCreateRenew. */
8810
+ export type QuoteChangeCreateRenewPayload = {
8811
+ __typename?: 'QuoteChangeCreateRenewPayload';
8812
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8813
+ quoteChange?: Maybe<QuoteChange>;
8814
+ };
7840
8815
  /** Autogenerated return type of QuoteChangeDelete. */
7841
8816
  export type QuoteChangeDeletePayload = {
7842
8817
  __typename?: 'QuoteChangeDeletePayload';
@@ -7859,14 +8834,22 @@ export type QuoteChangeEdge = {
7859
8834
  node?: Maybe<QuoteChange>;
7860
8835
  };
7861
8836
  export type QuoteChangeKind =
8837
+ /** Activate quote */
8838
+ 'ACTIVATE'
7862
8839
  /** Adjustment quote */
7863
- 'ADJUSTMENT'
8840
+ | 'ADJUSTMENT'
7864
8841
  /** Coupon quote */
7865
8842
  | 'COUPON'
7866
8843
  /** Credit quote */
7867
8844
  | 'CREDIT'
7868
8845
  /** Discount quote */
7869
8846
  | 'DISCOUNT'
8847
+ /** Free_period_discount quote */
8848
+ | 'FREE_PERIOD_DISCOUNT'
8849
+ /** Price_update quote */
8850
+ | 'PRICE_UPDATE'
8851
+ /** Quantity_update quote */
8852
+ | 'QUANTITY_UPDATE'
7870
8853
  /** Reinstate quote */
7871
8854
  | 'REINSTATE'
7872
8855
  /** Renew quote */
@@ -7877,6 +8860,18 @@ export type QuoteChangeKind =
7877
8860
  | 'UNSUBSCRIBE'
7878
8861
  /** Update quote */
7879
8862
  | 'UPDATE';
8863
+ /** Autogenerated return type of QuoteChangeRemoveCoupon. */
8864
+ export type QuoteChangeRemoveCouponPayload = {
8865
+ __typename?: 'QuoteChangeRemoveCouponPayload';
8866
+ errors?: Maybe<Scalars['String']['output']>;
8867
+ quoteChange?: Maybe<QuoteChange>;
8868
+ };
8869
+ /** Autogenerated return type of QuoteChangeRevertPriceAdjustment. */
8870
+ export type QuoteChangeRevertPriceAdjustmentPayload = {
8871
+ __typename?: 'QuoteChangeRevertPriceAdjustmentPayload';
8872
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8873
+ quoteChange?: Maybe<QuoteChange>;
8874
+ };
7880
8875
  /** Autogenerated return type of QuoteChangeUpdate. */
7881
8876
  export type QuoteChangeUpdatePayload = {
7882
8877
  __typename?: 'QuoteChangeUpdatePayload';
@@ -7896,16 +8891,20 @@ export type QuoteCharge = {
7896
8891
  billingPeriod?: Maybe<BillingPeriod>;
7897
8892
  billingPeriodAmounts?: Maybe<Array<BillingPeriodAmount>>;
7898
8893
  chargeType?: Maybe<ChargeType>;
8894
+ coupon?: Maybe<Coupon>;
7899
8895
  couponId?: Maybe<Scalars['ID']['output']>;
7900
8896
  createdAt: Scalars['ISO8601DateTime']['output'];
7901
8897
  currencyId: Scalars['ID']['output'];
8898
+ currentPrice?: Maybe<Scalars['Float']['output']>;
7902
8899
  currentQuantity?: Maybe<Scalars['Int']['output']>;
7903
8900
  discount?: Maybe<Scalars['Float']['output']>;
7904
8901
  endDate: Scalars['ISO8601Date']['output'];
8902
+ evergreen: Scalars['Boolean']['output'];
7905
8903
  feature?: Maybe<Feature>;
7906
8904
  id?: Maybe<Scalars['ID']['output']>;
7907
8905
  invoiceLineText?: Maybe<Scalars['String']['output']>;
7908
8906
  isRamp: Scalars['Boolean']['output'];
8907
+ isTrial: Scalars['Boolean']['output'];
7909
8908
  kind?: Maybe<QuoteChangeKind>;
7910
8909
  name?: Maybe<Scalars['String']['output']>;
7911
8910
  price?: Maybe<Scalars['Float']['output']>;
@@ -7936,6 +8935,7 @@ export type QuoteChargeAttributes = {
7936
8935
  /** Discount rate for the charge */
7937
8936
  discount?: InputMaybe<Scalars['Float']['input']>;
7938
8937
  endDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
8938
+ evergreen?: InputMaybe<Scalars['Boolean']['input']>;
7939
8939
  id?: InputMaybe<Scalars['ID']['input']>;
7940
8940
  name?: InputMaybe<Scalars['String']['input']>;
7941
8941
  price?: InputMaybe<Scalars['BigDecimal']['input']>;
@@ -7956,6 +8956,18 @@ export type QuoteChargeConnection = {
7956
8956
  pageInfo: PageInfo;
7957
8957
  totalCount: Scalars['Int']['output'];
7958
8958
  };
8959
+ /** Autogenerated return type of QuoteChargeCreate. */
8960
+ export type QuoteChargeCreatePayload = {
8961
+ __typename?: 'QuoteChargeCreatePayload';
8962
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8963
+ quoteCharge?: Maybe<QuoteCharge>;
8964
+ };
8965
+ /** Autogenerated return type of QuoteChargeDelete. */
8966
+ export type QuoteChargeDeletePayload = {
8967
+ __typename?: 'QuoteChargeDeletePayload';
8968
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8969
+ quoteCharge?: Maybe<QuoteCharge>;
8970
+ };
7959
8971
  /** An edge in a connection. */
7960
8972
  export type QuoteChargeEdge = {
7961
8973
  __typename?: 'QuoteChargeEdge';
@@ -8004,6 +9016,7 @@ export type QuoteCreatePayload = {
8004
9016
  export type QuoteCreateSignUrlPayload = {
8005
9017
  __typename?: 'QuoteCreateSignUrlPayload';
8006
9018
  errors?: Maybe<Array<Scalars['String']['output']>>;
9019
+ message?: Maybe<Scalars['String']['output']>;
8007
9020
  pluginClientId?: Maybe<Scalars['String']['output']>;
8008
9021
  pluginShortName?: Maybe<Scalars['String']['output']>;
8009
9022
  redirectUri?: Maybe<Scalars['String']['output']>;
@@ -8035,12 +9048,6 @@ export type QuoteEdge = {
8035
9048
  /** The item at the end of the edge. */
8036
9049
  node?: Maybe<Quote>;
8037
9050
  };
8038
- export type QuoteFreeMonthsAttributes = {
8039
- freeMonths: Scalars['Int']['input'];
8040
- /** Whether the free periods should be added to the quote period */
8041
- freeMonthsAdd?: InputMaybe<Scalars['Boolean']['input']>;
8042
- name: Scalars['String']['input'];
8043
- };
8044
9051
  export type QuoteLine = {
8045
9052
  __typename?: 'QuoteLine';
8046
9053
  amount: Scalars['Float']['output'];
@@ -8091,15 +9098,6 @@ export type QuotePlan = {
8091
9098
  subscriptionId?: Maybe<Scalars['ID']['output']>;
8092
9099
  updatedAt: Scalars['ISO8601DateTime']['output'];
8093
9100
  };
8094
- export type QuotePlanPreview = {
8095
- __typename?: 'QuotePlanPreview';
8096
- errors?: Maybe<Array<Scalars['String']['output']>>;
8097
- formattedInvoice?: Maybe<FormattedInvoice>;
8098
- formattedQuote: FormattedQuote;
8099
- invoice?: Maybe<Invoice>;
8100
- quote: Quote;
8101
- subscriptions: Array<Subscription>;
8102
- };
8103
9101
  /** Autogenerated return type of QuotePollSigningUrl. */
8104
9102
  export type QuotePollSigningUrlPayload = {
8105
9103
  __typename?: 'QuotePollSigningUrlPayload';
@@ -8115,6 +9113,10 @@ export type QuotePriceTier = {
8115
9113
  price?: Maybe<Scalars['Float']['output']>;
8116
9114
  starts?: Maybe<Scalars['Int']['output']>;
8117
9115
  };
9116
+ export type QuotePriceTierAttributes = {
9117
+ price: Scalars['Float']['input'];
9118
+ starts: Scalars['Int']['input'];
9119
+ };
8118
9120
  /** Autogenerated return type of QuoteRecalculateTaxes. */
8119
9121
  export type QuoteRecalculateTaxesPayload = {
8120
9122
  __typename?: 'QuoteRecalculateTaxesPayload';
@@ -8126,17 +9128,21 @@ export type QuoteRejectPayload = {
8126
9128
  __typename?: 'QuoteRejectPayload';
8127
9129
  errors?: Maybe<Scalars['String']['output']>;
8128
9130
  };
8129
- /** Autogenerated return type of QuoteRemoveCoupons. */
8130
- export type QuoteRemoveCouponsPayload = {
8131
- __typename?: 'QuoteRemoveCouponsPayload';
8132
- errors?: Maybe<Scalars['String']['output']>;
8133
- quote?: Maybe<Quote>;
8134
- };
8135
9131
  /** Autogenerated return type of QuoteSendEmail. */
8136
9132
  export type QuoteSendEmailPayload = {
8137
9133
  __typename?: 'QuoteSendEmailPayload';
8138
9134
  errors?: Maybe<Array<Scalars['String']['output']>>;
8139
9135
  };
9136
+ /** Autogenerated return type of QuoteSignatureCreate. */
9137
+ export type QuoteSignatureCreatePayload = {
9138
+ __typename?: 'QuoteSignatureCreatePayload';
9139
+ errors?: Maybe<Scalars['String']['output']>;
9140
+ };
9141
+ /** Autogenerated return type of QuoteSignersSendEmail. */
9142
+ export type QuoteSignersSendEmailPayload = {
9143
+ __typename?: 'QuoteSignersSendEmailPayload';
9144
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9145
+ };
8140
9146
  export type QuoteState =
8141
9147
  /** Accepted quote */
8142
9148
  'ACCEPTED'
@@ -8154,6 +9160,30 @@ export type QuoteState =
8154
9160
  | 'UNDONE'
8155
9161
  /** Viewed quote */
8156
9162
  | 'VIEWED';
9163
+ /** Autogenerated return type of QuoteSubscriptionActivate. */
9164
+ export type QuoteSubscriptionActivatePayload = {
9165
+ __typename?: 'QuoteSubscriptionActivatePayload';
9166
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9167
+ quote?: Maybe<Quote>;
9168
+ };
9169
+ /** Autogenerated return type of QuoteSubscriptionAddon. */
9170
+ export type QuoteSubscriptionAddonPayload = {
9171
+ __typename?: 'QuoteSubscriptionAddonPayload';
9172
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9173
+ quote?: Maybe<Quote>;
9174
+ };
9175
+ /** Autogenerated return type of QuoteSubscriptionDiscount. */
9176
+ export type QuoteSubscriptionDiscountPayload = {
9177
+ __typename?: 'QuoteSubscriptionDiscountPayload';
9178
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9179
+ quote?: Maybe<Quote>;
9180
+ };
9181
+ /** Autogenerated return type of QuoteSubscriptionImport. */
9182
+ export type QuoteSubscriptionImportPayload = {
9183
+ __typename?: 'QuoteSubscriptionImportPayload';
9184
+ errors: Array<Scalars['String']['output']>;
9185
+ quote?: Maybe<Quote>;
9186
+ };
8157
9187
  /** Autogenerated return type of QuoteSubscriptionReinstate. */
8158
9188
  export type QuoteSubscriptionReinstatePayload = {
8159
9189
  __typename?: 'QuoteSubscriptionReinstatePayload';
@@ -8198,6 +9228,31 @@ export type QuoteUpdatePayload = {
8198
9228
  errors?: Maybe<Array<Scalars['String']['output']>>;
8199
9229
  quote?: Maybe<Quote>;
8200
9230
  };
9231
+ export type QuoteUserSigner = {
9232
+ __typename?: 'QuoteUserSigner';
9233
+ allowLoginViaEmailLink?: Maybe<Scalars['Boolean']['output']>;
9234
+ createdAt: Scalars['ISO8601DateTime']['output'];
9235
+ email?: Maybe<Scalars['String']['output']>;
9236
+ enabled?: Maybe<Scalars['Boolean']['output']>;
9237
+ entityId?: Maybe<Scalars['ID']['output']>;
9238
+ firstName: Scalars['String']['output'];
9239
+ fullName: Scalars['String']['output'];
9240
+ groupId?: Maybe<Scalars['ID']['output']>;
9241
+ id: Scalars['ID']['output'];
9242
+ imageUrl: Scalars['String']['output'];
9243
+ lastLogin?: Maybe<Scalars['ISO8601DateTime']['output']>;
9244
+ lastName?: Maybe<Scalars['String']['output']>;
9245
+ managerUser?: Maybe<User>;
9246
+ managerUserId?: Maybe<Scalars['ID']['output']>;
9247
+ profile?: Maybe<UserProfile>;
9248
+ role?: Maybe<Role>;
9249
+ roleId?: Maybe<Scalars['ID']['output']>;
9250
+ subordinates?: Maybe<Array<User>>;
9251
+ /** The user's work title */
9252
+ title?: Maybe<Scalars['String']['output']>;
9253
+ updatedAt: Scalars['ISO8601DateTime']['output'];
9254
+ uuid?: Maybe<Scalars['String']['output']>;
9255
+ };
8201
9256
  export type RecurringRevenue = {
8202
9257
  __typename?: 'RecurringRevenue';
8203
9258
  /** Account the revenue belongs to */
@@ -8238,14 +9293,12 @@ export type RelatedObject = {
8238
9293
  id: Scalars['ID']['output'];
8239
9294
  name: Scalars['String']['output'];
8240
9295
  };
8241
- export type RevenueDetail = {
8242
- __typename?: 'RevenueDetail';
8243
- currencyId?: Maybe<Scalars['ID']['output']>;
8244
- deferred?: Maybe<Scalars['Float']['output']>;
8245
- id?: Maybe<Scalars['Int']['output']>;
8246
- month?: Maybe<Scalars['Int']['output']>;
8247
- recognized?: Maybe<Scalars['Float']['output']>;
8248
- year?: Maybe<Scalars['Int']['output']>;
9296
+ export type RenewalTermOption = {
9297
+ __typename?: 'RenewalTermOption';
9298
+ /** Number of months for this renewal term option */
9299
+ id: Scalars['Int']['output'];
9300
+ /** Human readable label for the renewal term option */
9301
+ name: Scalars['String']['output'];
8249
9302
  };
8250
9303
  export type RevenueMovement = {
8251
9304
  __typename?: 'RevenueMovement';
@@ -8301,6 +9354,41 @@ export type RevenueRecognitionDocument = {
8301
9354
  number: Scalars['ID']['output'];
8302
9355
  totals: Array<RevenueRecognitionMonths>;
8303
9356
  };
9357
+ export type RevenueRecognitionExport = {
9358
+ __typename?: 'RevenueRecognitionExport';
9359
+ rows: Array<RevenueRecognitionExportRow>;
9360
+ };
9361
+ export type RevenueRecognitionExportRow = {
9362
+ __typename?: 'RevenueRecognitionExportRow';
9363
+ accountName?: Maybe<Scalars['String']['output']>;
9364
+ aprilBalance?: Maybe<Scalars['Float']['output']>;
9365
+ aprilRevenue?: Maybe<Scalars['Float']['output']>;
9366
+ augustBalance?: Maybe<Scalars['Float']['output']>;
9367
+ augustRevenue?: Maybe<Scalars['Float']['output']>;
9368
+ decemberBalance?: Maybe<Scalars['Float']['output']>;
9369
+ decemberRevenue?: Maybe<Scalars['Float']['output']>;
9370
+ februaryBalance?: Maybe<Scalars['Float']['output']>;
9371
+ februaryRevenue?: Maybe<Scalars['Float']['output']>;
9372
+ invoiceNumber?: Maybe<Scalars['String']['output']>;
9373
+ januaryBalance?: Maybe<Scalars['Float']['output']>;
9374
+ januaryRevenue?: Maybe<Scalars['Float']['output']>;
9375
+ julyBalance?: Maybe<Scalars['Float']['output']>;
9376
+ julyRevenue?: Maybe<Scalars['Float']['output']>;
9377
+ juneBalance?: Maybe<Scalars['Float']['output']>;
9378
+ juneRevenue?: Maybe<Scalars['Float']['output']>;
9379
+ lineText?: Maybe<Scalars['String']['output']>;
9380
+ marchBalance?: Maybe<Scalars['Float']['output']>;
9381
+ marchRevenue?: Maybe<Scalars['Float']['output']>;
9382
+ mayBalance?: Maybe<Scalars['Float']['output']>;
9383
+ mayRevenue?: Maybe<Scalars['Float']['output']>;
9384
+ novemberBalance?: Maybe<Scalars['Float']['output']>;
9385
+ novemberRevenue?: Maybe<Scalars['Float']['output']>;
9386
+ octoberBalance?: Maybe<Scalars['Float']['output']>;
9387
+ octoberRevenue?: Maybe<Scalars['Float']['output']>;
9388
+ period?: Maybe<Scalars['String']['output']>;
9389
+ septemberBalance?: Maybe<Scalars['Float']['output']>;
9390
+ septemberRevenue?: Maybe<Scalars['Float']['output']>;
9391
+ };
8304
9392
  export type RevenueRecognitionItem = {
8305
9393
  __typename?: 'RevenueRecognitionItem';
8306
9394
  id: Scalars['ID']['output'];
@@ -8318,6 +9406,7 @@ export type RevenueRecognitionTable = {
8318
9406
  __typename?: 'RevenueRecognitionTable';
8319
9407
  accounts: Array<RevenueRecognitionAccount>;
8320
9408
  dateLabels: Array<RevenueRecognitionDateLabel>;
9409
+ fiscalYearStartMonth: Scalars['Int']['output'];
8321
9410
  totals: Array<RevenueRecognitionMonths>;
8322
9411
  };
8323
9412
  export type Role = {
@@ -8400,29 +9489,58 @@ export type SearchResult = {
8400
9489
  /** Datetime the object was last updated */
8401
9490
  objUpdatedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
8402
9491
  };
8403
- export type SecondaryBillingContact = {
8404
- __typename?: 'SecondaryBillingContact';
8405
- accountId: Scalars['ID']['output'];
8406
- contactId: Scalars['ID']['output'];
8407
- };
8408
- /** The connection type for SecondaryBillingContact. */
8409
- export type SecondaryBillingContactConnection = {
8410
- __typename?: 'SecondaryBillingContactConnection';
8411
- /** A list of edges. */
8412
- edges?: Maybe<Array<Maybe<SecondaryBillingContactEdge>>>;
8413
- /** A list of nodes. */
8414
- nodes?: Maybe<Array<Maybe<SecondaryBillingContact>>>;
8415
- /** Information to aid in pagination. */
8416
- pageInfo: PageInfo;
8417
- totalCount: Scalars['Int']['output'];
9492
+ export type SignatureField = {
9493
+ __typename?: 'SignatureField';
9494
+ /** Field type (sig or date) */
9495
+ fieldType?: Maybe<Scalars['String']['output']>;
9496
+ /** Height */
9497
+ height?: Maybe<Scalars['Int']['output']>;
9498
+ /** Height percentage */
9499
+ heightPct?: Maybe<Scalars['Float']['output']>;
9500
+ /** Left */
9501
+ left?: Maybe<Scalars['Int']['output']>;
9502
+ /** Left percentage */
9503
+ leftPct?: Maybe<Scalars['Float']['output']>;
9504
+ /** Page index */
9505
+ pageIndex?: Maybe<Scalars['Int']['output']>;
9506
+ /** Raw URI */
9507
+ rawUri?: Maybe<Scalars['String']['output']>;
9508
+ /** Signer ID */
9509
+ signerId?: Maybe<Scalars['Int']['output']>;
9510
+ /** Signer type (user or contact) */
9511
+ signerType?: Maybe<Scalars['String']['output']>;
9512
+ /** Top */
9513
+ top?: Maybe<Scalars['Int']['output']>;
9514
+ /** Top percentage */
9515
+ topPct?: Maybe<Scalars['Float']['output']>;
9516
+ /** Units */
9517
+ units?: Maybe<Scalars['String']['output']>;
9518
+ /** Width */
9519
+ width?: Maybe<Scalars['Int']['output']>;
9520
+ /** Width percentage */
9521
+ widthPct?: Maybe<Scalars['Float']['output']>;
8418
9522
  };
8419
- /** An edge in a connection. */
8420
- export type SecondaryBillingContactEdge = {
8421
- __typename?: 'SecondaryBillingContactEdge';
8422
- /** A cursor for use in pagination. */
8423
- cursor: Scalars['String']['output'];
8424
- /** The item at the end of the edge. */
8425
- node?: Maybe<SecondaryBillingContact>;
9523
+ export type Signer = {
9524
+ __typename?: 'Signer';
9525
+ /** Signer email */
9526
+ email?: Maybe<Scalars['String']['output']>;
9527
+ /** Signer name */
9528
+ fullName?: Maybe<Scalars['String']['output']>;
9529
+ /** Signer ID */
9530
+ id?: Maybe<Scalars['ID']['output']>;
9531
+ /** Signed */
9532
+ signed?: Maybe<Scalars['Boolean']['output']>;
9533
+ /** Signed at */
9534
+ signedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
9535
+ /** Signer type (user or contact) */
9536
+ type?: Maybe<Scalars['String']['output']>;
9537
+ };
9538
+ export type SigningMetadata = {
9539
+ __typename?: 'SigningMetadata';
9540
+ /** Signature field coordinates */
9541
+ signatureFields?: Maybe<Array<SignatureField>>;
9542
+ /** Signer details */
9543
+ signer?: Maybe<Signer>;
8426
9544
  };
8427
9545
  /** Autogenerated return type of SignupActivate. */
8428
9546
  export type SignupActivatePayload = {
@@ -8448,30 +9566,57 @@ export type SsoMode =
8448
9566
  'auto'
8449
9567
  /** prompt */
8450
9568
  | 'prompt';
9569
+ /** Autogenerated return type of StripeSubscriptionMigrate. */
9570
+ export type StripeSubscriptionMigratePayload = {
9571
+ __typename?: 'StripeSubscriptionMigratePayload';
9572
+ account?: Maybe<Account>;
9573
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9574
+ subscription?: Maybe<Subscription>;
9575
+ };
8451
9576
  export type Subscription = {
8452
9577
  __typename?: 'Subscription';
8453
9578
  account: Account;
8454
9579
  accountId: Scalars['ID']['output'];
9580
+ /** Addon subscriptions for the subscription */
9581
+ addonSubscriptions?: Maybe<Array<Subscription>>;
8455
9582
  cancellationDate?: Maybe<Scalars['ISO8601Date']['output']>;
9583
+ chargeReport?: Maybe<Array<SubscriptionCharge>>;
8456
9584
  charges?: Maybe<Array<SubscriptionCharge>>;
8457
9585
  createdAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
8458
9586
  currencyId: Scalars['ID']['output'];
9587
+ currentCharges?: Maybe<Array<SubscriptionCharge>>;
9588
+ /** Formatted period showing start and end dates */
9589
+ currentPeriod?: Maybe<Scalars['String']['output']>;
9590
+ daysLeftInTrial?: Maybe<Scalars['Int']['output']>;
8459
9591
  endDate?: Maybe<Scalars['ISO8601Date']['output']>;
8460
9592
  evergreen: Scalars['Boolean']['output'];
8461
9593
  id: Scalars['ID']['output'];
8462
9594
  name?: Maybe<Scalars['String']['output']>;
8463
9595
  period: Scalars['String']['output'];
8464
9596
  plan?: Maybe<Plan>;
9597
+ priceAdjustmentAction?: Maybe<PriceAdjustmentAction>;
9598
+ priceAdjustmentActionOptions: Array<Scalars['String']['output']>;
9599
+ priceAdjustmentAllowed?: Maybe<Scalars['Boolean']['output']>;
9600
+ priceAdjustmentLastDate?: Maybe<Scalars['ISO8601Date']['output']>;
9601
+ priceAdjustmentPercentage?: Maybe<Scalars['Float']['output']>;
9602
+ priceAdjustmentTiming?: Maybe<PriceAdjustmentTiming>;
9603
+ priceAdjustmentTimingOptions: Array<Scalars['String']['output']>;
8465
9604
  priceList?: Maybe<PriceList>;
8466
9605
  priceListId: Scalars['ID']['output'];
8467
- priceOverride: Scalars['Boolean']['output'];
8468
9606
  product?: Maybe<Product>;
8469
- provisioningRequired: Scalars['Boolean']['output'];
9607
+ /** @deprecated This field is deprecated and will be removed soon */
9608
+ provisioningRequired?: Maybe<Scalars['Boolean']['output']>;
8470
9609
  rampIntervalMonths?: Maybe<Scalars['Int']['output']>;
9610
+ /** Description of the renwal settings */
9611
+ renewalSummary?: Maybe<Scalars['String']['output']>;
9612
+ /** Number of months for the renewal term */
9613
+ renewalTermMonths?: Maybe<Scalars['Int']['output']>;
9614
+ renewalTermMonthsOptions: Array<RenewalTermOption>;
8471
9615
  startDate?: Maybe<Scalars['ISO8601Date']['output']>;
8472
9616
  state: SubscriptionState;
8473
9617
  tenant?: Maybe<Tenant>;
8474
9618
  trialEndDate?: Maybe<Scalars['ISO8601Date']['output']>;
9619
+ trialExpirationAction?: Maybe<TrialExpirationAction>;
8475
9620
  trialPeriod: Scalars['String']['output'];
8476
9621
  trialStartDate?: Maybe<Scalars['ISO8601Date']['output']>;
8477
9622
  updatedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
@@ -8489,14 +9634,20 @@ export type SubscriptionAttributes = {
8489
9634
  endDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
8490
9635
  /** Indicates if the subscription should be renewed automatically */
8491
9636
  evergreen?: InputMaybe<Scalars['Boolean']['input']>;
9637
+ /** Action to take when the price is adjusted */
9638
+ priceAdjustmentAction?: InputMaybe<PriceAdjustmentAction>;
9639
+ /** Percentage of the price adjustment */
9640
+ priceAdjustmentPercentage?: InputMaybe<Scalars['Float']['input']>;
9641
+ /** Timing of the price adjustment */
9642
+ priceAdjustmentTiming?: InputMaybe<PriceAdjustmentTiming>;
8492
9643
  /** Set custom quantity, price and discount rate for charges */
8493
9644
  priceListCharges?: InputMaybe<Array<QuoteChargeAttributes>>;
8494
9645
  /** The code of the plan to subscribe to */
8495
9646
  priceListCode?: InputMaybe<Scalars['String']['input']>;
8496
9647
  /** The id of the plan to subscribe to */
8497
9648
  priceListId?: InputMaybe<Scalars['ID']['input']>;
8498
- /** Indicates if the subscription should be renewed with prices from the price list */
8499
- priceOverride?: InputMaybe<Scalars['Boolean']['input']>;
9649
+ /** Number of months for the renewal term */
9650
+ renewalTermMonths?: InputMaybe<Scalars['Int']['input']>;
8500
9651
  /** Date that the subscription starts */
8501
9652
  startDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
8502
9653
  /** Fields to create a tenant for the subscription */
@@ -8507,6 +9658,8 @@ export type SubscriptionAttributes = {
8507
9658
  tenantName?: InputMaybe<Scalars['String']['input']>;
8508
9659
  /** Indicates if the subscription is a trial or immediately active */
8509
9660
  trial?: InputMaybe<Scalars['Boolean']['input']>;
9661
+ /** Action to take when trial expires */
9662
+ trialExpirationAction?: InputMaybe<TrialExpirationAction>;
8510
9663
  /** Overrides the default trial start date */
8511
9664
  trialStartDate?: InputMaybe<Scalars['ISO8601Date']['input']>;
8512
9665
  };
@@ -8520,8 +9673,10 @@ export type SubscriptionCharge = {
8520
9673
  __typename?: 'SubscriptionCharge';
8521
9674
  account: Account;
8522
9675
  amount?: Maybe<Scalars['Float']['output']>;
9676
+ billingCycles: Array<BillingCycle>;
8523
9677
  billingPeriod?: Maybe<BillingPeriod>;
8524
9678
  chargeType?: Maybe<ChargeType>;
9679
+ code?: Maybe<Scalars['String']['output']>;
8525
9680
  createdAt: Scalars['ISO8601DateTime']['output'];
8526
9681
  currency: Currency;
8527
9682
  currentPeriodPriceByTiers?: Maybe<Array<SubscriptionTieredPrice>>;
@@ -8530,7 +9685,8 @@ export type SubscriptionCharge = {
8530
9685
  endDate: Scalars['ISO8601Date']['output'];
8531
9686
  expired: Scalars['Boolean']['output'];
8532
9687
  feature?: Maybe<Feature>;
8533
- id: Scalars['ID']['output'];
9688
+ fullyBilled: Scalars['Boolean']['output'];
9689
+ id?: Maybe<Scalars['ID']['output']>;
8534
9690
  invoiceLineText: Scalars['String']['output'];
8535
9691
  isAmendment: Scalars['Boolean']['output'];
8536
9692
  isRamp: Scalars['Boolean']['output'];
@@ -8553,6 +9709,8 @@ export type SubscriptionCharge = {
8553
9709
  startDate: Scalars['ISO8601Date']['output'];
8554
9710
  subscription: Subscription;
8555
9711
  subscriptionId: Scalars['ID']['output'];
9712
+ subtotal?: Maybe<Scalars['Float']['output']>;
9713
+ taxAmount?: Maybe<Scalars['Float']['output']>;
8556
9714
  /** Average price value when charge is Tiered */
8557
9715
  tieredAveragePrice?: Maybe<Scalars['Float']['output']>;
8558
9716
  trial: Scalars['Boolean']['output'];
@@ -8577,6 +9735,10 @@ export type SubscriptionChargeEdge = {
8577
9735
  /** The item at the end of the edge. */
8578
9736
  node?: Maybe<SubscriptionCharge>;
8579
9737
  };
9738
+ export type SubscriptionChargeQuantityAttributes = {
9739
+ code: Scalars['String']['input'];
9740
+ quantity: Scalars['Int']['input'];
9741
+ };
8580
9742
  /** The connection type for Subscription. */
8581
9743
  export type SubscriptionConnection = {
8582
9744
  __typename?: 'SubscriptionConnection';
@@ -8597,7 +9759,7 @@ export type SubscriptionCreatePayload = {
8597
9759
  /** Autogenerated return type of SubscriptionDelete. */
8598
9760
  export type SubscriptionDeletePayload = {
8599
9761
  __typename?: 'SubscriptionDeletePayload';
8600
- errors?: Maybe<Scalars['String']['output']>;
9762
+ errors?: Maybe<Array<Scalars['String']['output']>>;
8601
9763
  subscription?: Maybe<Subscription>;
8602
9764
  };
8603
9765
  /** An edge in a connection. */
@@ -8615,6 +9777,12 @@ export type SubscriptionPriceTier = {
8615
9777
  price?: Maybe<Scalars['Float']['output']>;
8616
9778
  starts?: Maybe<Scalars['Int']['output']>;
8617
9779
  };
9780
+ /** Autogenerated return type of SubscriptionQuantityUpdate. */
9781
+ export type SubscriptionQuantityUpdatePayload = {
9782
+ __typename?: 'SubscriptionQuantityUpdatePayload';
9783
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9784
+ quote?: Maybe<Quote>;
9785
+ };
8618
9786
  /** Autogenerated return type of SubscriptionReinstate. */
8619
9787
  export type SubscriptionReinstatePayload = {
8620
9788
  __typename?: 'SubscriptionReinstatePayload';
@@ -8637,7 +9805,9 @@ export type SubscriptionState =
8637
9805
  /** Pending subscription */
8638
9806
  | 'PENDING'
8639
9807
  /** Trial subscription */
8640
- | 'TRIAL';
9808
+ | 'TRIAL'
9809
+ /** Expired trial subscription */
9810
+ | 'TRIAL_EXPIRED';
8641
9811
  export type SubscriptionTenantUpdateAttributes = {
8642
9812
  tenantCode?: InputMaybe<Scalars['String']['input']>;
8643
9813
  tenantId?: InputMaybe<Scalars['ID']['input']>;
@@ -8660,6 +9830,7 @@ export type SubscriptionTrialConvertPayload = {
8660
9830
  __typename?: 'SubscriptionTrialConvertPayload';
8661
9831
  errors?: Maybe<Array<Scalars['String']['output']>>;
8662
9832
  invoice?: Maybe<Invoice>;
9833
+ paymentApplications?: Maybe<Array<PaymentApplication>>;
8663
9834
  subscription?: Maybe<Subscription>;
8664
9835
  };
8665
9836
  /** Autogenerated return type of SubscriptionTrialConvertPreview. */
@@ -8749,14 +9920,9 @@ export type Tenant = {
8749
9920
  createdAt: Scalars['ISO8601DateTime']['output'];
8750
9921
  id: Scalars['ID']['output'];
8751
9922
  lastLogin?: Maybe<Scalars['ISO8601DateTime']['output']>;
8752
- latestProvisioningChange?: Maybe<TenantProvisioningChange>;
8753
- latestProvisioningChangeId?: Maybe<Scalars['ID']['output']>;
8754
9923
  name: Scalars['String']['output'];
8755
9924
  platform: Platform;
8756
9925
  platformId: Scalars['ID']['output'];
8757
- provisioningChanges?: Maybe<Array<TenantProvisioningChange>>;
8758
- provisioningRequired?: Maybe<Scalars['Boolean']['output']>;
8759
- provisioningState?: Maybe<Scalars['String']['output']>;
8760
9926
  subdomain?: Maybe<Scalars['String']['output']>;
8761
9927
  updatedAt: Scalars['ISO8601DateTime']['output'];
8762
9928
  userCount?: Maybe<Scalars['Int']['output']>;
@@ -8811,60 +9977,26 @@ export type TenantMetricsUpdatePayload = {
8811
9977
  __typename?: 'TenantMetricsUpdatePayload';
8812
9978
  errors?: Maybe<Array<Scalars['String']['output']>>;
8813
9979
  };
8814
- export type TenantProvisioningChange = {
8815
- __typename?: 'TenantProvisioningChange';
8816
- change?: Maybe<Scalars['JSON']['output']>;
8817
- createdAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
8818
- features?: Maybe<Scalars['String']['output']>;
8819
- featuresJson?: Maybe<Scalars['JSON']['output']>;
8820
- id: Scalars['ID']['output'];
8821
- state: TenantProvisioningState;
8822
- tenant?: Maybe<Tenant>;
8823
- updatedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
8824
- };
8825
- export type TenantProvisioningChangeAttributes = {
8826
- state?: InputMaybe<TenantProvisioningState>;
8827
- };
8828
- /** The connection type for TenantProvisioningChange. */
8829
- export type TenantProvisioningChangeConnection = {
8830
- __typename?: 'TenantProvisioningChangeConnection';
8831
- /** A list of edges. */
8832
- edges?: Maybe<Array<Maybe<TenantProvisioningChangeEdge>>>;
8833
- /** A list of nodes. */
8834
- nodes?: Maybe<Array<Maybe<TenantProvisioningChange>>>;
8835
- /** Information to aid in pagination. */
8836
- pageInfo: PageInfo;
8837
- totalCount: Scalars['Int']['output'];
8838
- };
8839
- /** An edge in a connection. */
8840
- export type TenantProvisioningChangeEdge = {
8841
- __typename?: 'TenantProvisioningChangeEdge';
8842
- /** A cursor for use in pagination. */
8843
- cursor: Scalars['String']['output'];
8844
- /** The item at the end of the edge. */
8845
- node?: Maybe<TenantProvisioningChange>;
8846
- };
8847
- /** Autogenerated return type of TenantProvisioningChangeUpdate. */
8848
- export type TenantProvisioningChangeUpdatePayload = {
8849
- __typename?: 'TenantProvisioningChangeUpdatePayload';
8850
- errors?: Maybe<Array<Scalars['String']['output']>>;
8851
- tenantProvisioningChange?: Maybe<TenantProvisioningChange>;
8852
- };
8853
- export type TenantProvisioningState =
8854
- /** Tenant provisioning completed */
8855
- 'COMPLETED'
8856
- /** Tenant provisioning failed */
8857
- | 'FAILED'
8858
- /** Changes have been made to the subscription that have not been applied yet */
8859
- | 'PENDING'
8860
- /** Use this state to trigger a provisioning workflow */
8861
- | 'STARTED';
8862
9980
  /** Autogenerated return type of TenantUpdate. */
8863
9981
  export type TenantUpdatePayload = {
8864
9982
  __typename?: 'TenantUpdatePayload';
8865
9983
  errors?: Maybe<Array<Scalars['String']['output']>>;
8866
9984
  tenant?: Maybe<Tenant>;
8867
9985
  };
9986
+ /** Autogenerated return type of TestEmail. */
9987
+ export type TestEmailPayload = {
9988
+ __typename?: 'TestEmailPayload';
9989
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9990
+ message?: Maybe<Scalars['String']['output']>;
9991
+ success: Scalars['Boolean']['output'];
9992
+ };
9993
+ /** Autogenerated return type of TestWebhook. */
9994
+ export type TestWebhookPayload = {
9995
+ __typename?: 'TestWebhookPayload';
9996
+ errors?: Maybe<Array<Scalars['String']['output']>>;
9997
+ message?: Maybe<Scalars['String']['output']>;
9998
+ success: Scalars['Boolean']['output'];
9999
+ };
8868
10000
  export type TieredAmount = {
8869
10001
  __typename?: 'TieredAmount';
8870
10002
  /** Total amount to pay for the period duration. Usage-based amounts could be null for future dates */
@@ -8882,6 +10014,7 @@ export type Transaction = {
8882
10014
  accountId?: Maybe<Scalars['ID']['output']>;
8883
10015
  amount: Scalars['Float']['output'];
8884
10016
  createdAt: Scalars['ISO8601DateTime']['output'];
10017
+ creditNote?: Maybe<CreditNote>;
8885
10018
  currencyId?: Maybe<Scalars['ID']['output']>;
8886
10019
  description: Scalars['String']['output'];
8887
10020
  id: Scalars['ID']['output'];
@@ -8972,6 +10105,8 @@ export type User = {
8972
10105
  lastName?: Maybe<Scalars['String']['output']>;
8973
10106
  managerUser?: Maybe<User>;
8974
10107
  managerUserId?: Maybe<Scalars['ID']['output']>;
10108
+ /** Alias for full_name, used by workflow views */
10109
+ name: Scalars['String']['output'];
8975
10110
  profile?: Maybe<UserProfile>;
8976
10111
  role?: Maybe<Role>;
8977
10112
  roleId?: Maybe<Scalars['ID']['output']>;
@@ -9060,8 +10195,6 @@ export type View = {
9060
10195
  id?: Maybe<Scalars['ID']['output']>;
9061
10196
  /** True if this view is to be shown by default on the page */
9062
10197
  isDefault?: Maybe<Scalars['Boolean']['output']>;
9063
- /** If true, only the user who created the view can see it */
9064
- isPrivate?: Maybe<Scalars['Boolean']['output']>;
9065
10198
  /** Name of the view */
9066
10199
  name?: Maybe<Scalars['String']['output']>;
9067
10200
  /** Object this view is operating on */
@@ -9134,20 +10267,6 @@ export type Warren = {
9134
10267
  name?: Maybe<Scalars['String']['output']>;
9135
10268
  subdomain?: Maybe<Scalars['String']['output']>;
9136
10269
  };
9137
- export type WarrenAttributes = {
9138
- email?: InputMaybe<Scalars['String']['input']>;
9139
- featureFlags?: InputMaybe<Array<FeatureFlagAttributes>>;
9140
- firstName?: InputMaybe<Scalars['String']['input']>;
9141
- lastName?: InputMaybe<Scalars['String']['input']>;
9142
- name?: InputMaybe<Scalars['String']['input']>;
9143
- subdomain?: InputMaybe<Scalars['String']['input']>;
9144
- };
9145
- /** Autogenerated return type of WarrenProvision. */
9146
- export type WarrenProvisionPayload = {
9147
- __typename?: 'WarrenProvisionPayload';
9148
- errors?: Maybe<Array<Scalars['String']['output']>>;
9149
- warren?: Maybe<Warren>;
9150
- };
9151
10270
  export type WebPushAttributes = {
9152
10271
  endpoint: Scalars['String']['input'];
9153
10272
  expirationTime?: InputMaybe<Scalars['Int']['input']>;
@@ -9169,7 +10288,7 @@ export type WebhookEvent = {
9169
10288
  /** Datetime the contact was created */
9170
10289
  createdAt: Scalars['ISO8601DateTime']['output'];
9171
10290
  /** The headers sent with the webhook */
9172
- headers?: Maybe<Scalars['String']['output']>;
10291
+ headers?: Maybe<Scalars['JSON']['output']>;
9173
10292
  /** Unique identifier for the webhook event */
9174
10293
  id: Scalars['ID']['output'];
9175
10294
  /** Webhook payload that will be sent */
@@ -9210,6 +10329,22 @@ export type WebhookEventRetryPayload = {
9210
10329
  errors?: Maybe<Array<Scalars['String']['output']>>;
9211
10330
  webhookEvent?: Maybe<WebhookEvent>;
9212
10331
  };
10332
+ /** Chart data for webhook event logs showing success and failure counts over the last 30 days */
10333
+ export type WebhookEventsChart = {
10334
+ __typename?: 'WebhookEventsChart';
10335
+ /** Array of daily data points for the last 30 days */
10336
+ dataPoints: Array<WebhookEventsChartDataPoint>;
10337
+ };
10338
+ /** A data point for webhook event logs chart showing counts for a specific day */
10339
+ export type WebhookEventsChartDataPoint = {
10340
+ __typename?: 'WebhookEventsChartDataPoint';
10341
+ /** The date for this data point */
10342
+ date: Scalars['ISO8601Date']['output'];
10343
+ /** Number of failed webhook events (response code not 200) */
10344
+ failCount: Scalars['Int']['output'];
10345
+ /** Number of successful webhook events (response code 200) */
10346
+ successCount: Scalars['Int']['output'];
10347
+ };
9213
10348
  /** Autogenerated return type of WidgetTokenCreate. */
9214
10349
  export type WidgetTokenCreatePayload = {
9215
10350
  __typename?: 'WidgetTokenCreatePayload';