twenty-client-sdk 2.3.1 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/metadata/generated/schema.d.ts +49 -21
- package/dist/metadata/generated/types.d.ts +19 -4
- package/dist/metadata.cjs +2 -2
- package/dist/metadata.mjs +953 -913
- package/package.json +1 -1
|
@@ -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 {
|
|
@@ -589,6 +590,7 @@ export interface Workspace {
|
|
|
589
590
|
isMicrosoftAuthEnabled: Scalars['Boolean'];
|
|
590
591
|
isMicrosoftAuthBypassEnabled: Scalars['Boolean'];
|
|
591
592
|
isCustomDomainEnabled: Scalars['Boolean'];
|
|
593
|
+
isInternalMessagesImportEnabled: Scalars['Boolean'];
|
|
592
594
|
editableProfileFields?: Scalars['String'][];
|
|
593
595
|
defaultRole?: Role;
|
|
594
596
|
fastModel: Scalars['String'];
|
|
@@ -1016,7 +1018,7 @@ export interface BillingProductMetadata {
|
|
|
1016
1018
|
export type BillingPlanKey = 'PRO' | 'ENTERPRISE';
|
|
1017
1019
|
export type BillingUsageType = 'METERED' | 'LICENSED';
|
|
1018
1020
|
/** The different billing products available */
|
|
1019
|
-
export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT'
|
|
1021
|
+
export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT';
|
|
1020
1022
|
export interface BillingPriceLicensed {
|
|
1021
1023
|
recurringInterval: SubscriptionInterval;
|
|
1022
1024
|
unitAmount: Scalars['Float'];
|
|
@@ -1090,7 +1092,7 @@ export interface BillingEndTrialPeriod {
|
|
|
1090
1092
|
billingPortalUrl?: Scalars['String'];
|
|
1091
1093
|
__typename: 'BillingEndTrialPeriod';
|
|
1092
1094
|
}
|
|
1093
|
-
export interface
|
|
1095
|
+
export interface BillingResourceCreditUsage {
|
|
1094
1096
|
productKey: BillingProductKey;
|
|
1095
1097
|
periodStart: Scalars['DateTime'];
|
|
1096
1098
|
periodEnd: Scalars['DateTime'];
|
|
@@ -1099,7 +1101,7 @@ export interface BillingMeteredProductUsage {
|
|
|
1099
1101
|
rolloverCredits: Scalars['Float'];
|
|
1100
1102
|
totalGrantedCredits: Scalars['Float'];
|
|
1101
1103
|
unitPriceCents: Scalars['Float'];
|
|
1102
|
-
__typename: '
|
|
1104
|
+
__typename: 'BillingResourceCreditUsage';
|
|
1103
1105
|
}
|
|
1104
1106
|
export interface BillingPlan {
|
|
1105
1107
|
planKey: BillingPlanKey;
|
|
@@ -1224,7 +1226,7 @@ export interface FeatureFlag {
|
|
|
1224
1226
|
value: Scalars['Boolean'];
|
|
1225
1227
|
__typename: 'FeatureFlag';
|
|
1226
1228
|
}
|
|
1227
|
-
export type FeatureFlagKey = 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | '
|
|
1229
|
+
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';
|
|
1228
1230
|
export interface WorkspaceUrls {
|
|
1229
1231
|
customUrl?: Scalars['String'];
|
|
1230
1232
|
subdomainUrl: Scalars['String'];
|
|
@@ -1410,6 +1412,18 @@ export interface RotateClientSecret {
|
|
|
1410
1412
|
clientSecret: Scalars['String'];
|
|
1411
1413
|
__typename: 'RotateClientSecret';
|
|
1412
1414
|
}
|
|
1415
|
+
export interface ApplicationRegistrationVariableDTO {
|
|
1416
|
+
id: Scalars['UUID'];
|
|
1417
|
+
key: Scalars['String'];
|
|
1418
|
+
value?: Scalars['String'];
|
|
1419
|
+
description: Scalars['String'];
|
|
1420
|
+
isSecret: Scalars['Boolean'];
|
|
1421
|
+
isRequired: Scalars['Boolean'];
|
|
1422
|
+
isFilled: Scalars['Boolean'];
|
|
1423
|
+
createdAt: Scalars['DateTime'];
|
|
1424
|
+
updatedAt: Scalars['DateTime'];
|
|
1425
|
+
__typename: 'ApplicationRegistrationVariableDTO';
|
|
1426
|
+
}
|
|
1413
1427
|
export interface Relation {
|
|
1414
1428
|
type: RelationType;
|
|
1415
1429
|
sourceObjectMetadata: Object;
|
|
@@ -2256,7 +2270,7 @@ export interface Query {
|
|
|
2256
2270
|
enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
|
|
2257
2271
|
billingPortalSession: BillingSession;
|
|
2258
2272
|
listPlans: BillingPlan[];
|
|
2259
|
-
|
|
2273
|
+
getResourceCreditUsage: BillingResourceCreditUsage[];
|
|
2260
2274
|
findWorkspaceInvitations: WorkspaceInvitation[];
|
|
2261
2275
|
getApprovedAccessDomains: ApprovedAccessDomain[];
|
|
2262
2276
|
getPageLayoutTabs: PageLayoutTab[];
|
|
@@ -2314,7 +2328,7 @@ export interface Query {
|
|
|
2314
2328
|
findManyApplicationRegistrations: ApplicationRegistration[];
|
|
2315
2329
|
findOneApplicationRegistration: ApplicationRegistration;
|
|
2316
2330
|
findApplicationRegistrationStats: ApplicationRegistrationStats;
|
|
2317
|
-
findApplicationRegistrationVariables:
|
|
2331
|
+
findApplicationRegistrationVariables: ApplicationRegistrationVariableDTO[];
|
|
2318
2332
|
applicationRegistrationTarballUrl?: Scalars['String'];
|
|
2319
2333
|
currentUser: User;
|
|
2320
2334
|
currentWorkspace: Workspace;
|
|
@@ -2399,9 +2413,9 @@ export interface Mutation {
|
|
|
2399
2413
|
switchBillingPlan: BillingUpdate;
|
|
2400
2414
|
cancelSwitchBillingPlan: BillingUpdate;
|
|
2401
2415
|
cancelSwitchBillingInterval: BillingUpdate;
|
|
2402
|
-
|
|
2416
|
+
setResourceCreditSubscriptionPrice: BillingUpdate;
|
|
2403
2417
|
endSubscriptionTrialPeriod: BillingEndTrialPeriod;
|
|
2404
|
-
|
|
2418
|
+
cancelSwitchResourceCreditPrice: BillingUpdate;
|
|
2405
2419
|
deleteWorkspaceInvitation: Scalars['String'];
|
|
2406
2420
|
resendWorkspaceInvitation: SendInvitations;
|
|
2407
2421
|
sendInvitations: SendInvitations;
|
|
@@ -2813,6 +2827,7 @@ export interface FrontComponentGenqlSelection {
|
|
|
2813
2827
|
isHeadless?: boolean | number;
|
|
2814
2828
|
usesSdkClient?: boolean | number;
|
|
2815
2829
|
applicationTokenPair?: ApplicationTokenPairGenqlSelection;
|
|
2830
|
+
applicationVariables?: boolean | number;
|
|
2816
2831
|
__typename?: boolean | number;
|
|
2817
2832
|
__scalar?: boolean | number;
|
|
2818
2833
|
}
|
|
@@ -3253,6 +3268,7 @@ export interface WorkspaceGenqlSelection {
|
|
|
3253
3268
|
isMicrosoftAuthEnabled?: boolean | number;
|
|
3254
3269
|
isMicrosoftAuthBypassEnabled?: boolean | number;
|
|
3255
3270
|
isCustomDomainEnabled?: boolean | number;
|
|
3271
|
+
isInternalMessagesImportEnabled?: boolean | number;
|
|
3256
3272
|
editableProfileFields?: boolean | number;
|
|
3257
3273
|
defaultRole?: RoleGenqlSelection;
|
|
3258
3274
|
fastModel?: boolean | number;
|
|
@@ -3808,7 +3824,7 @@ export interface BillingEndTrialPeriodGenqlSelection {
|
|
|
3808
3824
|
__typename?: boolean | number;
|
|
3809
3825
|
__scalar?: boolean | number;
|
|
3810
3826
|
}
|
|
3811
|
-
export interface
|
|
3827
|
+
export interface BillingResourceCreditUsageGenqlSelection {
|
|
3812
3828
|
productKey?: boolean | number;
|
|
3813
3829
|
periodStart?: boolean | number;
|
|
3814
3830
|
periodEnd?: boolean | number;
|
|
@@ -4155,6 +4171,19 @@ export interface RotateClientSecretGenqlSelection {
|
|
|
4155
4171
|
__typename?: boolean | number;
|
|
4156
4172
|
__scalar?: boolean | number;
|
|
4157
4173
|
}
|
|
4174
|
+
export interface ApplicationRegistrationVariableDTOGenqlSelection {
|
|
4175
|
+
id?: boolean | number;
|
|
4176
|
+
key?: boolean | number;
|
|
4177
|
+
value?: boolean | number;
|
|
4178
|
+
description?: boolean | number;
|
|
4179
|
+
isSecret?: boolean | number;
|
|
4180
|
+
isRequired?: boolean | number;
|
|
4181
|
+
isFilled?: boolean | number;
|
|
4182
|
+
createdAt?: boolean | number;
|
|
4183
|
+
updatedAt?: boolean | number;
|
|
4184
|
+
__typename?: boolean | number;
|
|
4185
|
+
__scalar?: boolean | number;
|
|
4186
|
+
}
|
|
4158
4187
|
export interface RelationGenqlSelection {
|
|
4159
4188
|
type?: boolean | number;
|
|
4160
4189
|
sourceObjectMetadata?: ObjectGenqlSelection;
|
|
@@ -5158,7 +5187,7 @@ export interface QueryGenqlSelection {
|
|
|
5158
5187
|
};
|
|
5159
5188
|
});
|
|
5160
5189
|
listPlans?: BillingPlanGenqlSelection;
|
|
5161
|
-
|
|
5190
|
+
getResourceCreditUsage?: BillingResourceCreditUsageGenqlSelection;
|
|
5162
5191
|
findWorkspaceInvitations?: WorkspaceInvitationGenqlSelection;
|
|
5163
5192
|
getApprovedAccessDomains?: ApprovedAccessDomainGenqlSelection;
|
|
5164
5193
|
getPageLayoutTabs?: (PageLayoutTabGenqlSelection & {
|
|
@@ -5390,7 +5419,7 @@ export interface QueryGenqlSelection {
|
|
|
5390
5419
|
id: Scalars['String'];
|
|
5391
5420
|
};
|
|
5392
5421
|
});
|
|
5393
|
-
findApplicationRegistrationVariables?: (
|
|
5422
|
+
findApplicationRegistrationVariables?: (ApplicationRegistrationVariableDTOGenqlSelection & {
|
|
5394
5423
|
__args: {
|
|
5395
5424
|
applicationRegistrationId: Scalars['String'];
|
|
5396
5425
|
};
|
|
@@ -5799,13 +5828,13 @@ export interface MutationGenqlSelection {
|
|
|
5799
5828
|
switchBillingPlan?: BillingUpdateGenqlSelection;
|
|
5800
5829
|
cancelSwitchBillingPlan?: BillingUpdateGenqlSelection;
|
|
5801
5830
|
cancelSwitchBillingInterval?: BillingUpdateGenqlSelection;
|
|
5802
|
-
|
|
5831
|
+
setResourceCreditSubscriptionPrice?: (BillingUpdateGenqlSelection & {
|
|
5803
5832
|
__args: {
|
|
5804
5833
|
priceId: Scalars['String'];
|
|
5805
5834
|
};
|
|
5806
5835
|
});
|
|
5807
5836
|
endSubscriptionTrialPeriod?: BillingEndTrialPeriodGenqlSelection;
|
|
5808
|
-
|
|
5837
|
+
cancelSwitchResourceCreditPrice?: BillingUpdateGenqlSelection;
|
|
5809
5838
|
deleteWorkspaceInvitation?: {
|
|
5810
5839
|
__args: {
|
|
5811
5840
|
appTokenId: Scalars['String'];
|
|
@@ -7408,6 +7437,7 @@ export interface UpdateWorkspaceInput {
|
|
|
7408
7437
|
editableProfileFields?: (Scalars['String'][] | null);
|
|
7409
7438
|
enabledAiModelIds?: (Scalars['String'][] | null);
|
|
7410
7439
|
useRecommendedModels?: (Scalars['Boolean'] | null);
|
|
7440
|
+
isInternalMessagesImportEnabled?: (Scalars['Boolean'] | null);
|
|
7411
7441
|
}
|
|
7412
7442
|
export interface WorkspaceMigrationInput {
|
|
7413
7443
|
actions: WorkspaceMigrationDeleteActionInput[];
|
|
@@ -7789,9 +7819,9 @@ export declare const isBillingSubscription: (obj?: {
|
|
|
7789
7819
|
export declare const isBillingEndTrialPeriod: (obj?: {
|
|
7790
7820
|
__typename?: any;
|
|
7791
7821
|
} | null | undefined) => obj is BillingEndTrialPeriod;
|
|
7792
|
-
export declare const
|
|
7822
|
+
export declare const isBillingResourceCreditUsage: (obj?: {
|
|
7793
7823
|
__typename?: any;
|
|
7794
|
-
} | null | undefined) => obj is
|
|
7824
|
+
} | null | undefined) => obj is BillingResourceCreditUsage;
|
|
7795
7825
|
export declare const isBillingPlan: (obj?: {
|
|
7796
7826
|
__typename?: any;
|
|
7797
7827
|
} | null | undefined) => obj is BillingPlan;
|
|
@@ -7909,6 +7939,9 @@ export declare const isPublicApplicationRegistration: (obj?: {
|
|
|
7909
7939
|
export declare const isRotateClientSecret: (obj?: {
|
|
7910
7940
|
__typename?: any;
|
|
7911
7941
|
} | null | undefined) => obj is RotateClientSecret;
|
|
7942
|
+
export declare const isApplicationRegistrationVariableDTO: (obj?: {
|
|
7943
|
+
__typename?: any;
|
|
7944
|
+
} | null | undefined) => obj is ApplicationRegistrationVariableDTO;
|
|
7912
7945
|
export declare const isRelation: (obj?: {
|
|
7913
7946
|
__typename?: any;
|
|
7914
7947
|
} | null | undefined) => obj is Relation;
|
|
@@ -8602,7 +8635,6 @@ export declare const enumBillingUsageType: {
|
|
|
8602
8635
|
export declare const enumBillingProductKey: {
|
|
8603
8636
|
BASE_PRODUCT: "BASE_PRODUCT";
|
|
8604
8637
|
RESOURCE_CREDIT: "RESOURCE_CREDIT";
|
|
8605
|
-
WORKFLOW_NODE_EXECUTION: "WORKFLOW_NODE_EXECUTION";
|
|
8606
8638
|
};
|
|
8607
8639
|
export declare const enumSubscriptionInterval: {
|
|
8608
8640
|
Month: "Month";
|
|
@@ -8647,18 +8679,14 @@ export declare const enumLogicFunctionExecutionStatus: {
|
|
|
8647
8679
|
export declare const enumFeatureFlagKey: {
|
|
8648
8680
|
IS_UNIQUE_INDEXES_ENABLED: "IS_UNIQUE_INDEXES_ENABLED";
|
|
8649
8681
|
IS_JSON_FILTER_ENABLED: "IS_JSON_FILTER_ENABLED";
|
|
8650
|
-
IS_COMMAND_MENU_ITEM_ENABLED: "IS_COMMAND_MENU_ITEM_ENABLED";
|
|
8651
8682
|
IS_MARKETPLACE_SETTING_TAB_VISIBLE: "IS_MARKETPLACE_SETTING_TAB_VISIBLE";
|
|
8652
8683
|
IS_RECORD_PAGE_LAYOUT_EDITING_ENABLED: "IS_RECORD_PAGE_LAYOUT_EDITING_ENABLED";
|
|
8653
8684
|
IS_PUBLIC_DOMAIN_ENABLED: "IS_PUBLIC_DOMAIN_ENABLED";
|
|
8654
8685
|
IS_EMAILING_DOMAIN_ENABLED: "IS_EMAILING_DOMAIN_ENABLED";
|
|
8655
8686
|
IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
|
|
8656
8687
|
IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
|
|
8657
|
-
IS_CONNECTED_ACCOUNT_MIGRATED: "IS_CONNECTED_ACCOUNT_MIGRATED";
|
|
8658
|
-
IS_RICH_TEXT_V1_MIGRATED: "IS_RICH_TEXT_V1_MIGRATED";
|
|
8659
8688
|
IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED: "IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED";
|
|
8660
|
-
|
|
8661
|
-
IS_BILLING_V2_ENABLED: "IS_BILLING_V2_ENABLED";
|
|
8689
|
+
IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
|
|
8662
8690
|
};
|
|
8663
8691
|
export declare const enumIdentityProviderType: {
|
|
8664
8692
|
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: {
|
|
@@ -666,6 +667,7 @@ declare const _default: {
|
|
|
666
667
|
isMicrosoftAuthEnabled: number[];
|
|
667
668
|
isMicrosoftAuthBypassEnabled: number[];
|
|
668
669
|
isCustomDomainEnabled: number[];
|
|
670
|
+
isInternalMessagesImportEnabled: number[];
|
|
669
671
|
editableProfileFields: number[];
|
|
670
672
|
defaultRole: number[];
|
|
671
673
|
fastModel: number[];
|
|
@@ -1178,7 +1180,7 @@ declare const _default: {
|
|
|
1178
1180
|
billingPortalUrl: number[];
|
|
1179
1181
|
__typename: number[];
|
|
1180
1182
|
};
|
|
1181
|
-
|
|
1183
|
+
BillingResourceCreditUsage: {
|
|
1182
1184
|
productKey: number[];
|
|
1183
1185
|
periodStart: number[];
|
|
1184
1186
|
periodEnd: number[];
|
|
@@ -1486,6 +1488,18 @@ declare const _default: {
|
|
|
1486
1488
|
clientSecret: number[];
|
|
1487
1489
|
__typename: number[];
|
|
1488
1490
|
};
|
|
1491
|
+
ApplicationRegistrationVariableDTO: {
|
|
1492
|
+
id: number[];
|
|
1493
|
+
key: number[];
|
|
1494
|
+
value: number[];
|
|
1495
|
+
description: number[];
|
|
1496
|
+
isSecret: number[];
|
|
1497
|
+
isRequired: number[];
|
|
1498
|
+
isFilled: number[];
|
|
1499
|
+
createdAt: number[];
|
|
1500
|
+
updatedAt: number[];
|
|
1501
|
+
__typename: number[];
|
|
1502
|
+
};
|
|
1489
1503
|
Relation: {
|
|
1490
1504
|
type: number[];
|
|
1491
1505
|
sourceObjectMetadata: number[];
|
|
@@ -2337,7 +2351,7 @@ declare const _default: {
|
|
|
2337
2351
|
returnUrlPath: number[];
|
|
2338
2352
|
})[];
|
|
2339
2353
|
listPlans: number[];
|
|
2340
|
-
|
|
2354
|
+
getResourceCreditUsage: number[];
|
|
2341
2355
|
findWorkspaceInvitations: number[];
|
|
2342
2356
|
getApprovedAccessDomains: number[];
|
|
2343
2357
|
getPageLayoutTabs: (number | {
|
|
@@ -2768,11 +2782,11 @@ declare const _default: {
|
|
|
2768
2782
|
switchBillingPlan: number[];
|
|
2769
2783
|
cancelSwitchBillingPlan: number[];
|
|
2770
2784
|
cancelSwitchBillingInterval: number[];
|
|
2771
|
-
|
|
2785
|
+
setResourceCreditSubscriptionPrice: (number | {
|
|
2772
2786
|
priceId: (string | number)[];
|
|
2773
2787
|
})[];
|
|
2774
2788
|
endSubscriptionTrialPeriod: number[];
|
|
2775
|
-
|
|
2789
|
+
cancelSwitchResourceCreditPrice: number[];
|
|
2776
2790
|
deleteWorkspaceInvitation: (number | {
|
|
2777
2791
|
appTokenId: (string | number)[];
|
|
2778
2792
|
})[];
|
|
@@ -4160,6 +4174,7 @@ declare const _default: {
|
|
|
4160
4174
|
editableProfileFields: number[];
|
|
4161
4175
|
enabledAiModelIds: number[];
|
|
4162
4176
|
useRecommendedModels: number[];
|
|
4177
|
+
isInternalMessagesImportEnabled: number[];
|
|
4163
4178
|
__typename: number[];
|
|
4164
4179
|
};
|
|
4165
4180
|
WorkspaceMigrationInput: {
|