twenty-client-sdk 2.4.0 → 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 +46 -17
- package/dist/metadata/generated/types.d.ts +17 -4
- package/dist/metadata.cjs +2 -2
- package/dist/metadata.mjs +940 -902
- 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 {
|
|
@@ -1017,7 +1018,7 @@ export interface BillingProductMetadata {
|
|
|
1017
1018
|
export type BillingPlanKey = 'PRO' | 'ENTERPRISE';
|
|
1018
1019
|
export type BillingUsageType = 'METERED' | 'LICENSED';
|
|
1019
1020
|
/** The different billing products available */
|
|
1020
|
-
export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT'
|
|
1021
|
+
export type BillingProductKey = 'BASE_PRODUCT' | 'RESOURCE_CREDIT';
|
|
1021
1022
|
export interface BillingPriceLicensed {
|
|
1022
1023
|
recurringInterval: SubscriptionInterval;
|
|
1023
1024
|
unitAmount: Scalars['Float'];
|
|
@@ -1091,7 +1092,7 @@ export interface BillingEndTrialPeriod {
|
|
|
1091
1092
|
billingPortalUrl?: Scalars['String'];
|
|
1092
1093
|
__typename: 'BillingEndTrialPeriod';
|
|
1093
1094
|
}
|
|
1094
|
-
export interface
|
|
1095
|
+
export interface BillingResourceCreditUsage {
|
|
1095
1096
|
productKey: BillingProductKey;
|
|
1096
1097
|
periodStart: Scalars['DateTime'];
|
|
1097
1098
|
periodEnd: Scalars['DateTime'];
|
|
@@ -1100,7 +1101,7 @@ export interface BillingMeteredProductUsage {
|
|
|
1100
1101
|
rolloverCredits: Scalars['Float'];
|
|
1101
1102
|
totalGrantedCredits: Scalars['Float'];
|
|
1102
1103
|
unitPriceCents: Scalars['Float'];
|
|
1103
|
-
__typename: '
|
|
1104
|
+
__typename: 'BillingResourceCreditUsage';
|
|
1104
1105
|
}
|
|
1105
1106
|
export interface BillingPlan {
|
|
1106
1107
|
planKey: BillingPlanKey;
|
|
@@ -1225,7 +1226,7 @@ export interface FeatureFlag {
|
|
|
1225
1226
|
value: Scalars['Boolean'];
|
|
1226
1227
|
__typename: 'FeatureFlag';
|
|
1227
1228
|
}
|
|
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' | '
|
|
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';
|
|
1229
1230
|
export interface WorkspaceUrls {
|
|
1230
1231
|
customUrl?: Scalars['String'];
|
|
1231
1232
|
subdomainUrl: Scalars['String'];
|
|
@@ -1411,6 +1412,18 @@ export interface RotateClientSecret {
|
|
|
1411
1412
|
clientSecret: Scalars['String'];
|
|
1412
1413
|
__typename: 'RotateClientSecret';
|
|
1413
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
|
+
}
|
|
1414
1427
|
export interface Relation {
|
|
1415
1428
|
type: RelationType;
|
|
1416
1429
|
sourceObjectMetadata: Object;
|
|
@@ -2257,7 +2270,7 @@ export interface Query {
|
|
|
2257
2270
|
enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
|
|
2258
2271
|
billingPortalSession: BillingSession;
|
|
2259
2272
|
listPlans: BillingPlan[];
|
|
2260
|
-
|
|
2273
|
+
getResourceCreditUsage: BillingResourceCreditUsage[];
|
|
2261
2274
|
findWorkspaceInvitations: WorkspaceInvitation[];
|
|
2262
2275
|
getApprovedAccessDomains: ApprovedAccessDomain[];
|
|
2263
2276
|
getPageLayoutTabs: PageLayoutTab[];
|
|
@@ -2315,7 +2328,7 @@ export interface Query {
|
|
|
2315
2328
|
findManyApplicationRegistrations: ApplicationRegistration[];
|
|
2316
2329
|
findOneApplicationRegistration: ApplicationRegistration;
|
|
2317
2330
|
findApplicationRegistrationStats: ApplicationRegistrationStats;
|
|
2318
|
-
findApplicationRegistrationVariables:
|
|
2331
|
+
findApplicationRegistrationVariables: ApplicationRegistrationVariableDTO[];
|
|
2319
2332
|
applicationRegistrationTarballUrl?: Scalars['String'];
|
|
2320
2333
|
currentUser: User;
|
|
2321
2334
|
currentWorkspace: Workspace;
|
|
@@ -2400,9 +2413,9 @@ export interface Mutation {
|
|
|
2400
2413
|
switchBillingPlan: BillingUpdate;
|
|
2401
2414
|
cancelSwitchBillingPlan: BillingUpdate;
|
|
2402
2415
|
cancelSwitchBillingInterval: BillingUpdate;
|
|
2403
|
-
|
|
2416
|
+
setResourceCreditSubscriptionPrice: BillingUpdate;
|
|
2404
2417
|
endSubscriptionTrialPeriod: BillingEndTrialPeriod;
|
|
2405
|
-
|
|
2418
|
+
cancelSwitchResourceCreditPrice: BillingUpdate;
|
|
2406
2419
|
deleteWorkspaceInvitation: Scalars['String'];
|
|
2407
2420
|
resendWorkspaceInvitation: SendInvitations;
|
|
2408
2421
|
sendInvitations: SendInvitations;
|
|
@@ -2814,6 +2827,7 @@ export interface FrontComponentGenqlSelection {
|
|
|
2814
2827
|
isHeadless?: boolean | number;
|
|
2815
2828
|
usesSdkClient?: boolean | number;
|
|
2816
2829
|
applicationTokenPair?: ApplicationTokenPairGenqlSelection;
|
|
2830
|
+
applicationVariables?: boolean | number;
|
|
2817
2831
|
__typename?: boolean | number;
|
|
2818
2832
|
__scalar?: boolean | number;
|
|
2819
2833
|
}
|
|
@@ -3810,7 +3824,7 @@ export interface BillingEndTrialPeriodGenqlSelection {
|
|
|
3810
3824
|
__typename?: boolean | number;
|
|
3811
3825
|
__scalar?: boolean | number;
|
|
3812
3826
|
}
|
|
3813
|
-
export interface
|
|
3827
|
+
export interface BillingResourceCreditUsageGenqlSelection {
|
|
3814
3828
|
productKey?: boolean | number;
|
|
3815
3829
|
periodStart?: boolean | number;
|
|
3816
3830
|
periodEnd?: boolean | number;
|
|
@@ -4157,6 +4171,19 @@ export interface RotateClientSecretGenqlSelection {
|
|
|
4157
4171
|
__typename?: boolean | number;
|
|
4158
4172
|
__scalar?: boolean | number;
|
|
4159
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
|
+
}
|
|
4160
4187
|
export interface RelationGenqlSelection {
|
|
4161
4188
|
type?: boolean | number;
|
|
4162
4189
|
sourceObjectMetadata?: ObjectGenqlSelection;
|
|
@@ -5160,7 +5187,7 @@ export interface QueryGenqlSelection {
|
|
|
5160
5187
|
};
|
|
5161
5188
|
});
|
|
5162
5189
|
listPlans?: BillingPlanGenqlSelection;
|
|
5163
|
-
|
|
5190
|
+
getResourceCreditUsage?: BillingResourceCreditUsageGenqlSelection;
|
|
5164
5191
|
findWorkspaceInvitations?: WorkspaceInvitationGenqlSelection;
|
|
5165
5192
|
getApprovedAccessDomains?: ApprovedAccessDomainGenqlSelection;
|
|
5166
5193
|
getPageLayoutTabs?: (PageLayoutTabGenqlSelection & {
|
|
@@ -5392,7 +5419,7 @@ export interface QueryGenqlSelection {
|
|
|
5392
5419
|
id: Scalars['String'];
|
|
5393
5420
|
};
|
|
5394
5421
|
});
|
|
5395
|
-
findApplicationRegistrationVariables?: (
|
|
5422
|
+
findApplicationRegistrationVariables?: (ApplicationRegistrationVariableDTOGenqlSelection & {
|
|
5396
5423
|
__args: {
|
|
5397
5424
|
applicationRegistrationId: Scalars['String'];
|
|
5398
5425
|
};
|
|
@@ -5801,13 +5828,13 @@ export interface MutationGenqlSelection {
|
|
|
5801
5828
|
switchBillingPlan?: BillingUpdateGenqlSelection;
|
|
5802
5829
|
cancelSwitchBillingPlan?: BillingUpdateGenqlSelection;
|
|
5803
5830
|
cancelSwitchBillingInterval?: BillingUpdateGenqlSelection;
|
|
5804
|
-
|
|
5831
|
+
setResourceCreditSubscriptionPrice?: (BillingUpdateGenqlSelection & {
|
|
5805
5832
|
__args: {
|
|
5806
5833
|
priceId: Scalars['String'];
|
|
5807
5834
|
};
|
|
5808
5835
|
});
|
|
5809
5836
|
endSubscriptionTrialPeriod?: BillingEndTrialPeriodGenqlSelection;
|
|
5810
|
-
|
|
5837
|
+
cancelSwitchResourceCreditPrice?: BillingUpdateGenqlSelection;
|
|
5811
5838
|
deleteWorkspaceInvitation?: {
|
|
5812
5839
|
__args: {
|
|
5813
5840
|
appTokenId: Scalars['String'];
|
|
@@ -7792,9 +7819,9 @@ export declare const isBillingSubscription: (obj?: {
|
|
|
7792
7819
|
export declare const isBillingEndTrialPeriod: (obj?: {
|
|
7793
7820
|
__typename?: any;
|
|
7794
7821
|
} | null | undefined) => obj is BillingEndTrialPeriod;
|
|
7795
|
-
export declare const
|
|
7822
|
+
export declare const isBillingResourceCreditUsage: (obj?: {
|
|
7796
7823
|
__typename?: any;
|
|
7797
|
-
} | null | undefined) => obj is
|
|
7824
|
+
} | null | undefined) => obj is BillingResourceCreditUsage;
|
|
7798
7825
|
export declare const isBillingPlan: (obj?: {
|
|
7799
7826
|
__typename?: any;
|
|
7800
7827
|
} | null | undefined) => obj is BillingPlan;
|
|
@@ -7912,6 +7939,9 @@ export declare const isPublicApplicationRegistration: (obj?: {
|
|
|
7912
7939
|
export declare const isRotateClientSecret: (obj?: {
|
|
7913
7940
|
__typename?: any;
|
|
7914
7941
|
} | null | undefined) => obj is RotateClientSecret;
|
|
7942
|
+
export declare const isApplicationRegistrationVariableDTO: (obj?: {
|
|
7943
|
+
__typename?: any;
|
|
7944
|
+
} | null | undefined) => obj is ApplicationRegistrationVariableDTO;
|
|
7915
7945
|
export declare const isRelation: (obj?: {
|
|
7916
7946
|
__typename?: any;
|
|
7917
7947
|
} | null | undefined) => obj is Relation;
|
|
@@ -8605,7 +8635,6 @@ export declare const enumBillingUsageType: {
|
|
|
8605
8635
|
export declare const enumBillingProductKey: {
|
|
8606
8636
|
BASE_PRODUCT: "BASE_PRODUCT";
|
|
8607
8637
|
RESOURCE_CREDIT: "RESOURCE_CREDIT";
|
|
8608
|
-
WORKFLOW_NODE_EXECUTION: "WORKFLOW_NODE_EXECUTION";
|
|
8609
8638
|
};
|
|
8610
8639
|
export declare const enumSubscriptionInterval: {
|
|
8611
8640
|
Month: "Month";
|
|
@@ -8657,7 +8686,7 @@ export declare const enumFeatureFlagKey: {
|
|
|
8657
8686
|
IS_EMAIL_GROUP_ENABLED: "IS_EMAIL_GROUP_ENABLED";
|
|
8658
8687
|
IS_JUNCTION_RELATIONS_ENABLED: "IS_JUNCTION_RELATIONS_ENABLED";
|
|
8659
8688
|
IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED: "IS_RECORD_PAGE_LAYOUT_GLOBAL_EDITION_ENABLED";
|
|
8660
|
-
|
|
8689
|
+
IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
|
|
8661
8690
|
};
|
|
8662
8691
|
export declare const enumIdentityProviderType: {
|
|
8663
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: {
|
|
@@ -1179,7 +1180,7 @@ declare const _default: {
|
|
|
1179
1180
|
billingPortalUrl: number[];
|
|
1180
1181
|
__typename: number[];
|
|
1181
1182
|
};
|
|
1182
|
-
|
|
1183
|
+
BillingResourceCreditUsage: {
|
|
1183
1184
|
productKey: number[];
|
|
1184
1185
|
periodStart: number[];
|
|
1185
1186
|
periodEnd: number[];
|
|
@@ -1487,6 +1488,18 @@ declare const _default: {
|
|
|
1487
1488
|
clientSecret: number[];
|
|
1488
1489
|
__typename: number[];
|
|
1489
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
|
+
};
|
|
1490
1503
|
Relation: {
|
|
1491
1504
|
type: number[];
|
|
1492
1505
|
sourceObjectMetadata: number[];
|
|
@@ -2338,7 +2351,7 @@ declare const _default: {
|
|
|
2338
2351
|
returnUrlPath: number[];
|
|
2339
2352
|
})[];
|
|
2340
2353
|
listPlans: number[];
|
|
2341
|
-
|
|
2354
|
+
getResourceCreditUsage: number[];
|
|
2342
2355
|
findWorkspaceInvitations: number[];
|
|
2343
2356
|
getApprovedAccessDomains: number[];
|
|
2344
2357
|
getPageLayoutTabs: (number | {
|
|
@@ -2769,11 +2782,11 @@ declare const _default: {
|
|
|
2769
2782
|
switchBillingPlan: number[];
|
|
2770
2783
|
cancelSwitchBillingPlan: number[];
|
|
2771
2784
|
cancelSwitchBillingInterval: number[];
|
|
2772
|
-
|
|
2785
|
+
setResourceCreditSubscriptionPrice: (number | {
|
|
2773
2786
|
priceId: (string | number)[];
|
|
2774
2787
|
})[];
|
|
2775
2788
|
endSubscriptionTrialPeriod: number[];
|
|
2776
|
-
|
|
2789
|
+
cancelSwitchResourceCreditPrice: number[];
|
|
2777
2790
|
deleteWorkspaceInvitation: (number | {
|
|
2778
2791
|
appTokenId: (string | number)[];
|
|
2779
2792
|
})[];
|