twenty-client-sdk 2.10.1 → 2.12.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/generate/genql/helpers/prettify.d.ts +1 -1
- package/dist/generate/genql/render/common/RenderContext.d.ts +1 -1
- package/dist/generate.cjs +187 -246
- package/dist/generate.mjs +22241 -36866
- package/dist/metadata/generated/schema.d.ts +6 -4
- package/dist/metadata/generated/types.d.ts +1 -3
- package/dist/metadata.cjs +1 -1
- package/dist/metadata.mjs +44 -50
- package/package.json +2 -2
package/dist/metadata.mjs
CHANGED
|
@@ -1462,9 +1462,6 @@ const R = {
|
|
|
1462
1462
|
id: [
|
|
1463
1463
|
52
|
|
1464
1464
|
],
|
|
1465
|
-
isCustom: [
|
|
1466
|
-
53
|
|
1467
|
-
],
|
|
1468
1465
|
isRemote: [
|
|
1469
1466
|
53
|
|
1470
1467
|
],
|
|
@@ -1701,9 +1698,6 @@ const R = {
|
|
|
1701
1698
|
id: [
|
|
1702
1699
|
52
|
|
1703
1700
|
],
|
|
1704
|
-
isCustom: [
|
|
1705
|
-
53
|
|
1706
|
-
],
|
|
1707
1701
|
isActive: [
|
|
1708
1702
|
53
|
|
1709
1703
|
],
|
|
@@ -2131,6 +2125,9 @@ const R = {
|
|
|
2131
2125
|
createdByUserWorkspaceId: [
|
|
2132
2126
|
3
|
|
2133
2127
|
],
|
|
2128
|
+
isActive: [
|
|
2129
|
+
6
|
|
2130
|
+
],
|
|
2134
2131
|
__typename: [
|
|
2135
2132
|
1
|
|
2136
2133
|
]
|
|
@@ -2282,9 +2279,6 @@ const R = {
|
|
|
2282
2279
|
billingEntitlements: [
|
|
2283
2280
|
230
|
|
2284
2281
|
],
|
|
2285
|
-
hasValidEnterpriseKey: [
|
|
2286
|
-
6
|
|
2287
|
-
],
|
|
2288
2282
|
hasValidSignedEnterpriseKey: [
|
|
2289
2283
|
6
|
|
2290
2284
|
],
|
|
@@ -11767,12 +11761,12 @@ const R = {
|
|
|
11767
11761
|
}, b = ["ApiKey"], M = (e) => {
|
|
11768
11762
|
if (!e?.__typename) throw new Error('__typename is missing in "isApiKey"');
|
|
11769
11763
|
return b.includes(e.__typename);
|
|
11770
|
-
}, N = ["ApplicationRegistrationVariable"],
|
|
11764
|
+
}, N = ["ApplicationRegistrationVariable"], v = (e) => {
|
|
11771
11765
|
if (!e?.__typename) throw new Error('__typename is missing in "isApplicationRegistrationVariable"');
|
|
11772
11766
|
return N.includes(e.__typename);
|
|
11773
|
-
},
|
|
11767
|
+
}, U = ["ApplicationRegistration"], k = (e) => {
|
|
11774
11768
|
if (!e?.__typename) throw new Error('__typename is missing in "isApplicationRegistration"');
|
|
11775
|
-
return
|
|
11769
|
+
return U.includes(e.__typename);
|
|
11776
11770
|
}, V = ["TwoFactorAuthenticationMethodSummary"], W = (e) => {
|
|
11777
11771
|
if (!e?.__typename) throw new Error('__typename is missing in "isTwoFactorAuthenticationMethodSummary"');
|
|
11778
11772
|
return V.includes(e.__typename);
|
|
@@ -11848,12 +11842,12 @@ const R = {
|
|
|
11848
11842
|
}, be = ["IndexField"], Me = (e) => {
|
|
11849
11843
|
if (!e?.__typename) throw new Error('__typename is missing in "isIndexField"');
|
|
11850
11844
|
return be.includes(e.__typename);
|
|
11851
|
-
}, Ne = ["Index"],
|
|
11845
|
+
}, Ne = ["Index"], ve = (e) => {
|
|
11852
11846
|
if (!e?.__typename) throw new Error('__typename is missing in "isIndex"');
|
|
11853
11847
|
return Ne.includes(e.__typename);
|
|
11854
|
-
},
|
|
11848
|
+
}, Ue = ["ObjectStandardOverrides"], ke = (e) => {
|
|
11855
11849
|
if (!e?.__typename) throw new Error('__typename is missing in "isObjectStandardOverrides"');
|
|
11856
|
-
return
|
|
11850
|
+
return Ue.includes(e.__typename);
|
|
11857
11851
|
}, Ve = ["Object"], We = (e) => {
|
|
11858
11852
|
if (!e?.__typename) throw new Error('__typename is missing in "isObject"');
|
|
11859
11853
|
return Ve.includes(e.__typename);
|
|
@@ -11929,12 +11923,12 @@ const R = {
|
|
|
11929
11923
|
}, bt = ["LineChartConfiguration"], Mt = (e) => {
|
|
11930
11924
|
if (!e?.__typename) throw new Error('__typename is missing in "isLineChartConfiguration"');
|
|
11931
11925
|
return bt.includes(e.__typename);
|
|
11932
|
-
}, Nt = ["IframeConfiguration"],
|
|
11926
|
+
}, Nt = ["IframeConfiguration"], vt = (e) => {
|
|
11933
11927
|
if (!e?.__typename) throw new Error('__typename is missing in "isIframeConfiguration"');
|
|
11934
11928
|
return Nt.includes(e.__typename);
|
|
11935
|
-
},
|
|
11929
|
+
}, Ut = ["BarChartConfiguration"], kt = (e) => {
|
|
11936
11930
|
if (!e?.__typename) throw new Error('__typename is missing in "isBarChartConfiguration"');
|
|
11937
|
-
return
|
|
11931
|
+
return Ut.includes(e.__typename);
|
|
11938
11932
|
}, Vt = ["CalendarConfiguration"], Wt = (e) => {
|
|
11939
11933
|
if (!e?.__typename) throw new Error('__typename is missing in "isCalendarConfiguration"');
|
|
11940
11934
|
return Vt.includes(e.__typename);
|
|
@@ -12010,12 +12004,12 @@ const R = {
|
|
|
12010
12004
|
}, bi = ["SendEmailViaDomainOutput"], Mi = (e) => {
|
|
12011
12005
|
if (!e?.__typename) throw new Error('__typename is missing in "isSendEmailViaDomainOutput"');
|
|
12012
12006
|
return bi.includes(e.__typename);
|
|
12013
|
-
}, Ni = ["ApprovedAccessDomain"],
|
|
12007
|
+
}, Ni = ["ApprovedAccessDomain"], vi = (e) => {
|
|
12014
12008
|
if (!e?.__typename) throw new Error('__typename is missing in "isApprovedAccessDomain"');
|
|
12015
12009
|
return Ni.includes(e.__typename);
|
|
12016
|
-
},
|
|
12010
|
+
}, Ui = ["FileWithSignedUrl"], ki = (e) => {
|
|
12017
12011
|
if (!e?.__typename) throw new Error('__typename is missing in "isFileWithSignedUrl"');
|
|
12018
|
-
return
|
|
12012
|
+
return Ui.includes(e.__typename);
|
|
12019
12013
|
}, Vi = ["BillingSubscriptionSchedulePhaseItem"], Wi = (e) => {
|
|
12020
12014
|
if (!e?.__typename) throw new Error('__typename is missing in "isBillingSubscriptionSchedulePhaseItem"');
|
|
12021
12015
|
return Vi.includes(e.__typename);
|
|
@@ -12091,9 +12085,9 @@ const R = {
|
|
|
12091
12085
|
}, Mn = ["ObjectRecordEventWithQueryIds"], Nn = (e) => {
|
|
12092
12086
|
if (!e?.__typename) throw new Error('__typename is missing in "isObjectRecordEventWithQueryIds"');
|
|
12093
12087
|
return Mn.includes(e.__typename);
|
|
12094
|
-
},
|
|
12088
|
+
}, vn = ["EventSubscription"], Un = (e) => {
|
|
12095
12089
|
if (!e?.__typename) throw new Error('__typename is missing in "isEventSubscription"');
|
|
12096
|
-
return
|
|
12090
|
+
return vn.includes(e.__typename);
|
|
12097
12091
|
}, kn = ["LogicFunctionExecutionResult"], Vn = (e) => {
|
|
12098
12092
|
if (!e?.__typename) throw new Error('__typename is missing in "isLogicFunctionExecutionResult"');
|
|
12099
12093
|
return kn.includes(e.__typename);
|
|
@@ -12172,9 +12166,9 @@ const R = {
|
|
|
12172
12166
|
}, Ma = ["PublicApplicationRegistration"], Na = (e) => {
|
|
12173
12167
|
if (!e?.__typename) throw new Error('__typename is missing in "isPublicApplicationRegistration"');
|
|
12174
12168
|
return Ma.includes(e.__typename);
|
|
12175
|
-
},
|
|
12169
|
+
}, va = ["RotateClientSecret"], Ua = (e) => {
|
|
12176
12170
|
if (!e?.__typename) throw new Error('__typename is missing in "isRotateClientSecret"');
|
|
12177
|
-
return
|
|
12171
|
+
return va.includes(e.__typename);
|
|
12178
12172
|
}, ka = ["Relation"], Va = (e) => {
|
|
12179
12173
|
if (!e?.__typename) throw new Error('__typename is missing in "isRelation"');
|
|
12180
12174
|
return ka.includes(e.__typename);
|
|
@@ -12253,9 +12247,9 @@ const R = {
|
|
|
12253
12247
|
}, Ms = ["BillingEntitlement"], Ns = (e) => {
|
|
12254
12248
|
if (!e?.__typename) throw new Error('__typename is missing in "isBillingEntitlement"');
|
|
12255
12249
|
return Ms.includes(e.__typename);
|
|
12256
|
-
},
|
|
12250
|
+
}, vs = ["DomainRecord"], Us = (e) => {
|
|
12257
12251
|
if (!e?.__typename) throw new Error('__typename is missing in "isDomainRecord"');
|
|
12258
|
-
return
|
|
12252
|
+
return vs.includes(e.__typename);
|
|
12259
12253
|
}, ks = ["DomainValidRecords"], Vs = (e) => {
|
|
12260
12254
|
if (!e?.__typename) throw new Error('__typename is missing in "isDomainValidRecords"');
|
|
12261
12255
|
return ks.includes(e.__typename);
|
|
@@ -12331,12 +12325,12 @@ const R = {
|
|
|
12331
12325
|
}, bo = ["UsageUserDaily"], Mo = (e) => {
|
|
12332
12326
|
if (!e?.__typename) throw new Error('__typename is missing in "isUsageUserDaily"');
|
|
12333
12327
|
return bo.includes(e.__typename);
|
|
12334
|
-
}, No = ["UsageAnalytics"],
|
|
12328
|
+
}, No = ["UsageAnalytics"], vo = (e) => {
|
|
12335
12329
|
if (!e?.__typename) throw new Error('__typename is missing in "isUsageAnalytics"');
|
|
12336
12330
|
return No.includes(e.__typename);
|
|
12337
|
-
},
|
|
12331
|
+
}, Uo = ["DevelopmentApplication"], ko = (e) => {
|
|
12338
12332
|
if (!e?.__typename) throw new Error('__typename is missing in "isDevelopmentApplication"');
|
|
12339
|
-
return
|
|
12333
|
+
return Uo.includes(e.__typename);
|
|
12340
12334
|
}, Vo = ["WorkspaceMigration"], Wo = (e) => {
|
|
12341
12335
|
if (!e?.__typename) throw new Error('__typename is missing in "isWorkspaceMigration"');
|
|
12342
12336
|
return Vo.includes(e.__typename);
|
|
@@ -12412,12 +12406,12 @@ const R = {
|
|
|
12412
12406
|
}, br = ["LineChartData"], Mr = (e) => {
|
|
12413
12407
|
if (!e?.__typename) throw new Error('__typename is missing in "isLineChartData"');
|
|
12414
12408
|
return br.includes(e.__typename);
|
|
12415
|
-
}, Nr = ["PieChartDataItem"],
|
|
12409
|
+
}, Nr = ["PieChartDataItem"], vr = (e) => {
|
|
12416
12410
|
if (!e?.__typename) throw new Error('__typename is missing in "isPieChartDataItem"');
|
|
12417
12411
|
return Nr.includes(e.__typename);
|
|
12418
|
-
},
|
|
12412
|
+
}, Ur = ["PieChartData"], kr = (e) => {
|
|
12419
12413
|
if (!e?.__typename) throw new Error('__typename is missing in "isPieChartData"');
|
|
12420
|
-
return
|
|
12414
|
+
return Ur.includes(e.__typename);
|
|
12421
12415
|
}, Vr = ["DuplicatedDashboard"], Wr = (e) => {
|
|
12422
12416
|
if (!e?.__typename) throw new Error('__typename is missing in "isDuplicatedDashboard"');
|
|
12423
12417
|
return Vr.includes(e.__typename);
|
|
@@ -12493,12 +12487,12 @@ const R = {
|
|
|
12493
12487
|
}, bp = ["MinimalMetadata"], Mp = (e) => {
|
|
12494
12488
|
if (!e?.__typename) throw new Error('__typename is missing in "isMinimalMetadata"');
|
|
12495
12489
|
return bp.includes(e.__typename);
|
|
12496
|
-
}, Np = ["Query"],
|
|
12490
|
+
}, Np = ["Query"], vp = (e) => {
|
|
12497
12491
|
if (!e?.__typename) throw new Error('__typename is missing in "isQuery"');
|
|
12498
12492
|
return Np.includes(e.__typename);
|
|
12499
|
-
},
|
|
12493
|
+
}, Up = ["Mutation"], kp = (e) => {
|
|
12500
12494
|
if (!e?.__typename) throw new Error('__typename is missing in "isMutation"');
|
|
12501
|
-
return
|
|
12495
|
+
return Up.includes(e.__typename);
|
|
12502
12496
|
}, Vp = ["Subscription"], Wp = (e) => {
|
|
12503
12497
|
if (!e?.__typename) throw new Error('__typename is missing in "isSubscription"');
|
|
12504
12498
|
return Vp.includes(e.__typename);
|
|
@@ -12906,10 +12900,10 @@ const R = {
|
|
|
12906
12900
|
}, Nl = {
|
|
12907
12901
|
GOOGLE_RECAPTCHA: "GOOGLE_RECAPTCHA",
|
|
12908
12902
|
TURNSTILE: "TURNSTILE"
|
|
12909
|
-
},
|
|
12903
|
+
}, vl = {
|
|
12910
12904
|
ONE_TO_MANY: "ONE_TO_MANY",
|
|
12911
12905
|
MANY_TO_ONE: "MANY_TO_ONE"
|
|
12912
|
-
},
|
|
12906
|
+
}, Ul = {
|
|
12913
12907
|
SSO: "SSO",
|
|
12914
12908
|
CUSTOM_DOMAIN: "CUSTOM_DOMAIN",
|
|
12915
12909
|
RLS: "RLS",
|
|
@@ -13051,7 +13045,7 @@ const R = {
|
|
|
13051
13045
|
enumAxisNameDisplay: ml,
|
|
13052
13046
|
enumBarChartGroupMode: yl,
|
|
13053
13047
|
enumBarChartLayout: gl,
|
|
13054
|
-
enumBillingEntitlementKey:
|
|
13048
|
+
enumBillingEntitlementKey: Ul,
|
|
13055
13049
|
enumBillingPlanKey: Tl,
|
|
13056
13050
|
enumBillingProductKey: Cl,
|
|
13057
13051
|
enumBillingUsageType: Sl,
|
|
@@ -13090,7 +13084,7 @@ const R = {
|
|
|
13090
13084
|
enumPageLayoutTabLayoutMode: _l,
|
|
13091
13085
|
enumPageLayoutType: Il,
|
|
13092
13086
|
enumPermissionFlagType: Kp,
|
|
13093
|
-
enumRelationType:
|
|
13087
|
+
enumRelationType: vl,
|
|
13094
13088
|
enumRowLevelPermissionPredicateGroupLogicalOperator: Bp,
|
|
13095
13089
|
enumRowLevelPermissionPredicateOperand: xp,
|
|
13096
13090
|
enumSsoIdentityProviderStatus: Dl,
|
|
@@ -13136,11 +13130,11 @@ const R = {
|
|
|
13136
13130
|
isApplicationRegistration: k,
|
|
13137
13131
|
isApplicationRegistrationStats: La,
|
|
13138
13132
|
isApplicationRegistrationSummary: le,
|
|
13139
|
-
isApplicationRegistrationVariable:
|
|
13133
|
+
isApplicationRegistrationVariable: v,
|
|
13140
13134
|
isApplicationRegistrationVariableDTO: Hn,
|
|
13141
13135
|
isApplicationTokenPair: ye,
|
|
13142
13136
|
isApplicationVariable: de,
|
|
13143
|
-
isApprovedAccessDomain:
|
|
13137
|
+
isApprovedAccessDomain: vi,
|
|
13144
13138
|
isAuthBypassProviders: Zn,
|
|
13145
13139
|
isAuthProviders: $n,
|
|
13146
13140
|
isAuthToken: ue,
|
|
@@ -13194,7 +13188,7 @@ const R = {
|
|
|
13194
13188
|
isDeleteTwoFactorAuthenticationMethod: Hs,
|
|
13195
13189
|
isDeletedWorkspaceMember: bs,
|
|
13196
13190
|
isDevelopmentApplication: ko,
|
|
13197
|
-
isDomainRecord:
|
|
13191
|
+
isDomainRecord: Us,
|
|
13198
13192
|
isDomainValidRecords: Vs,
|
|
13199
13193
|
isDuplicatedDashboard: Wr,
|
|
13200
13194
|
isEditSso: Is,
|
|
@@ -13207,7 +13201,7 @@ const R = {
|
|
|
13207
13201
|
isEventLogPageInfo: qr,
|
|
13208
13202
|
isEventLogQueryResult: zr,
|
|
13209
13203
|
isEventLogRecord: Yr,
|
|
13210
|
-
isEventSubscription:
|
|
13204
|
+
isEventSubscription: Un,
|
|
13211
13205
|
isFeatureFlag: Gn,
|
|
13212
13206
|
isField: De,
|
|
13213
13207
|
isFieldConfiguration: qt,
|
|
@@ -13225,12 +13219,12 @@ const R = {
|
|
|
13225
13219
|
isFullName: z,
|
|
13226
13220
|
isGetAuthorizationUrlForSSO: ao,
|
|
13227
13221
|
isGridPosition: ut,
|
|
13228
|
-
isIframeConfiguration:
|
|
13222
|
+
isIframeConfiguration: vt,
|
|
13229
13223
|
isImapSmtpCaldavConnectionSuccess: ur,
|
|
13230
13224
|
isImapSmtpCaldavPublicConnectionParameters: lr,
|
|
13231
13225
|
isImapSmtpCaldavPublicConnectionParams: rr,
|
|
13232
13226
|
isImpersonate: Fo,
|
|
13233
|
-
isIndex:
|
|
13227
|
+
isIndex: ve,
|
|
13234
13228
|
isIndexConnection: Ha,
|
|
13235
13229
|
isIndexEdge: Ga,
|
|
13236
13230
|
isIndexField: Me,
|
|
@@ -13284,7 +13278,7 @@ const R = {
|
|
|
13284
13278
|
isPathCommandMenuItemPayload: Oe,
|
|
13285
13279
|
isPieChartConfiguration: Dt,
|
|
13286
13280
|
isPieChartData: kr,
|
|
13287
|
-
isPieChartDataItem:
|
|
13281
|
+
isPieChartDataItem: vr,
|
|
13288
13282
|
isPlaceDetailsResult: jo,
|
|
13289
13283
|
isPublicApplicationRegistration: Na,
|
|
13290
13284
|
isPublicConnectionParametersOutput: tr,
|
|
@@ -13294,7 +13288,7 @@ const R = {
|
|
|
13294
13288
|
isPublicImapSmtpCaldavConnectionParameters: nr,
|
|
13295
13289
|
isPublicWorkspaceData: ea,
|
|
13296
13290
|
isPublicWorkspaceDataSummary: ia,
|
|
13297
|
-
isQuery:
|
|
13291
|
+
isQuery: vp,
|
|
13298
13292
|
isRatioAggregateConfig: lt,
|
|
13299
13293
|
isRecordIdentifier: Rn,
|
|
13300
13294
|
isRecordTableConfiguration: li,
|
|
@@ -13303,7 +13297,7 @@ const R = {
|
|
|
13303
13297
|
isRichTextBody: dt,
|
|
13304
13298
|
isRole: re,
|
|
13305
13299
|
isRolePermissionFlag: ne,
|
|
13306
|
-
isRotateClientSecret:
|
|
13300
|
+
isRotateClientSecret: Ua,
|
|
13307
13301
|
isRowLevelPermissionPredicate: K,
|
|
13308
13302
|
isRowLevelPermissionPredicateGroup: B,
|
|
13309
13303
|
isRunAgentResult: Sr,
|
|
@@ -13327,7 +13321,7 @@ const R = {
|
|
|
13327
13321
|
isTransientToken: uo,
|
|
13328
13322
|
isTwoFactorAuthenticationMethodSummary: W,
|
|
13329
13323
|
isUpsertRowLevelPermissionPredicatesResult: Gs,
|
|
13330
|
-
isUsageAnalytics:
|
|
13324
|
+
isUsageAnalytics: vo,
|
|
13331
13325
|
isUsageBreakdownItem: wa,
|
|
13332
13326
|
isUsageTimeSeries: Do,
|
|
13333
13327
|
isUsageUserDaily: Mo,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twenty-client-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"scripts": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"esbuild": "^0.28.0",
|
|
53
53
|
"graphql": "^16.8.1",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
|
-
"prettier": "^
|
|
55
|
+
"prettier": "^3.8.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/lodash": "^4.17.15",
|