twenty-client-sdk 2.4.0 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -246,6 +246,7 @@ export interface FrontComponent {
246
246
  isHeadless: Scalars['Boolean'];
247
247
  usesSdkClient: Scalars['Boolean'];
248
248
  applicationTokenPair?: ApplicationTokenPair;
249
+ applicationVariables?: Scalars['JSON'];
249
250
  __typename: 'FrontComponent';
250
251
  }
251
252
  export interface CommandMenuItem {
@@ -495,6 +496,7 @@ export interface ViewSort {
495
496
  id: Scalars['UUID'];
496
497
  fieldMetadataId: Scalars['UUID'];
497
498
  direction: ViewSortDirection;
499
+ subFieldName?: Scalars['String'];
498
500
  viewId: Scalars['UUID'];
499
501
  workspaceId: Scalars['UUID'];
500
502
  createdAt: Scalars['DateTime'];
@@ -1017,7 +1019,7 @@ export interface BillingProductMetadata {
1017
1019
  export type BillingPlanKey = 'PRO' | 'ENTERPRISE';
1018
1020
  export type BillingUsageType = 'METERED' | 'LICENSED';
1019
1021
  /** The different billing products available */
1020
- export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT' | 'WORKFLOW_NODE_EXECUTION';
1022
+ export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT';
1021
1023
  export interface BillingPriceLicensed {
1022
1024
  recurringInterval: SubscriptionInterval;
1023
1025
  unitAmount: Scalars['Float'];
@@ -1091,7 +1093,7 @@ export interface BillingEndTrialPeriod {
1091
1093
  billingPortalUrl?: Scalars['String'];
1092
1094
  __typename: 'BillingEndTrialPeriod';
1093
1095
  }
1094
- export interface BillingMeteredProductUsage {
1096
+ export interface BillingResourceCreditUsage {
1095
1097
  productKey: BillingProductKey;
1096
1098
  periodStart: Scalars['DateTime'];
1097
1099
  periodEnd: Scalars['DateTime'];
@@ -1100,7 +1102,7 @@ export interface BillingMeteredProductUsage {
1100
1102
  rolloverCredits: Scalars['Float'];
1101
1103
  totalGrantedCredits: Scalars['Float'];
1102
1104
  unitPriceCents: Scalars['Float'];
1103
- __typename: 'BillingMeteredProductUsage';
1105
+ __typename: 'BillingResourceCreditUsage';
1104
1106
  }
1105
1107
  export interface BillingPlan {
1106
1108
  planKey: BillingPlanKey;
@@ -1225,7 +1227,7 @@ export interface FeatureFlag {
1225
1227
  value: Scalars['Boolean'];
1226
1228
  __typename: 'FeatureFlag';
1227
1229
  }
1228
- export type FeatureFlagKey = 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_MARKETPLACE_SETTING_TAB_VISIBLE' | 'IS_RECORD_PAGE_LAYOUT_EDITING_ENABLED' | 'IS_PUBLIC_DOMAIN_ENABLED' | 'IS_EMAILING_DOMAIN_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED' | 'IS_BILLING_V2_ENABLED';
1230
+ export type FeatureFlagKey = 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_MARKETPLACE_SETTING_TAB_VISIBLE' | 'IS_RECORD_PAGE_LAYOUT_EDITING_ENABLED' | 'IS_PUBLIC_DOMAIN_ENABLED' | 'IS_EMAILING_DOMAIN_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT';
1229
1231
  export interface WorkspaceUrls {
1230
1232
  customUrl?: Scalars['String'];
1231
1233
  subdomainUrl: Scalars['String'];
@@ -1411,6 +1413,18 @@ export interface RotateClientSecret {
1411
1413
  clientSecret: Scalars['String'];
1412
1414
  __typename: 'RotateClientSecret';
1413
1415
  }
1416
+ export interface ApplicationRegistrationVariableDTO {
1417
+ id: Scalars['UUID'];
1418
+ key: Scalars['String'];
1419
+ value?: Scalars['String'];
1420
+ description: Scalars['String'];
1421
+ isSecret: Scalars['Boolean'];
1422
+ isRequired: Scalars['Boolean'];
1423
+ isFilled: Scalars['Boolean'];
1424
+ createdAt: Scalars['DateTime'];
1425
+ updatedAt: Scalars['DateTime'];
1426
+ __typename: 'ApplicationRegistrationVariableDTO';
1427
+ }
1414
1428
  export interface Relation {
1415
1429
  type: RelationType;
1416
1430
  sourceObjectMetadata: Object;
@@ -2257,7 +2271,7 @@ export interface Query {
2257
2271
  enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
2258
2272
  billingPortalSession: BillingSession;
2259
2273
  listPlans: BillingPlan[];
2260
- getMeteredProductsUsage: BillingMeteredProductUsage[];
2274
+ getResourceCreditUsage: BillingResourceCreditUsage[];
2261
2275
  findWorkspaceInvitations: WorkspaceInvitation[];
2262
2276
  getApprovedAccessDomains: ApprovedAccessDomain[];
2263
2277
  getPageLayoutTabs: PageLayoutTab[];
@@ -2315,7 +2329,7 @@ export interface Query {
2315
2329
  findManyApplicationRegistrations: ApplicationRegistration[];
2316
2330
  findOneApplicationRegistration: ApplicationRegistration;
2317
2331
  findApplicationRegistrationStats: ApplicationRegistrationStats;
2318
- findApplicationRegistrationVariables: ApplicationRegistrationVariable[];
2332
+ findApplicationRegistrationVariables: ApplicationRegistrationVariableDTO[];
2319
2333
  applicationRegistrationTarballUrl?: Scalars['String'];
2320
2334
  currentUser: User;
2321
2335
  currentWorkspace: Workspace;
@@ -2400,9 +2414,9 @@ export interface Mutation {
2400
2414
  switchBillingPlan: BillingUpdate;
2401
2415
  cancelSwitchBillingPlan: BillingUpdate;
2402
2416
  cancelSwitchBillingInterval: BillingUpdate;
2403
- setMeteredSubscriptionPrice: BillingUpdate;
2417
+ setResourceCreditSubscriptionPrice: BillingUpdate;
2404
2418
  endSubscriptionTrialPeriod: BillingEndTrialPeriod;
2405
- cancelSwitchMeteredPrice: BillingUpdate;
2419
+ cancelSwitchResourceCreditPrice: BillingUpdate;
2406
2420
  deleteWorkspaceInvitation: Scalars['String'];
2407
2421
  resendWorkspaceInvitation: SendInvitations;
2408
2422
  sendInvitations: SendInvitations;
@@ -2814,6 +2828,7 @@ export interface FrontComponentGenqlSelection {
2814
2828
  isHeadless?: boolean | number;
2815
2829
  usesSdkClient?: boolean | number;
2816
2830
  applicationTokenPair?: ApplicationTokenPairGenqlSelection;
2831
+ applicationVariables?: boolean | number;
2817
2832
  __typename?: boolean | number;
2818
2833
  __scalar?: boolean | number;
2819
2834
  }
@@ -3163,6 +3178,7 @@ export interface ViewSortGenqlSelection {
3163
3178
  id?: boolean | number;
3164
3179
  fieldMetadataId?: boolean | number;
3165
3180
  direction?: boolean | number;
3181
+ subFieldName?: boolean | number;
3166
3182
  viewId?: boolean | number;
3167
3183
  workspaceId?: boolean | number;
3168
3184
  createdAt?: boolean | number;
@@ -3810,7 +3826,7 @@ export interface BillingEndTrialPeriodGenqlSelection {
3810
3826
  __typename?: boolean | number;
3811
3827
  __scalar?: boolean | number;
3812
3828
  }
3813
- export interface BillingMeteredProductUsageGenqlSelection {
3829
+ export interface BillingResourceCreditUsageGenqlSelection {
3814
3830
  productKey?: boolean | number;
3815
3831
  periodStart?: boolean | number;
3816
3832
  periodEnd?: boolean | number;
@@ -4157,6 +4173,19 @@ export interface RotateClientSecretGenqlSelection {
4157
4173
  __typename?: boolean | number;
4158
4174
  __scalar?: boolean | number;
4159
4175
  }
4176
+ export interface ApplicationRegistrationVariableDTOGenqlSelection {
4177
+ id?: boolean | number;
4178
+ key?: boolean | number;
4179
+ value?: boolean | number;
4180
+ description?: boolean | number;
4181
+ isSecret?: boolean | number;
4182
+ isRequired?: boolean | number;
4183
+ isFilled?: boolean | number;
4184
+ createdAt?: boolean | number;
4185
+ updatedAt?: boolean | number;
4186
+ __typename?: boolean | number;
4187
+ __scalar?: boolean | number;
4188
+ }
4160
4189
  export interface RelationGenqlSelection {
4161
4190
  type?: boolean | number;
4162
4191
  sourceObjectMetadata?: ObjectGenqlSelection;
@@ -5160,7 +5189,7 @@ export interface QueryGenqlSelection {
5160
5189
  };
5161
5190
  });
5162
5191
  listPlans?: BillingPlanGenqlSelection;
5163
- getMeteredProductsUsage?: BillingMeteredProductUsageGenqlSelection;
5192
+ getResourceCreditUsage?: BillingResourceCreditUsageGenqlSelection;
5164
5193
  findWorkspaceInvitations?: WorkspaceInvitationGenqlSelection;
5165
5194
  getApprovedAccessDomains?: ApprovedAccessDomainGenqlSelection;
5166
5195
  getPageLayoutTabs?: (PageLayoutTabGenqlSelection & {
@@ -5392,7 +5421,7 @@ export interface QueryGenqlSelection {
5392
5421
  id: Scalars['String'];
5393
5422
  };
5394
5423
  });
5395
- findApplicationRegistrationVariables?: (ApplicationRegistrationVariableGenqlSelection & {
5424
+ findApplicationRegistrationVariables?: (ApplicationRegistrationVariableDTOGenqlSelection & {
5396
5425
  __args: {
5397
5426
  applicationRegistrationId: Scalars['String'];
5398
5427
  };
@@ -5801,13 +5830,13 @@ export interface MutationGenqlSelection {
5801
5830
  switchBillingPlan?: BillingUpdateGenqlSelection;
5802
5831
  cancelSwitchBillingPlan?: BillingUpdateGenqlSelection;
5803
5832
  cancelSwitchBillingInterval?: BillingUpdateGenqlSelection;
5804
- setMeteredSubscriptionPrice?: (BillingUpdateGenqlSelection & {
5833
+ setResourceCreditSubscriptionPrice?: (BillingUpdateGenqlSelection & {
5805
5834
  __args: {
5806
5835
  priceId: Scalars['String'];
5807
5836
  };
5808
5837
  });
5809
5838
  endSubscriptionTrialPeriod?: BillingEndTrialPeriodGenqlSelection;
5810
- cancelSwitchMeteredPrice?: BillingUpdateGenqlSelection;
5839
+ cancelSwitchResourceCreditPrice?: BillingUpdateGenqlSelection;
5811
5840
  deleteWorkspaceInvitation?: {
5812
5841
  __args: {
5813
5842
  appTokenId: Scalars['String'];
@@ -6753,6 +6782,7 @@ export interface CreateViewSortInput {
6753
6782
  id?: (Scalars['UUID'] | null);
6754
6783
  fieldMetadataId: Scalars['UUID'];
6755
6784
  direction?: (ViewSortDirection | null);
6785
+ subFieldName?: (Scalars['String'] | null);
6756
6786
  viewId: Scalars['UUID'];
6757
6787
  }
6758
6788
  export interface UpdateViewSortInput {
@@ -6763,6 +6793,7 @@ export interface UpdateViewSortInput {
6763
6793
  }
6764
6794
  export interface UpdateViewSortInputUpdates {
6765
6795
  direction?: (ViewSortDirection | null);
6796
+ subFieldName?: (Scalars['String'] | null);
6766
6797
  }
6767
6798
  export interface DeleteViewSortInput {
6768
6799
  /** The id of the view sort to delete. */
@@ -7792,9 +7823,9 @@ export declare const isBillingSubscription: (obj?: {
7792
7823
  export declare const isBillingEndTrialPeriod: (obj?: {
7793
7824
  __typename?: any;
7794
7825
  } | null | undefined) => obj is BillingEndTrialPeriod;
7795
- export declare const isBillingMeteredProductUsage: (obj?: {
7826
+ export declare const isBillingResourceCreditUsage: (obj?: {
7796
7827
  __typename?: any;
7797
- } | null | undefined) => obj is BillingMeteredProductUsage;
7828
+ } | null | undefined) => obj is BillingResourceCreditUsage;
7798
7829
  export declare const isBillingPlan: (obj?: {
7799
7830
  __typename?: any;
7800
7831
  } | null | undefined) => obj is BillingPlan;
@@ -7912,6 +7943,9 @@ export declare const isPublicApplicationRegistration: (obj?: {
7912
7943
  export declare const isRotateClientSecret: (obj?: {
7913
7944
  __typename?: any;
7914
7945
  } | null | undefined) => obj is RotateClientSecret;
7946
+ export declare const isApplicationRegistrationVariableDTO: (obj?: {
7947
+ __typename?: any;
7948
+ } | null | undefined) => obj is ApplicationRegistrationVariableDTO;
7915
7949
  export declare const isRelation: (obj?: {
7916
7950
  __typename?: any;
7917
7951
  } | null | undefined) => obj is Relation;
@@ -8605,7 +8639,6 @@ export declare const enumBillingUsageType: {
8605
8639
  export declare const enumBillingProductKey: {
8606
8640
  BASE_PRODUCT: "BASE_PRODUCT";
8607
8641
  RESOURCE_CREDIT: "RESOURCE_CREDIT";
8608
- WORKFLOW_NODE_EXECUTION: "WORKFLOW_NODE_EXECUTION";
8609
8642
  };
8610
8643
  export declare const enumSubscriptionInterval: {
8611
8644
  Month: "Month";
@@ -8657,7 +8690,7 @@ export declare const enumFeatureFlagKey: {
8657
8690
  IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
8658
8691
  IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
8659
8692
  IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED: "IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED";
8660
- IS_BILLING_V2_ENABLED: "IS_BILLING_V2_ENABLED";
8693
+ IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
8661
8694
  };
8662
8695
  export declare const enumIdentityProviderType: {
8663
8696
  OIDC: "OIDC";
@@ -246,6 +246,7 @@ declare const _default: {
246
246
  isHeadless: number[];
247
247
  usesSdkClient: number[];
248
248
  applicationTokenPair: number[];
249
+ applicationVariables: number[];
249
250
  __typename: number[];
250
251
  };
251
252
  CommandMenuItem: {
@@ -573,6 +574,7 @@ declare const _default: {
573
574
  id: number[];
574
575
  fieldMetadataId: number[];
575
576
  direction: number[];
577
+ subFieldName: number[];
576
578
  viewId: number[];
577
579
  workspaceId: number[];
578
580
  createdAt: number[];
@@ -1179,7 +1181,7 @@ declare const _default: {
1179
1181
  billingPortalUrl: number[];
1180
1182
  __typename: number[];
1181
1183
  };
1182
- BillingMeteredProductUsage: {
1184
+ BillingResourceCreditUsage: {
1183
1185
  productKey: number[];
1184
1186
  periodStart: number[];
1185
1187
  periodEnd: number[];
@@ -1487,6 +1489,18 @@ declare const _default: {
1487
1489
  clientSecret: number[];
1488
1490
  __typename: number[];
1489
1491
  };
1492
+ ApplicationRegistrationVariableDTO: {
1493
+ id: number[];
1494
+ key: number[];
1495
+ value: number[];
1496
+ description: number[];
1497
+ isSecret: number[];
1498
+ isRequired: number[];
1499
+ isFilled: number[];
1500
+ createdAt: number[];
1501
+ updatedAt: number[];
1502
+ __typename: number[];
1503
+ };
1490
1504
  Relation: {
1491
1505
  type: number[];
1492
1506
  sourceObjectMetadata: number[];
@@ -2338,7 +2352,7 @@ declare const _default: {
2338
2352
  returnUrlPath: number[];
2339
2353
  })[];
2340
2354
  listPlans: number[];
2341
- getMeteredProductsUsage: number[];
2355
+ getResourceCreditUsage: number[];
2342
2356
  findWorkspaceInvitations: number[];
2343
2357
  getApprovedAccessDomains: number[];
2344
2358
  getPageLayoutTabs: (number | {
@@ -2769,11 +2783,11 @@ declare const _default: {
2769
2783
  switchBillingPlan: number[];
2770
2784
  cancelSwitchBillingPlan: number[];
2771
2785
  cancelSwitchBillingInterval: number[];
2772
- setMeteredSubscriptionPrice: (number | {
2786
+ setResourceCreditSubscriptionPrice: (number | {
2773
2787
  priceId: (string | number)[];
2774
2788
  })[];
2775
2789
  endSubscriptionTrialPeriod: number[];
2776
- cancelSwitchMeteredPrice: number[];
2790
+ cancelSwitchResourceCreditPrice: number[];
2777
2791
  deleteWorkspaceInvitation: (number | {
2778
2792
  appTokenId: (string | number)[];
2779
2793
  })[];
@@ -3447,6 +3461,7 @@ declare const _default: {
3447
3461
  id: number[];
3448
3462
  fieldMetadataId: number[];
3449
3463
  direction: number[];
3464
+ subFieldName: number[];
3450
3465
  viewId: number[];
3451
3466
  __typename: number[];
3452
3467
  };
@@ -3457,6 +3472,7 @@ declare const _default: {
3457
3472
  };
3458
3473
  UpdateViewSortInputUpdates: {
3459
3474
  direction: number[];
3475
+ subFieldName: number[];
3460
3476
  __typename: number[];
3461
3477
  };
3462
3478
  DeleteViewSortInput: {