@membranehq/sdk 0.11.3 → 0.11.4
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/bundle.d.ts +2 -0
- package/dist/dts/orgs/types.d.ts +0 -15
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +1 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +0 -45
- package/dist/index.browser.d.mts +6 -60
- package/dist/index.browser.d.ts +6 -60
- package/dist/index.browser.js +81 -10
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +81 -10
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +6 -60
- package/dist/index.node.d.ts +6 -60
- package/dist/index.node.js +81 -10
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +81 -10
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.node.d.mts
CHANGED
|
@@ -13006,6 +13006,7 @@ declare const UpdateCustomerRequest: z.ZodObject<{
|
|
|
13006
13006
|
type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
|
|
13007
13007
|
declare const FindCustomersQuery: z.ZodObject<{
|
|
13008
13008
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
13009
|
+
isActive: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
13009
13010
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
13010
13011
|
cursor: z.ZodOptional<z.ZodString>;
|
|
13011
13012
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -13080,6 +13081,7 @@ declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
|
13080
13081
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
13081
13082
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
13082
13083
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
13084
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
13083
13085
|
}, z.core.$strip>;
|
|
13084
13086
|
type FindDataLinkTableInstancesQuery = z.infer<typeof FindDataLinkTableInstancesQuery>;
|
|
13085
13087
|
interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
@@ -14708,6 +14710,7 @@ declare const ListExternalAppsQuery: z.ZodObject<{
|
|
|
14708
14710
|
cursor: z.ZodOptional<z.ZodString>;
|
|
14709
14711
|
search: z.ZodOptional<z.ZodString>;
|
|
14710
14712
|
category: z.ZodOptional<z.ZodString>;
|
|
14713
|
+
isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
14711
14714
|
}, z.core.$strip>;
|
|
14712
14715
|
type ListExternalAppsQuery = z.infer<typeof ListExternalAppsQuery>;
|
|
14713
14716
|
|
|
@@ -15358,6 +15361,9 @@ interface WorkspaceElementSpec {
|
|
|
15358
15361
|
parentFieldKey?: string;
|
|
15359
15362
|
universalParentFieldKey?: string;
|
|
15360
15363
|
canBeAddedToPackage?: boolean;
|
|
15364
|
+
hasParentChildRelationship?: boolean;
|
|
15365
|
+
hasKey?: boolean;
|
|
15366
|
+
hasUuid?: boolean;
|
|
15361
15367
|
}
|
|
15362
15368
|
interface WorkspaceElements {
|
|
15363
15369
|
flows?: Record<string, CreateFlowRequest>;
|
|
@@ -15775,21 +15781,6 @@ declare const WorkspaceLimitsSchema: z$1.ZodObject<{
|
|
|
15775
15781
|
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15776
15782
|
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15777
15783
|
}, z$1.core.$strip>>;
|
|
15778
|
-
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
15779
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15780
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15781
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15782
|
-
}, z$1.core.$strip>>;
|
|
15783
|
-
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
15784
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15785
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15786
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15787
|
-
}, z$1.core.$strip>>;
|
|
15788
|
-
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
15789
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15790
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15791
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15792
|
-
}, z$1.core.$strip>>;
|
|
15793
15784
|
}, z$1.core.$strip>;
|
|
15794
15785
|
interface WorkspaceExport {
|
|
15795
15786
|
[WorkspaceElementType.AppDataSchema]: AppDataSchemaExportProperties[];
|
|
@@ -16018,21 +16009,6 @@ declare const AppSchema: z$1.ZodObject<{
|
|
|
16018
16009
|
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16019
16010
|
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16020
16011
|
}, z$1.core.$strip>>;
|
|
16021
|
-
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16022
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16023
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16024
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16025
|
-
}, z$1.core.$strip>>;
|
|
16026
|
-
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16027
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16028
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16029
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16030
|
-
}, z$1.core.$strip>>;
|
|
16031
|
-
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
16032
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16033
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16034
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16035
|
-
}, z$1.core.$strip>>;
|
|
16036
16012
|
}, z$1.core.$strip>>;
|
|
16037
16013
|
settings: z$1.ZodOptional<z$1.ZodObject<{
|
|
16038
16014
|
enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -16272,21 +16248,6 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
16272
16248
|
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16273
16249
|
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16274
16250
|
}, z$1.core.$strip>>;
|
|
16275
|
-
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16276
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16277
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16278
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16279
|
-
}, z$1.core.$strip>>;
|
|
16280
|
-
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16281
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16282
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16283
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16284
|
-
}, z$1.core.$strip>>;
|
|
16285
|
-
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
16286
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16287
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16288
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16289
|
-
}, z$1.core.$strip>>;
|
|
16290
16251
|
}, z$1.core.$strip>>;
|
|
16291
16252
|
settings: z$1.ZodOptional<z$1.ZodObject<{
|
|
16292
16253
|
enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -16846,21 +16807,6 @@ declare const AccountResponse: z.ZodObject<{
|
|
|
16846
16807
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16847
16808
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16848
16809
|
}, z.core.$strip>>;
|
|
16849
|
-
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
16850
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
16851
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16852
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16853
|
-
}, z.core.$strip>>;
|
|
16854
|
-
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
16855
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
16856
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16857
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16858
|
-
}, z.core.$strip>>;
|
|
16859
|
-
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
16860
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
16861
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16862
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16863
|
-
}, z.core.$strip>>;
|
|
16864
16810
|
}, z.core.$strip>>;
|
|
16865
16811
|
settings: z.ZodOptional<z.ZodObject<{
|
|
16866
16812
|
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
package/dist/index.node.d.ts
CHANGED
|
@@ -13006,6 +13006,7 @@ declare const UpdateCustomerRequest: z.ZodObject<{
|
|
|
13006
13006
|
type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
|
|
13007
13007
|
declare const FindCustomersQuery: z.ZodObject<{
|
|
13008
13008
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
13009
|
+
isActive: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
13009
13010
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
13010
13011
|
cursor: z.ZodOptional<z.ZodString>;
|
|
13011
13012
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -13080,6 +13081,7 @@ declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
|
13080
13081
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
13081
13082
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
13082
13083
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
13084
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
13083
13085
|
}, z.core.$strip>;
|
|
13084
13086
|
type FindDataLinkTableInstancesQuery = z.infer<typeof FindDataLinkTableInstancesQuery>;
|
|
13085
13087
|
interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
@@ -14708,6 +14710,7 @@ declare const ListExternalAppsQuery: z.ZodObject<{
|
|
|
14708
14710
|
cursor: z.ZodOptional<z.ZodString>;
|
|
14709
14711
|
search: z.ZodOptional<z.ZodString>;
|
|
14710
14712
|
category: z.ZodOptional<z.ZodString>;
|
|
14713
|
+
isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
14711
14714
|
}, z.core.$strip>;
|
|
14712
14715
|
type ListExternalAppsQuery = z.infer<typeof ListExternalAppsQuery>;
|
|
14713
14716
|
|
|
@@ -15358,6 +15361,9 @@ interface WorkspaceElementSpec {
|
|
|
15358
15361
|
parentFieldKey?: string;
|
|
15359
15362
|
universalParentFieldKey?: string;
|
|
15360
15363
|
canBeAddedToPackage?: boolean;
|
|
15364
|
+
hasParentChildRelationship?: boolean;
|
|
15365
|
+
hasKey?: boolean;
|
|
15366
|
+
hasUuid?: boolean;
|
|
15361
15367
|
}
|
|
15362
15368
|
interface WorkspaceElements {
|
|
15363
15369
|
flows?: Record<string, CreateFlowRequest>;
|
|
@@ -15775,21 +15781,6 @@ declare const WorkspaceLimitsSchema: z$1.ZodObject<{
|
|
|
15775
15781
|
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15776
15782
|
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15777
15783
|
}, z$1.core.$strip>>;
|
|
15778
|
-
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
15779
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15780
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15781
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15782
|
-
}, z$1.core.$strip>>;
|
|
15783
|
-
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
15784
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15785
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15786
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15787
|
-
}, z$1.core.$strip>>;
|
|
15788
|
-
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
15789
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15790
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
15791
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
15792
|
-
}, z$1.core.$strip>>;
|
|
15793
15784
|
}, z$1.core.$strip>;
|
|
15794
15785
|
interface WorkspaceExport {
|
|
15795
15786
|
[WorkspaceElementType.AppDataSchema]: AppDataSchemaExportProperties[];
|
|
@@ -16018,21 +16009,6 @@ declare const AppSchema: z$1.ZodObject<{
|
|
|
16018
16009
|
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16019
16010
|
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16020
16011
|
}, z$1.core.$strip>>;
|
|
16021
|
-
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16022
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16023
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16024
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16025
|
-
}, z$1.core.$strip>>;
|
|
16026
|
-
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16027
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16028
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16029
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16030
|
-
}, z$1.core.$strip>>;
|
|
16031
|
-
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
16032
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16033
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16034
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16035
|
-
}, z$1.core.$strip>>;
|
|
16036
16012
|
}, z$1.core.$strip>>;
|
|
16037
16013
|
settings: z$1.ZodOptional<z$1.ZodObject<{
|
|
16038
16014
|
enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -16272,21 +16248,6 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
16272
16248
|
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16273
16249
|
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16274
16250
|
}, z$1.core.$strip>>;
|
|
16275
|
-
createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16276
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16277
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16278
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16279
|
-
}, z$1.core.$strip>>;
|
|
16280
|
-
updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
|
|
16281
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16282
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16283
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16284
|
-
}, z$1.core.$strip>>;
|
|
16285
|
-
parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
|
|
16286
|
-
value: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16287
|
-
defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
|
|
16288
|
-
unit: z$1.ZodEnum<typeof LimitUnits>;
|
|
16289
|
-
}, z$1.core.$strip>>;
|
|
16290
16251
|
}, z$1.core.$strip>>;
|
|
16291
16252
|
settings: z$1.ZodOptional<z$1.ZodObject<{
|
|
16292
16253
|
enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -16846,21 +16807,6 @@ declare const AccountResponse: z.ZodObject<{
|
|
|
16846
16807
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16847
16808
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16848
16809
|
}, z.core.$strip>>;
|
|
16849
|
-
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
16850
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
16851
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16852
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16853
|
-
}, z.core.$strip>>;
|
|
16854
|
-
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
16855
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
16856
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16857
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16858
|
-
}, z.core.$strip>>;
|
|
16859
|
-
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
16860
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
16861
|
-
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
16862
|
-
unit: z.ZodEnum<typeof LimitUnits>;
|
|
16863
|
-
}, z.core.$strip>>;
|
|
16864
16810
|
}, z.core.$strip>>;
|
|
16865
16811
|
settings: z.ZodOptional<z.ZodObject<{
|
|
16866
16812
|
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
package/dist/index.node.js
CHANGED
|
@@ -10290,7 +10290,16 @@ const DataSourceInstanceApiResponse = BaseDataSourceInstance.extend({
|
|
|
10290
10290
|
|
|
10291
10291
|
const ListExternalAppsQuery = PaginationQuery.extend({
|
|
10292
10292
|
search: z.z.string().optional(),
|
|
10293
|
-
category: z.z
|
|
10293
|
+
category: z.z
|
|
10294
|
+
.string()
|
|
10295
|
+
.optional()
|
|
10296
|
+
.meta({ hidden: true }),
|
|
10297
|
+
isConnected: zodBooleanCoercion()
|
|
10298
|
+
.optional()
|
|
10299
|
+
.meta({
|
|
10300
|
+
filterTitle: 'Is Connected',
|
|
10301
|
+
isFlag: true,
|
|
10302
|
+
}),
|
|
10294
10303
|
});
|
|
10295
10304
|
|
|
10296
10305
|
const ExternalEvent = BaseExternalEvent.extend({
|
|
@@ -10431,7 +10440,18 @@ const UpdateCustomerRequest = z.z.object({
|
|
|
10431
10440
|
});
|
|
10432
10441
|
const FindCustomersQuery = z.z
|
|
10433
10442
|
.object({
|
|
10434
|
-
isTest: zodBooleanCoercion()
|
|
10443
|
+
isTest: zodBooleanCoercion()
|
|
10444
|
+
.optional()
|
|
10445
|
+
.meta({
|
|
10446
|
+
filterTitle: 'Is Test',
|
|
10447
|
+
isFlag: true,
|
|
10448
|
+
}),
|
|
10449
|
+
isActive: zodBooleanCoercion()
|
|
10450
|
+
.optional()
|
|
10451
|
+
.meta({
|
|
10452
|
+
filterTitle: 'Is Active',
|
|
10453
|
+
isFlag: true,
|
|
10454
|
+
}),
|
|
10435
10455
|
})
|
|
10436
10456
|
.merge(PaginationQuery)
|
|
10437
10457
|
.merge(SearchQuery);
|
|
@@ -10475,8 +10495,26 @@ const FindDataLinkTableInstancesQuery = PaginationQuery.extend({
|
|
|
10475
10495
|
hidden: true,
|
|
10476
10496
|
}),
|
|
10477
10497
|
dataLinkTableId: z.z.string().optional(),
|
|
10478
|
-
connectionId: z.z
|
|
10479
|
-
|
|
10498
|
+
connectionId: z.z
|
|
10499
|
+
.string()
|
|
10500
|
+
.optional()
|
|
10501
|
+
.meta({
|
|
10502
|
+
filterTitle: 'Connection',
|
|
10503
|
+
referenceElementType: exports.WorkspaceElementType.Connection,
|
|
10504
|
+
}),
|
|
10505
|
+
integrationId: z.z
|
|
10506
|
+
.string()
|
|
10507
|
+
.optional()
|
|
10508
|
+
.meta({
|
|
10509
|
+
filterTitle: 'Integration',
|
|
10510
|
+
referenceElementType: exports.WorkspaceElementType.Integration,
|
|
10511
|
+
}),
|
|
10512
|
+
instanceKey: z.z
|
|
10513
|
+
.string()
|
|
10514
|
+
.optional()
|
|
10515
|
+
.meta({
|
|
10516
|
+
filterTitle: 'Instance Key',
|
|
10517
|
+
}),
|
|
10480
10518
|
});
|
|
10481
10519
|
const FindDataLinksInTableQuery = PaginationQuery.extend({
|
|
10482
10520
|
direction: z.z.enum(exports.DataLinkDirection).optional(),
|
|
@@ -10537,7 +10575,12 @@ const FindAppEventSubscriptionsQuery = PaginationQuery.merge(SearchQuery)
|
|
|
10537
10575
|
}),
|
|
10538
10576
|
appEventTypeId: z.z.string().optional(),
|
|
10539
10577
|
isSubscribed: zodBooleanCoercion().optional(),
|
|
10540
|
-
instanceKey: z.z
|
|
10578
|
+
instanceKey: z.z
|
|
10579
|
+
.string()
|
|
10580
|
+
.optional()
|
|
10581
|
+
.meta({
|
|
10582
|
+
filterTitle: 'Instance Key',
|
|
10583
|
+
}),
|
|
10541
10584
|
});
|
|
10542
10585
|
const AppEventSubscriptionApiResponse = BaseAppEventSubscription.extend({
|
|
10543
10586
|
appEventType: BaseAppEventType.optional(),
|
|
@@ -10559,7 +10602,12 @@ const FindAppDataSchemaInstancesQuery = PaginationQuery.extend({
|
|
|
10559
10602
|
hidden: true,
|
|
10560
10603
|
}),
|
|
10561
10604
|
appDataSchemaId: z.z.string().optional(),
|
|
10562
|
-
instanceKey: z.z
|
|
10605
|
+
instanceKey: z.z
|
|
10606
|
+
.string()
|
|
10607
|
+
.optional()
|
|
10608
|
+
.meta({
|
|
10609
|
+
filterTitle: 'Instance Key',
|
|
10610
|
+
}),
|
|
10563
10611
|
});
|
|
10564
10612
|
const AppDataSchemaInstanceApiResponse = BaseAppDataSchemaInstance.extend({
|
|
10565
10613
|
user: BaseCustomer.optional(),
|
|
@@ -10613,7 +10661,13 @@ const ListExternalEventSubscriptionsQuery = CommonListElementsQuery.extend({
|
|
|
10613
10661
|
userId: z.z.string().optional().meta({
|
|
10614
10662
|
hidden: true,
|
|
10615
10663
|
}),
|
|
10616
|
-
connectionId: z.z
|
|
10664
|
+
connectionId: z.z
|
|
10665
|
+
.string()
|
|
10666
|
+
.optional()
|
|
10667
|
+
.meta({
|
|
10668
|
+
filterTitle: 'Connection',
|
|
10669
|
+
referenceElementType: exports.WorkspaceElementType.Connection,
|
|
10670
|
+
}),
|
|
10617
10671
|
integrationId: z.z
|
|
10618
10672
|
.string()
|
|
10619
10673
|
.optional()
|
|
@@ -10902,6 +10956,7 @@ const WorkspaceElementSpecs = {
|
|
|
10902
10956
|
apiPath: 'external-apps',
|
|
10903
10957
|
name: 'App',
|
|
10904
10958
|
namePlural: 'Apps',
|
|
10959
|
+
hasKey: true,
|
|
10905
10960
|
},
|
|
10906
10961
|
[exports.WorkspaceElementType.Integration]: {
|
|
10907
10962
|
type: exports.WorkspaceElementType.Integration,
|
|
@@ -10910,6 +10965,7 @@ const WorkspaceElementSpecs = {
|
|
|
10910
10965
|
namePlural: 'Integrations',
|
|
10911
10966
|
editablePropertiesSchema: IntegrationEditableProperties,
|
|
10912
10967
|
exportPropertiesSchema: IntegrationExportProperties,
|
|
10968
|
+
hasKey: true,
|
|
10913
10969
|
},
|
|
10914
10970
|
[exports.WorkspaceElementType.Connector]: {
|
|
10915
10971
|
type: exports.WorkspaceElementType.Connector,
|
|
@@ -10917,12 +10973,15 @@ const WorkspaceElementSpecs = {
|
|
|
10917
10973
|
name: 'Connector',
|
|
10918
10974
|
namePlural: 'Connectors',
|
|
10919
10975
|
exportPropertiesSchema: ConnectorExportProperties,
|
|
10976
|
+
hasKey: true,
|
|
10920
10977
|
},
|
|
10921
10978
|
[exports.WorkspaceElementType.Connection]: {
|
|
10922
10979
|
type: exports.WorkspaceElementType.Connection,
|
|
10923
10980
|
apiPath: 'connections',
|
|
10924
10981
|
name: 'Connection',
|
|
10925
10982
|
namePlural: 'Connections',
|
|
10983
|
+
hasKey: false,
|
|
10984
|
+
hasUuid: false,
|
|
10926
10985
|
},
|
|
10927
10986
|
[exports.WorkspaceElementType.Package]: {
|
|
10928
10987
|
type: exports.WorkspaceElementType.Package,
|
|
@@ -10935,6 +10994,8 @@ const WorkspaceElementSpecs = {
|
|
|
10935
10994
|
findQuerySchema: FindPackagesQuery,
|
|
10936
10995
|
isMembraneInterface: true,
|
|
10937
10996
|
isIntegrationLevel: true,
|
|
10997
|
+
hasKey: true,
|
|
10998
|
+
hasParentChildRelationship: true,
|
|
10938
10999
|
},
|
|
10939
11000
|
[exports.WorkspaceElementType.ActionInstance]: {
|
|
10940
11001
|
type: exports.WorkspaceElementType.ActionInstance,
|
|
@@ -10948,6 +11009,7 @@ const WorkspaceElementSpecs = {
|
|
|
10948
11009
|
apiPath: 'actions',
|
|
10949
11010
|
name: 'Action',
|
|
10950
11011
|
namePlural: 'Actions',
|
|
11012
|
+
parentFieldKey: 'parentId',
|
|
10951
11013
|
editablePropertiesSchema: ActionEditableProperties,
|
|
10952
11014
|
exportPropertiesSchema: ActionExportProperties,
|
|
10953
11015
|
apiResponseSchema: ActionApiResponse,
|
|
@@ -10955,6 +11017,8 @@ const WorkspaceElementSpecs = {
|
|
|
10955
11017
|
isMembraneInterface: true,
|
|
10956
11018
|
isIntegrationLevel: true,
|
|
10957
11019
|
canBeAddedToPackage: true,
|
|
11020
|
+
hasParentChildRelationship: true,
|
|
11021
|
+
hasKey: true,
|
|
10958
11022
|
},
|
|
10959
11023
|
[exports.WorkspaceElementType.ActionRunLogRecord]: {
|
|
10960
11024
|
type: exports.WorkspaceElementType.ActionRunLogRecord,
|
|
@@ -10975,6 +11039,8 @@ const WorkspaceElementSpecs = {
|
|
|
10975
11039
|
isMembraneInterface: true,
|
|
10976
11040
|
isIntegrationLevel: true,
|
|
10977
11041
|
canBeAddedToPackage: true,
|
|
11042
|
+
hasParentChildRelationship: true,
|
|
11043
|
+
hasKey: true,
|
|
10978
11044
|
},
|
|
10979
11045
|
[exports.WorkspaceElementType.FlowInstance]: {
|
|
10980
11046
|
type: exports.WorkspaceElementType.FlowInstance,
|
|
@@ -11006,6 +11072,8 @@ const WorkspaceElementSpecs = {
|
|
|
11006
11072
|
isMembraneInterface: true,
|
|
11007
11073
|
isIntegrationLevel: true,
|
|
11008
11074
|
canBeAddedToPackage: true,
|
|
11075
|
+
hasParentChildRelationship: true,
|
|
11076
|
+
hasKey: true,
|
|
11009
11077
|
},
|
|
11010
11078
|
[exports.WorkspaceElementType.FieldMappingInstance]: {
|
|
11011
11079
|
type: exports.WorkspaceElementType.FieldMappingInstance,
|
|
@@ -11030,6 +11098,8 @@ const WorkspaceElementSpecs = {
|
|
|
11030
11098
|
isMembraneInterface: true,
|
|
11031
11099
|
isIntegrationLevel: true,
|
|
11032
11100
|
canBeAddedToPackage: true,
|
|
11101
|
+
hasParentChildRelationship: true,
|
|
11102
|
+
hasKey: true,
|
|
11033
11103
|
},
|
|
11034
11104
|
[exports.WorkspaceElementType.DataSourceInstance]: {
|
|
11035
11105
|
type: exports.WorkspaceElementType.DataSourceInstance,
|
|
@@ -11051,6 +11121,7 @@ const WorkspaceElementSpecs = {
|
|
|
11051
11121
|
findQuerySchema: FindDataLinkTablesQuery,
|
|
11052
11122
|
isMembraneInterface: true,
|
|
11053
11123
|
canBeAddedToPackage: true,
|
|
11124
|
+
hasKey: true,
|
|
11054
11125
|
},
|
|
11055
11126
|
[exports.WorkspaceElementType.DataLinkTableInstance]: {
|
|
11056
11127
|
type: exports.WorkspaceElementType.DataLinkTableInstance,
|
|
@@ -11069,6 +11140,7 @@ const WorkspaceElementSpecs = {
|
|
|
11069
11140
|
exportPropertiesSchema: AppEventTypeExportProperties,
|
|
11070
11141
|
editablePropertiesSchema: AppEventTypeEditableProperties,
|
|
11071
11142
|
canBeAddedToPackage: true,
|
|
11143
|
+
hasKey: true,
|
|
11072
11144
|
},
|
|
11073
11145
|
[exports.WorkspaceElementType.AppEventSubscription]: {
|
|
11074
11146
|
type: exports.WorkspaceElementType.AppEventSubscription,
|
|
@@ -11092,6 +11164,7 @@ const WorkspaceElementSpecs = {
|
|
|
11092
11164
|
exportPropertiesSchema: AppDataSchemaExportProperties,
|
|
11093
11165
|
editablePropertiesSchema: AppDataSchemaEditableProperties,
|
|
11094
11166
|
canBeAddedToPackage: true,
|
|
11167
|
+
hasKey: true,
|
|
11095
11168
|
},
|
|
11096
11169
|
[exports.WorkspaceElementType.AppDataSchemaInstance]: {
|
|
11097
11170
|
type: exports.WorkspaceElementType.AppDataSchemaInstance,
|
|
@@ -11126,6 +11199,7 @@ const WorkspaceElementSpecs = {
|
|
|
11126
11199
|
name: 'Screen',
|
|
11127
11200
|
namePlural: 'Screens',
|
|
11128
11201
|
isMembraneInterface: true,
|
|
11202
|
+
hasKey: true,
|
|
11129
11203
|
},
|
|
11130
11204
|
};
|
|
11131
11205
|
|
|
@@ -11888,9 +11962,6 @@ const WorkspaceLimitsSchema = z.object({
|
|
|
11888
11962
|
webhookRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11889
11963
|
webhookRequestsPerCustomerPerHour: WorkspaceLimit.optional(),
|
|
11890
11964
|
externalEventsPerCustomerPerDay: WorkspaceLimit.optional(),
|
|
11891
|
-
createDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11892
|
-
updateDatabaseRequestsPerCustomerPerSecond: WorkspaceLimit.optional(),
|
|
11893
|
-
parallelWriteDatabaseRequestsPerCustomer: WorkspaceLimit.optional(),
|
|
11894
11965
|
});
|
|
11895
11966
|
const WorkspaceSettingsSchema = z.object({
|
|
11896
11967
|
enableApiLogs: z.boolean().optional(),
|