twenty-client-sdk 2.23.0-alpha.1 → 2.23.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.
- package/dist/metadata/generated/schema.d.ts +40 -1
- package/dist/metadata/generated/types.d.ts +23 -0
- package/dist/metadata.cjs +2 -2
- package/dist/metadata.mjs +1463 -1436
- package/package.json +1 -1
|
@@ -545,7 +545,7 @@ export interface View {
|
|
|
545
545
|
isActive: Scalars['Boolean'];
|
|
546
546
|
__typename: 'View';
|
|
547
547
|
}
|
|
548
|
-
export type ViewType = 'TABLE' | 'KANBAN' | 'CALENDAR' | 'FIELDS_WIDGET' | 'TABLE_WIDGET';
|
|
548
|
+
export type ViewType = 'TABLE' | 'KANBAN' | 'CALENDAR' | 'FIELDS_WIDGET' | 'TABLE_WIDGET' | 'KANBAN_WIDGET' | 'CALENDAR_WIDGET';
|
|
549
549
|
export type ViewKey = 'INDEX';
|
|
550
550
|
export type ViewOpenRecordIn = 'SIDE_PANEL' | 'RECORD_PAGE';
|
|
551
551
|
export type ViewCalendarLayout = 'DAY' | 'WEEK' | 'MONTH';
|
|
@@ -637,6 +637,11 @@ export interface User {
|
|
|
637
637
|
}
|
|
638
638
|
/** Onboarding status */
|
|
639
639
|
export type OnboardingStatus = 'PLAN_REQUIRED' | 'WORKSPACE_ACTIVATION' | 'PROFILE_CREATION' | 'SYNC_EMAIL' | 'APPS_INSTALLATION' | 'INVITE_TEAM' | 'COMPLETED';
|
|
640
|
+
export interface SdkClientChecksums {
|
|
641
|
+
core?: Scalars['String'];
|
|
642
|
+
metadata: Scalars['String'];
|
|
643
|
+
__typename: 'SdkClientChecksums';
|
|
644
|
+
}
|
|
640
645
|
export interface RatioAggregateConfig {
|
|
641
646
|
fieldMetadataId: Scalars['UUID'];
|
|
642
647
|
optionValue: Scalars['String'];
|
|
@@ -2369,6 +2374,7 @@ export interface MinimalMetadata {
|
|
|
2369
2374
|
export interface Query {
|
|
2370
2375
|
navigationMenuItems: NavigationMenuItem[];
|
|
2371
2376
|
navigationMenuItem?: NavigationMenuItem;
|
|
2377
|
+
applicationSdkClientChecksums?: SdkClientChecksums;
|
|
2372
2378
|
enterprisePortalSession?: Scalars['String'];
|
|
2373
2379
|
enterpriseCheckoutSession?: Scalars['String'];
|
|
2374
2380
|
enterpriseSubscriptionStatus?: EnterpriseSubscriptionStatusDTO;
|
|
@@ -2385,6 +2391,7 @@ export interface Query {
|
|
|
2385
2391
|
getViewFieldGroups: ViewFieldGroup[];
|
|
2386
2392
|
getViewFieldGroup?: ViewFieldGroup;
|
|
2387
2393
|
apiKeys: ApiKey[];
|
|
2394
|
+
getApiKeyRoles: Role[];
|
|
2388
2395
|
apiKey?: ApiKey;
|
|
2389
2396
|
getInviteSuggestions: InviteSuggestion[];
|
|
2390
2397
|
applicationConnectionProviders: ApplicationConnectionProvider[];
|
|
@@ -3422,6 +3429,12 @@ export interface UserGenqlSelection {
|
|
|
3422
3429
|
__typename?: boolean | number;
|
|
3423
3430
|
__scalar?: boolean | number;
|
|
3424
3431
|
}
|
|
3432
|
+
export interface SdkClientChecksumsGenqlSelection {
|
|
3433
|
+
core?: boolean | number;
|
|
3434
|
+
metadata?: boolean | number;
|
|
3435
|
+
__typename?: boolean | number;
|
|
3436
|
+
__scalar?: boolean | number;
|
|
3437
|
+
}
|
|
3425
3438
|
export interface RatioAggregateConfigGenqlSelection {
|
|
3426
3439
|
fieldMetadataId?: boolean | number;
|
|
3427
3440
|
optionValue?: boolean | number;
|
|
@@ -5339,6 +5352,11 @@ export interface QueryGenqlSelection {
|
|
|
5339
5352
|
id: Scalars['UUID'];
|
|
5340
5353
|
};
|
|
5341
5354
|
});
|
|
5355
|
+
applicationSdkClientChecksums?: (SdkClientChecksumsGenqlSelection & {
|
|
5356
|
+
__args: {
|
|
5357
|
+
applicationId: Scalars['UUID'];
|
|
5358
|
+
};
|
|
5359
|
+
});
|
|
5342
5360
|
enterprisePortalSession?: {
|
|
5343
5361
|
__args: {
|
|
5344
5362
|
returnUrlPath?: (Scalars['String'] | null);
|
|
@@ -5412,6 +5430,7 @@ export interface QueryGenqlSelection {
|
|
|
5412
5430
|
};
|
|
5413
5431
|
});
|
|
5414
5432
|
apiKeys?: ApiKeyGenqlSelection;
|
|
5433
|
+
getApiKeyRoles?: RoleGenqlSelection;
|
|
5415
5434
|
apiKey?: (ApiKeyGenqlSelection & {
|
|
5416
5435
|
__args: {
|
|
5417
5436
|
input: GetApiKeyInput;
|
|
@@ -7133,6 +7152,8 @@ export interface UpdateViewInput {
|
|
|
7133
7152
|
export interface UpsertViewWidgetInput {
|
|
7134
7153
|
/** The id of the view widget (page layout widget). */
|
|
7135
7154
|
widgetId: Scalars['UUID'];
|
|
7155
|
+
/** View-level settings (layout type, group by, kanban and calendar settings) to apply to the widget view. */
|
|
7156
|
+
view?: (UpsertViewWidgetViewSettingsInput | null);
|
|
7136
7157
|
/** The view fields to upsert. */
|
|
7137
7158
|
viewFields?: (UpsertViewWidgetViewFieldInput[] | null);
|
|
7138
7159
|
/** The view filters to upsert. */
|
|
@@ -7142,6 +7163,19 @@ export interface UpsertViewWidgetInput {
|
|
|
7142
7163
|
/** The view sorts to upsert. */
|
|
7143
7164
|
viewSorts?: (UpsertViewWidgetViewSortInput[] | null);
|
|
7144
7165
|
}
|
|
7166
|
+
export interface UpsertViewWidgetViewSettingsInput {
|
|
7167
|
+
/** The layout type of the widget view. Only widget view types (TABLE_WIDGET, KANBAN_WIDGET, CALENDAR_WIDGET) are allowed. */
|
|
7168
|
+
type?: (ViewType | null);
|
|
7169
|
+
mainGroupByFieldMetadataId?: (Scalars['UUID'] | null);
|
|
7170
|
+
shouldHideEmptyGroups?: (Scalars['Boolean'] | null);
|
|
7171
|
+
openRecordIn?: (ViewOpenRecordIn | null);
|
|
7172
|
+
kanbanAggregateOperation?: (AggregateOperations | null);
|
|
7173
|
+
kanbanAggregateOperationFieldMetadataId?: (Scalars['UUID'] | null);
|
|
7174
|
+
kanbanColumnWidth?: (Scalars['Int'] | null);
|
|
7175
|
+
calendarLayout?: (ViewCalendarLayout | null);
|
|
7176
|
+
calendarFieldMetadataId?: (Scalars['UUID'] | null);
|
|
7177
|
+
calendarEndFieldMetadataId?: (Scalars['UUID'] | null);
|
|
7178
|
+
}
|
|
7145
7179
|
export interface UpsertViewWidgetViewFieldInput {
|
|
7146
7180
|
/** The id of an existing view field to update. */
|
|
7147
7181
|
viewFieldId?: (Scalars['UUID'] | null);
|
|
@@ -8126,6 +8160,9 @@ export declare const isWorkspace: (obj?: {
|
|
|
8126
8160
|
export declare const isUser: (obj?: {
|
|
8127
8161
|
__typename?: any;
|
|
8128
8162
|
} | null | undefined) => obj is User;
|
|
8163
|
+
export declare const isSdkClientChecksums: (obj?: {
|
|
8164
|
+
__typename?: any;
|
|
8165
|
+
} | null | undefined) => obj is SdkClientChecksums;
|
|
8129
8166
|
export declare const isRatioAggregateConfig: (obj?: {
|
|
8130
8167
|
__typename?: any;
|
|
8131
8168
|
} | null | undefined) => obj is RatioAggregateConfig;
|
|
@@ -9012,6 +9049,8 @@ export declare const enumViewType: {
|
|
|
9012
9049
|
CALENDAR: "CALENDAR";
|
|
9013
9050
|
FIELDS_WIDGET: "FIELDS_WIDGET";
|
|
9014
9051
|
TABLE_WIDGET: "TABLE_WIDGET";
|
|
9052
|
+
KANBAN_WIDGET: "KANBAN_WIDGET";
|
|
9053
|
+
CALENDAR_WIDGET: "CALENDAR_WIDGET";
|
|
9015
9054
|
};
|
|
9016
9055
|
export declare const enumViewKey: {
|
|
9017
9056
|
INDEX: "INDEX";
|
|
@@ -686,6 +686,11 @@ declare const _default: {
|
|
|
686
686
|
};
|
|
687
687
|
OnboardingStatus: {};
|
|
688
688
|
JSONObject: {};
|
|
689
|
+
SdkClientChecksums: {
|
|
690
|
+
core: number[];
|
|
691
|
+
metadata: number[];
|
|
692
|
+
__typename: number[];
|
|
693
|
+
};
|
|
689
694
|
RatioAggregateConfig: {
|
|
690
695
|
fieldMetadataId: number[];
|
|
691
696
|
optionValue: number[];
|
|
@@ -2393,6 +2398,9 @@ declare const _default: {
|
|
|
2393
2398
|
navigationMenuItem: (number | {
|
|
2394
2399
|
id: (string | number)[];
|
|
2395
2400
|
})[];
|
|
2401
|
+
applicationSdkClientChecksums: (number | {
|
|
2402
|
+
applicationId: (string | number)[];
|
|
2403
|
+
})[];
|
|
2396
2404
|
enterprisePortalSession: (number | {
|
|
2397
2405
|
returnUrlPath: number[];
|
|
2398
2406
|
})[];
|
|
@@ -2438,6 +2446,7 @@ declare const _default: {
|
|
|
2438
2446
|
id: (string | number)[];
|
|
2439
2447
|
})[];
|
|
2440
2448
|
apiKeys: number[];
|
|
2449
|
+
getApiKeyRoles: number[];
|
|
2441
2450
|
apiKey: (number | {
|
|
2442
2451
|
input: (string | number)[];
|
|
2443
2452
|
})[];
|
|
@@ -3630,12 +3639,26 @@ declare const _default: {
|
|
|
3630
3639
|
};
|
|
3631
3640
|
UpsertViewWidgetInput: {
|
|
3632
3641
|
widgetId: number[];
|
|
3642
|
+
view: number[];
|
|
3633
3643
|
viewFields: number[];
|
|
3634
3644
|
viewFilters: number[];
|
|
3635
3645
|
viewFilterGroups: number[];
|
|
3636
3646
|
viewSorts: number[];
|
|
3637
3647
|
__typename: number[];
|
|
3638
3648
|
};
|
|
3649
|
+
UpsertViewWidgetViewSettingsInput: {
|
|
3650
|
+
type: number[];
|
|
3651
|
+
mainGroupByFieldMetadataId: number[];
|
|
3652
|
+
shouldHideEmptyGroups: number[];
|
|
3653
|
+
openRecordIn: number[];
|
|
3654
|
+
kanbanAggregateOperation: number[];
|
|
3655
|
+
kanbanAggregateOperationFieldMetadataId: number[];
|
|
3656
|
+
kanbanColumnWidth: number[];
|
|
3657
|
+
calendarLayout: number[];
|
|
3658
|
+
calendarFieldMetadataId: number[];
|
|
3659
|
+
calendarEndFieldMetadataId: number[];
|
|
3660
|
+
__typename: number[];
|
|
3661
|
+
};
|
|
3639
3662
|
UpsertViewWidgetViewFieldInput: {
|
|
3640
3663
|
viewFieldId: number[];
|
|
3641
3664
|
fieldMetadataId: number[];
|