@friggframework/core 2.0.0--canary.681.2df9ef0.0 → 2.0.0--canary.682.cbca9e2.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/README.md +36 -0
- package/application/commands/integration-commands.js +20 -10
- package/application/index.js +6 -2
- package/database/encryption/encryption-schema-registry.js +7 -0
- package/database/organization-where.js +18 -0
- package/generated/prisma-mongodb/edge.js +5 -3
- package/generated/prisma-mongodb/index-browser.js +2 -0
- package/generated/prisma-mongodb/index.d.ts +115 -2
- package/generated/prisma-mongodb/index.js +5 -3
- package/generated/prisma-mongodb/package.json +1 -1
- package/generated/prisma-mongodb/schema.prisma +15 -0
- package/generated/prisma-mongodb/wasm.js +5 -3
- package/generated/prisma-postgresql/edge.js +5 -3
- package/generated/prisma-postgresql/index-browser.js +2 -0
- package/generated/prisma-postgresql/index.d.ts +131 -2
- package/generated/prisma-postgresql/index.js +5 -3
- package/generated/prisma-postgresql/package.json +1 -1
- package/generated/prisma-postgresql/schema.prisma +15 -0
- package/generated/prisma-postgresql/wasm.js +5 -3
- package/handlers/app-definition-loader.js +25 -8
- package/handlers/backend-utils.js +31 -25
- package/handlers/routers/health.js +1 -4
- package/handlers/workers/integration-defined-workers.js +5 -2
- package/index.js +10 -2
- package/integrations/index.js +0 -4
- package/integrations/integration-router.js +99 -52
- package/integrations/repositories/integration-not-found.js +14 -0
- package/integrations/repositories/integration-repository-documentdb.js +34 -3
- package/integrations/repositories/integration-repository-interface.js +17 -1
- package/integrations/repositories/integration-repository-mongo.js +59 -76
- package/integrations/repositories/integration-repository-postgres.js +62 -76
- package/integrations/tests/doubles/test-integration-repository.js +12 -1
- package/integrations/use-cases/create-integration.js +55 -20
- package/integrations/use-cases/get-integrations-for-user.js +80 -40
- package/integrations/use-cases/index.js +5 -1
- package/integrations/use-cases/integration-operations-for-user.js +40 -19
- package/integrations/use-cases/resolve-integration-ownership.js +177 -0
- package/integrations/utils/map-integration-dto.js +1 -15
- package/management-api/management-api-config.js +3 -0
- package/management-api/openapi/components.js +46 -1
- package/management-api/openapi/v2-operations.js +14 -1
- package/management-api/v2/dependencies.js +56 -14
- package/management-api/v2/dto.js +17 -0
- package/management-api/v2/handlers/authorization.js +1 -0
- package/management-api/v2/handlers/entities.js +10 -7
- package/management-api/v2/handlers/integrations.js +6 -3
- package/management-api/v2/request.js +32 -1
- package/modules/entity-scope.js +15 -0
- package/modules/entity-type-registry.js +311 -0
- package/modules/index.js +14 -0
- package/modules/repositories/module-repository-documentdb.js +41 -1
- package/modules/repositories/module-repository-interface.js +19 -2
- package/modules/repositories/module-repository-mongo.js +64 -73
- package/modules/repositories/module-repository-postgres.js +63 -73
- package/modules/scope-config.js +155 -0
- package/modules/scope-policy.js +80 -0
- package/modules/scope-resolution.js +277 -0
- package/modules/scope-visibility.js +165 -0
- package/modules/tests/doubles/ownership-matching.js +18 -0
- package/modules/use-cases/authorize-entity-for-user.js +59 -0
- package/modules/use-cases/entity-operations-for-user.js +42 -10
- package/modules/use-cases/entity-types.js +62 -14
- package/modules/use-cases/execute-entity-proxy-request.js +15 -0
- package/modules/use-cases/get-entities-for-user.js +16 -5
- package/modules/use-cases/get-entity-module-for-user.js +23 -3
- package/modules/use-cases/get-entity-options-by-id.js +5 -2
- package/modules/use-cases/get-module.js +5 -2
- package/modules/use-cases/multi-step-authorization.js +36 -12
- package/modules/use-cases/process-authorization-callback.js +52 -18
- package/modules/use-cases/refresh-entity-options.js +5 -2
- package/modules/use-cases/test-module-auth.js +5 -2
- package/package.json +5 -5
- package/prisma-mongodb/schema.prisma +15 -0
- package/prisma-postgresql/migrations/20261016000000_add_entity_integration_organization/migration.sql +25 -0
- package/prisma-postgresql/schema.prisma +15 -0
- package/types/index.d.ts +1 -0
- package/types/modules/index.d.ts +145 -0
|
@@ -6087,6 +6087,7 @@ export namespace Prisma {
|
|
|
6087
6087
|
name: string | null
|
|
6088
6088
|
moduleName: string | null
|
|
6089
6089
|
externalId: string | null
|
|
6090
|
+
organizationId: string | null
|
|
6090
6091
|
createdAt: Date | null
|
|
6091
6092
|
updatedAt: Date | null
|
|
6092
6093
|
}
|
|
@@ -6098,6 +6099,7 @@ export namespace Prisma {
|
|
|
6098
6099
|
name: string | null
|
|
6099
6100
|
moduleName: string | null
|
|
6100
6101
|
externalId: string | null
|
|
6102
|
+
organizationId: string | null
|
|
6101
6103
|
createdAt: Date | null
|
|
6102
6104
|
updatedAt: Date | null
|
|
6103
6105
|
}
|
|
@@ -6109,6 +6111,7 @@ export namespace Prisma {
|
|
|
6109
6111
|
name: number
|
|
6110
6112
|
moduleName: number
|
|
6111
6113
|
externalId: number
|
|
6114
|
+
organizationId: number
|
|
6112
6115
|
data: number
|
|
6113
6116
|
createdAt: number
|
|
6114
6117
|
updatedAt: number
|
|
@@ -6125,6 +6128,7 @@ export namespace Prisma {
|
|
|
6125
6128
|
name?: true
|
|
6126
6129
|
moduleName?: true
|
|
6127
6130
|
externalId?: true
|
|
6131
|
+
organizationId?: true
|
|
6128
6132
|
createdAt?: true
|
|
6129
6133
|
updatedAt?: true
|
|
6130
6134
|
}
|
|
@@ -6136,6 +6140,7 @@ export namespace Prisma {
|
|
|
6136
6140
|
name?: true
|
|
6137
6141
|
moduleName?: true
|
|
6138
6142
|
externalId?: true
|
|
6143
|
+
organizationId?: true
|
|
6139
6144
|
createdAt?: true
|
|
6140
6145
|
updatedAt?: true
|
|
6141
6146
|
}
|
|
@@ -6147,6 +6152,7 @@ export namespace Prisma {
|
|
|
6147
6152
|
name?: true
|
|
6148
6153
|
moduleName?: true
|
|
6149
6154
|
externalId?: true
|
|
6155
|
+
organizationId?: true
|
|
6150
6156
|
data?: true
|
|
6151
6157
|
createdAt?: true
|
|
6152
6158
|
updatedAt?: true
|
|
@@ -6234,6 +6240,7 @@ export namespace Prisma {
|
|
|
6234
6240
|
name: string | null
|
|
6235
6241
|
moduleName: string | null
|
|
6236
6242
|
externalId: string | null
|
|
6243
|
+
organizationId: string | null
|
|
6237
6244
|
data: JsonValue
|
|
6238
6245
|
createdAt: Date
|
|
6239
6246
|
updatedAt: Date
|
|
@@ -6265,6 +6272,7 @@ export namespace Prisma {
|
|
|
6265
6272
|
name?: boolean
|
|
6266
6273
|
moduleName?: boolean
|
|
6267
6274
|
externalId?: boolean
|
|
6275
|
+
organizationId?: boolean
|
|
6268
6276
|
data?: boolean
|
|
6269
6277
|
createdAt?: boolean
|
|
6270
6278
|
updatedAt?: boolean
|
|
@@ -6288,6 +6296,7 @@ export namespace Prisma {
|
|
|
6288
6296
|
name?: boolean
|
|
6289
6297
|
moduleName?: boolean
|
|
6290
6298
|
externalId?: boolean
|
|
6299
|
+
organizationId?: boolean
|
|
6291
6300
|
data?: boolean
|
|
6292
6301
|
createdAt?: boolean
|
|
6293
6302
|
updatedAt?: boolean
|
|
@@ -6295,7 +6304,7 @@ export namespace Prisma {
|
|
|
6295
6304
|
syncIds?: boolean
|
|
6296
6305
|
}
|
|
6297
6306
|
|
|
6298
|
-
export type EntityOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "credentialId" | "userId" | "name" | "moduleName" | "externalId" | "data" | "createdAt" | "updatedAt" | "integrationIds" | "syncIds", ExtArgs["result"]["entity"]>
|
|
6307
|
+
export type EntityOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "credentialId" | "userId" | "name" | "moduleName" | "externalId" | "organizationId" | "data" | "createdAt" | "updatedAt" | "integrationIds" | "syncIds", ExtArgs["result"]["entity"]>
|
|
6299
6308
|
export type EntityInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
6300
6309
|
credential?: boolean | Entity$credentialArgs<ExtArgs>
|
|
6301
6310
|
user?: boolean | Entity$userArgs<ExtArgs>
|
|
@@ -6323,6 +6332,7 @@ export namespace Prisma {
|
|
|
6323
6332
|
name: string | null
|
|
6324
6333
|
moduleName: string | null
|
|
6325
6334
|
externalId: string | null
|
|
6335
|
+
organizationId: string | null
|
|
6326
6336
|
data: Prisma.JsonValue
|
|
6327
6337
|
createdAt: Date
|
|
6328
6338
|
updatedAt: Date
|
|
@@ -6732,6 +6742,7 @@ export namespace Prisma {
|
|
|
6732
6742
|
readonly name: FieldRef<"Entity", 'String'>
|
|
6733
6743
|
readonly moduleName: FieldRef<"Entity", 'String'>
|
|
6734
6744
|
readonly externalId: FieldRef<"Entity", 'String'>
|
|
6745
|
+
readonly organizationId: FieldRef<"Entity", 'String'>
|
|
6735
6746
|
readonly data: FieldRef<"Entity", 'Json'>
|
|
6736
6747
|
readonly createdAt: FieldRef<"Entity", 'DateTime'>
|
|
6737
6748
|
readonly updatedAt: FieldRef<"Entity", 'DateTime'>
|
|
@@ -7273,6 +7284,7 @@ export namespace Prisma {
|
|
|
7273
7284
|
id: string | null
|
|
7274
7285
|
userId: string | null
|
|
7275
7286
|
status: $Enums.IntegrationStatus | null
|
|
7287
|
+
organizationId: string | null
|
|
7276
7288
|
version: string | null
|
|
7277
7289
|
createdAt: Date | null
|
|
7278
7290
|
updatedAt: Date | null
|
|
@@ -7282,6 +7294,7 @@ export namespace Prisma {
|
|
|
7282
7294
|
id: string | null
|
|
7283
7295
|
userId: string | null
|
|
7284
7296
|
status: $Enums.IntegrationStatus | null
|
|
7297
|
+
organizationId: string | null
|
|
7285
7298
|
version: string | null
|
|
7286
7299
|
createdAt: Date | null
|
|
7287
7300
|
updatedAt: Date | null
|
|
@@ -7291,6 +7304,7 @@ export namespace Prisma {
|
|
|
7291
7304
|
id: number
|
|
7292
7305
|
userId: number
|
|
7293
7306
|
status: number
|
|
7307
|
+
organizationId: number
|
|
7294
7308
|
config: number
|
|
7295
7309
|
version: number
|
|
7296
7310
|
entityIds: number
|
|
@@ -7308,6 +7322,7 @@ export namespace Prisma {
|
|
|
7308
7322
|
id?: true
|
|
7309
7323
|
userId?: true
|
|
7310
7324
|
status?: true
|
|
7325
|
+
organizationId?: true
|
|
7311
7326
|
version?: true
|
|
7312
7327
|
createdAt?: true
|
|
7313
7328
|
updatedAt?: true
|
|
@@ -7317,6 +7332,7 @@ export namespace Prisma {
|
|
|
7317
7332
|
id?: true
|
|
7318
7333
|
userId?: true
|
|
7319
7334
|
status?: true
|
|
7335
|
+
organizationId?: true
|
|
7320
7336
|
version?: true
|
|
7321
7337
|
createdAt?: true
|
|
7322
7338
|
updatedAt?: true
|
|
@@ -7326,6 +7342,7 @@ export namespace Prisma {
|
|
|
7326
7342
|
id?: true
|
|
7327
7343
|
userId?: true
|
|
7328
7344
|
status?: true
|
|
7345
|
+
organizationId?: true
|
|
7329
7346
|
config?: true
|
|
7330
7347
|
version?: true
|
|
7331
7348
|
entityIds?: true
|
|
@@ -7414,6 +7431,7 @@ export namespace Prisma {
|
|
|
7414
7431
|
id: string
|
|
7415
7432
|
userId: string | null
|
|
7416
7433
|
status: $Enums.IntegrationStatus
|
|
7434
|
+
organizationId: string | null
|
|
7417
7435
|
config: JsonValue | null
|
|
7418
7436
|
version: string | null
|
|
7419
7437
|
entityIds: string[]
|
|
@@ -7446,6 +7464,7 @@ export namespace Prisma {
|
|
|
7446
7464
|
id?: boolean
|
|
7447
7465
|
userId?: boolean
|
|
7448
7466
|
status?: boolean
|
|
7467
|
+
organizationId?: boolean
|
|
7449
7468
|
config?: boolean
|
|
7450
7469
|
version?: boolean
|
|
7451
7470
|
entityIds?: boolean
|
|
@@ -7470,6 +7489,7 @@ export namespace Prisma {
|
|
|
7470
7489
|
id?: boolean
|
|
7471
7490
|
userId?: boolean
|
|
7472
7491
|
status?: boolean
|
|
7492
|
+
organizationId?: boolean
|
|
7473
7493
|
config?: boolean
|
|
7474
7494
|
version?: boolean
|
|
7475
7495
|
entityIds?: boolean
|
|
@@ -7481,7 +7501,7 @@ export namespace Prisma {
|
|
|
7481
7501
|
updatedAt?: boolean
|
|
7482
7502
|
}
|
|
7483
7503
|
|
|
7484
|
-
export type IntegrationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "status" | "config" | "version" | "entityIds" | "errors" | "warnings" | "info" | "logs" | "createdAt" | "updatedAt", ExtArgs["result"]["integration"]>
|
|
7504
|
+
export type IntegrationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "userId" | "status" | "organizationId" | "config" | "version" | "entityIds" | "errors" | "warnings" | "info" | "logs" | "createdAt" | "updatedAt", ExtArgs["result"]["integration"]>
|
|
7485
7505
|
export type IntegrationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
7486
7506
|
user?: boolean | Integration$userArgs<ExtArgs>
|
|
7487
7507
|
entities?: boolean | Integration$entitiesArgs<ExtArgs>
|
|
@@ -7506,6 +7526,7 @@ export namespace Prisma {
|
|
|
7506
7526
|
id: string
|
|
7507
7527
|
userId: string | null
|
|
7508
7528
|
status: $Enums.IntegrationStatus
|
|
7529
|
+
organizationId: string | null
|
|
7509
7530
|
config: Prisma.JsonValue | null
|
|
7510
7531
|
version: string | null
|
|
7511
7532
|
entityIds: string[]
|
|
@@ -7916,6 +7937,7 @@ export namespace Prisma {
|
|
|
7916
7937
|
readonly id: FieldRef<"Integration", 'String'>
|
|
7917
7938
|
readonly userId: FieldRef<"Integration", 'String'>
|
|
7918
7939
|
readonly status: FieldRef<"Integration", 'IntegrationStatus'>
|
|
7940
|
+
readonly organizationId: FieldRef<"Integration", 'String'>
|
|
7919
7941
|
readonly config: FieldRef<"Integration", 'Json'>
|
|
7920
7942
|
readonly version: FieldRef<"Integration", 'String'>
|
|
7921
7943
|
readonly entityIds: FieldRef<"Integration", 'String[]'>
|
|
@@ -21379,6 +21401,7 @@ export namespace Prisma {
|
|
|
21379
21401
|
name: 'name',
|
|
21380
21402
|
moduleName: 'moduleName',
|
|
21381
21403
|
externalId: 'externalId',
|
|
21404
|
+
organizationId: 'organizationId',
|
|
21382
21405
|
data: 'data',
|
|
21383
21406
|
createdAt: 'createdAt',
|
|
21384
21407
|
updatedAt: 'updatedAt',
|
|
@@ -21393,6 +21416,7 @@ export namespace Prisma {
|
|
|
21393
21416
|
id: 'id',
|
|
21394
21417
|
userId: 'userId',
|
|
21395
21418
|
status: 'status',
|
|
21419
|
+
organizationId: 'organizationId',
|
|
21396
21420
|
config: 'config',
|
|
21397
21421
|
version: 'version',
|
|
21398
21422
|
entityIds: 'entityIds',
|
|
@@ -21981,6 +22005,7 @@ export namespace Prisma {
|
|
|
21981
22005
|
name?: StringNullableFilter<"Entity"> | string | null
|
|
21982
22006
|
moduleName?: StringNullableFilter<"Entity"> | string | null
|
|
21983
22007
|
externalId?: StringNullableFilter<"Entity"> | string | null
|
|
22008
|
+
organizationId?: StringNullableFilter<"Entity"> | string | null
|
|
21984
22009
|
data?: JsonFilter<"Entity">
|
|
21985
22010
|
createdAt?: DateTimeFilter<"Entity"> | Date | string
|
|
21986
22011
|
updatedAt?: DateTimeFilter<"Entity"> | Date | string
|
|
@@ -22001,6 +22026,7 @@ export namespace Prisma {
|
|
|
22001
22026
|
name?: SortOrder
|
|
22002
22027
|
moduleName?: SortOrder
|
|
22003
22028
|
externalId?: SortOrder
|
|
22029
|
+
organizationId?: SortOrder
|
|
22004
22030
|
data?: SortOrder
|
|
22005
22031
|
createdAt?: SortOrder
|
|
22006
22032
|
updatedAt?: SortOrder
|
|
@@ -22024,6 +22050,7 @@ export namespace Prisma {
|
|
|
22024
22050
|
name?: StringNullableFilter<"Entity"> | string | null
|
|
22025
22051
|
moduleName?: StringNullableFilter<"Entity"> | string | null
|
|
22026
22052
|
externalId?: StringNullableFilter<"Entity"> | string | null
|
|
22053
|
+
organizationId?: StringNullableFilter<"Entity"> | string | null
|
|
22027
22054
|
data?: JsonFilter<"Entity">
|
|
22028
22055
|
createdAt?: DateTimeFilter<"Entity"> | Date | string
|
|
22029
22056
|
updatedAt?: DateTimeFilter<"Entity"> | Date | string
|
|
@@ -22044,6 +22071,7 @@ export namespace Prisma {
|
|
|
22044
22071
|
name?: SortOrder
|
|
22045
22072
|
moduleName?: SortOrder
|
|
22046
22073
|
externalId?: SortOrder
|
|
22074
|
+
organizationId?: SortOrder
|
|
22047
22075
|
data?: SortOrder
|
|
22048
22076
|
createdAt?: SortOrder
|
|
22049
22077
|
updatedAt?: SortOrder
|
|
@@ -22064,6 +22092,7 @@ export namespace Prisma {
|
|
|
22064
22092
|
name?: StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
22065
22093
|
moduleName?: StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
22066
22094
|
externalId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
22095
|
+
organizationId?: StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
22067
22096
|
data?: JsonWithAggregatesFilter<"Entity">
|
|
22068
22097
|
createdAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
|
|
22069
22098
|
updatedAt?: DateTimeWithAggregatesFilter<"Entity"> | Date | string
|
|
@@ -22078,6 +22107,7 @@ export namespace Prisma {
|
|
|
22078
22107
|
id?: StringFilter<"Integration"> | string
|
|
22079
22108
|
userId?: StringNullableFilter<"Integration"> | string | null
|
|
22080
22109
|
status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
|
|
22110
|
+
organizationId?: StringNullableFilter<"Integration"> | string | null
|
|
22081
22111
|
config?: JsonNullableFilter<"Integration">
|
|
22082
22112
|
version?: StringNullableFilter<"Integration"> | string | null
|
|
22083
22113
|
entityIds?: StringNullableListFilter<"Integration">
|
|
@@ -22099,6 +22129,7 @@ export namespace Prisma {
|
|
|
22099
22129
|
id?: SortOrder
|
|
22100
22130
|
userId?: SortOrder
|
|
22101
22131
|
status?: SortOrder
|
|
22132
|
+
organizationId?: SortOrder
|
|
22102
22133
|
config?: SortOrder
|
|
22103
22134
|
version?: SortOrder
|
|
22104
22135
|
entityIds?: SortOrder
|
|
@@ -22123,6 +22154,7 @@ export namespace Prisma {
|
|
|
22123
22154
|
NOT?: IntegrationWhereInput | IntegrationWhereInput[]
|
|
22124
22155
|
userId?: StringNullableFilter<"Integration"> | string | null
|
|
22125
22156
|
status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
|
|
22157
|
+
organizationId?: StringNullableFilter<"Integration"> | string | null
|
|
22126
22158
|
config?: JsonNullableFilter<"Integration">
|
|
22127
22159
|
version?: StringNullableFilter<"Integration"> | string | null
|
|
22128
22160
|
entityIds?: StringNullableListFilter<"Integration">
|
|
@@ -22144,6 +22176,7 @@ export namespace Prisma {
|
|
|
22144
22176
|
id?: SortOrder
|
|
22145
22177
|
userId?: SortOrder
|
|
22146
22178
|
status?: SortOrder
|
|
22179
|
+
organizationId?: SortOrder
|
|
22147
22180
|
config?: SortOrder
|
|
22148
22181
|
version?: SortOrder
|
|
22149
22182
|
entityIds?: SortOrder
|
|
@@ -22165,6 +22198,7 @@ export namespace Prisma {
|
|
|
22165
22198
|
id?: StringWithAggregatesFilter<"Integration"> | string
|
|
22166
22199
|
userId?: StringNullableWithAggregatesFilter<"Integration"> | string | null
|
|
22167
22200
|
status?: EnumIntegrationStatusWithAggregatesFilter<"Integration"> | $Enums.IntegrationStatus
|
|
22201
|
+
organizationId?: StringNullableWithAggregatesFilter<"Integration"> | string | null
|
|
22168
22202
|
config?: JsonNullableWithAggregatesFilter<"Integration">
|
|
22169
22203
|
version?: StringNullableWithAggregatesFilter<"Integration"> | string | null
|
|
22170
22204
|
entityIds?: StringNullableListFilter<"Integration">
|
|
@@ -23271,6 +23305,7 @@ export namespace Prisma {
|
|
|
23271
23305
|
name?: string | null
|
|
23272
23306
|
moduleName?: string | null
|
|
23273
23307
|
externalId?: string | null
|
|
23308
|
+
organizationId?: string | null
|
|
23274
23309
|
data?: InputJsonValue
|
|
23275
23310
|
createdAt?: Date | string
|
|
23276
23311
|
updatedAt?: Date | string
|
|
@@ -23289,6 +23324,7 @@ export namespace Prisma {
|
|
|
23289
23324
|
name?: string | null
|
|
23290
23325
|
moduleName?: string | null
|
|
23291
23326
|
externalId?: string | null
|
|
23327
|
+
organizationId?: string | null
|
|
23292
23328
|
data?: InputJsonValue
|
|
23293
23329
|
createdAt?: Date | string
|
|
23294
23330
|
updatedAt?: Date | string
|
|
@@ -23304,6 +23340,7 @@ export namespace Prisma {
|
|
|
23304
23340
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23305
23341
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23306
23342
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23343
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23307
23344
|
data?: InputJsonValue | InputJsonValue
|
|
23308
23345
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
23309
23346
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -23321,6 +23358,7 @@ export namespace Prisma {
|
|
|
23321
23358
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23322
23359
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23323
23360
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23361
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23324
23362
|
data?: InputJsonValue | InputJsonValue
|
|
23325
23363
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
23326
23364
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -23339,6 +23377,7 @@ export namespace Prisma {
|
|
|
23339
23377
|
name?: string | null
|
|
23340
23378
|
moduleName?: string | null
|
|
23341
23379
|
externalId?: string | null
|
|
23380
|
+
organizationId?: string | null
|
|
23342
23381
|
data?: InputJsonValue
|
|
23343
23382
|
createdAt?: Date | string
|
|
23344
23383
|
updatedAt?: Date | string
|
|
@@ -23350,6 +23389,7 @@ export namespace Prisma {
|
|
|
23350
23389
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23351
23390
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23352
23391
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23392
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23353
23393
|
data?: InputJsonValue | InputJsonValue
|
|
23354
23394
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
23355
23395
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -23361,6 +23401,7 @@ export namespace Prisma {
|
|
|
23361
23401
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23362
23402
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23363
23403
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23404
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23364
23405
|
data?: InputJsonValue | InputJsonValue
|
|
23365
23406
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
23366
23407
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -23371,6 +23412,7 @@ export namespace Prisma {
|
|
|
23371
23412
|
export type IntegrationCreateInput = {
|
|
23372
23413
|
id?: string
|
|
23373
23414
|
status?: $Enums.IntegrationStatus
|
|
23415
|
+
organizationId?: string | null
|
|
23374
23416
|
config?: InputJsonValue | null
|
|
23375
23417
|
version?: string | null
|
|
23376
23418
|
errors?: InputJsonValue
|
|
@@ -23391,6 +23433,7 @@ export namespace Prisma {
|
|
|
23391
23433
|
id?: string
|
|
23392
23434
|
userId?: string | null
|
|
23393
23435
|
status?: $Enums.IntegrationStatus
|
|
23436
|
+
organizationId?: string | null
|
|
23394
23437
|
config?: InputJsonValue | null
|
|
23395
23438
|
version?: string | null
|
|
23396
23439
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -23409,6 +23452,7 @@ export namespace Prisma {
|
|
|
23409
23452
|
|
|
23410
23453
|
export type IntegrationUpdateInput = {
|
|
23411
23454
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
23455
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23412
23456
|
config?: InputJsonValue | InputJsonValue | null
|
|
23413
23457
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23414
23458
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -23428,6 +23472,7 @@ export namespace Prisma {
|
|
|
23428
23472
|
export type IntegrationUncheckedUpdateInput = {
|
|
23429
23473
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23430
23474
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
23475
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23431
23476
|
config?: InputJsonValue | InputJsonValue | null
|
|
23432
23477
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23433
23478
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -23448,6 +23493,7 @@ export namespace Prisma {
|
|
|
23448
23493
|
id?: string
|
|
23449
23494
|
userId?: string | null
|
|
23450
23495
|
status?: $Enums.IntegrationStatus
|
|
23496
|
+
organizationId?: string | null
|
|
23451
23497
|
config?: InputJsonValue | null
|
|
23452
23498
|
version?: string | null
|
|
23453
23499
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -23461,6 +23507,7 @@ export namespace Prisma {
|
|
|
23461
23507
|
|
|
23462
23508
|
export type IntegrationUpdateManyMutationInput = {
|
|
23463
23509
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
23510
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23464
23511
|
config?: InputJsonValue | InputJsonValue | null
|
|
23465
23512
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23466
23513
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -23474,6 +23521,7 @@ export namespace Prisma {
|
|
|
23474
23521
|
export type IntegrationUncheckedUpdateManyInput = {
|
|
23475
23522
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23476
23523
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
23524
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23477
23525
|
config?: InputJsonValue | InputJsonValue | null
|
|
23478
23526
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
23479
23527
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -24733,6 +24781,7 @@ export namespace Prisma {
|
|
|
24733
24781
|
name?: SortOrder
|
|
24734
24782
|
moduleName?: SortOrder
|
|
24735
24783
|
externalId?: SortOrder
|
|
24784
|
+
organizationId?: SortOrder
|
|
24736
24785
|
data?: SortOrder
|
|
24737
24786
|
createdAt?: SortOrder
|
|
24738
24787
|
updatedAt?: SortOrder
|
|
@@ -24747,6 +24796,7 @@ export namespace Prisma {
|
|
|
24747
24796
|
name?: SortOrder
|
|
24748
24797
|
moduleName?: SortOrder
|
|
24749
24798
|
externalId?: SortOrder
|
|
24799
|
+
organizationId?: SortOrder
|
|
24750
24800
|
createdAt?: SortOrder
|
|
24751
24801
|
updatedAt?: SortOrder
|
|
24752
24802
|
}
|
|
@@ -24758,6 +24808,7 @@ export namespace Prisma {
|
|
|
24758
24808
|
name?: SortOrder
|
|
24759
24809
|
moduleName?: SortOrder
|
|
24760
24810
|
externalId?: SortOrder
|
|
24811
|
+
organizationId?: SortOrder
|
|
24761
24812
|
createdAt?: SortOrder
|
|
24762
24813
|
updatedAt?: SortOrder
|
|
24763
24814
|
}
|
|
@@ -24805,6 +24856,7 @@ export namespace Prisma {
|
|
|
24805
24856
|
id?: SortOrder
|
|
24806
24857
|
userId?: SortOrder
|
|
24807
24858
|
status?: SortOrder
|
|
24859
|
+
organizationId?: SortOrder
|
|
24808
24860
|
config?: SortOrder
|
|
24809
24861
|
version?: SortOrder
|
|
24810
24862
|
entityIds?: SortOrder
|
|
@@ -24820,6 +24872,7 @@ export namespace Prisma {
|
|
|
24820
24872
|
id?: SortOrder
|
|
24821
24873
|
userId?: SortOrder
|
|
24822
24874
|
status?: SortOrder
|
|
24875
|
+
organizationId?: SortOrder
|
|
24823
24876
|
version?: SortOrder
|
|
24824
24877
|
createdAt?: SortOrder
|
|
24825
24878
|
updatedAt?: SortOrder
|
|
@@ -24829,6 +24882,7 @@ export namespace Prisma {
|
|
|
24829
24882
|
id?: SortOrder
|
|
24830
24883
|
userId?: SortOrder
|
|
24831
24884
|
status?: SortOrder
|
|
24885
|
+
organizationId?: SortOrder
|
|
24832
24886
|
version?: SortOrder
|
|
24833
24887
|
createdAt?: SortOrder
|
|
24834
24888
|
updatedAt?: SortOrder
|
|
@@ -27078,6 +27132,7 @@ export namespace Prisma {
|
|
|
27078
27132
|
name?: string | null
|
|
27079
27133
|
moduleName?: string | null
|
|
27080
27134
|
externalId?: string | null
|
|
27135
|
+
organizationId?: string | null
|
|
27081
27136
|
data?: InputJsonValue
|
|
27082
27137
|
createdAt?: Date | string
|
|
27083
27138
|
updatedAt?: Date | string
|
|
@@ -27094,6 +27149,7 @@ export namespace Prisma {
|
|
|
27094
27149
|
name?: string | null
|
|
27095
27150
|
moduleName?: string | null
|
|
27096
27151
|
externalId?: string | null
|
|
27152
|
+
organizationId?: string | null
|
|
27097
27153
|
data?: InputJsonValue
|
|
27098
27154
|
createdAt?: Date | string
|
|
27099
27155
|
updatedAt?: Date | string
|
|
@@ -27117,6 +27173,7 @@ export namespace Prisma {
|
|
|
27117
27173
|
export type IntegrationCreateWithoutUserInput = {
|
|
27118
27174
|
id?: string
|
|
27119
27175
|
status?: $Enums.IntegrationStatus
|
|
27176
|
+
organizationId?: string | null
|
|
27120
27177
|
config?: InputJsonValue | null
|
|
27121
27178
|
version?: string | null
|
|
27122
27179
|
errors?: InputJsonValue
|
|
@@ -27135,6 +27192,7 @@ export namespace Prisma {
|
|
|
27135
27192
|
export type IntegrationUncheckedCreateWithoutUserInput = {
|
|
27136
27193
|
id?: string
|
|
27137
27194
|
status?: $Enums.IntegrationStatus
|
|
27195
|
+
organizationId?: string | null
|
|
27138
27196
|
config?: InputJsonValue | null
|
|
27139
27197
|
version?: string | null
|
|
27140
27198
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -27409,6 +27467,7 @@ export namespace Prisma {
|
|
|
27409
27467
|
name?: StringNullableFilter<"Entity"> | string | null
|
|
27410
27468
|
moduleName?: StringNullableFilter<"Entity"> | string | null
|
|
27411
27469
|
externalId?: StringNullableFilter<"Entity"> | string | null
|
|
27470
|
+
organizationId?: StringNullableFilter<"Entity"> | string | null
|
|
27412
27471
|
data?: JsonFilter<"Entity">
|
|
27413
27472
|
createdAt?: DateTimeFilter<"Entity"> | Date | string
|
|
27414
27473
|
updatedAt?: DateTimeFilter<"Entity"> | Date | string
|
|
@@ -27439,6 +27498,7 @@ export namespace Prisma {
|
|
|
27439
27498
|
id?: StringFilter<"Integration"> | string
|
|
27440
27499
|
userId?: StringNullableFilter<"Integration"> | string | null
|
|
27441
27500
|
status?: EnumIntegrationStatusFilter<"Integration"> | $Enums.IntegrationStatus
|
|
27501
|
+
organizationId?: StringNullableFilter<"Integration"> | string | null
|
|
27442
27502
|
config?: JsonNullableFilter<"Integration">
|
|
27443
27503
|
version?: StringNullableFilter<"Integration"> | string | null
|
|
27444
27504
|
entityIds?: StringNullableListFilter<"Integration">
|
|
@@ -27677,6 +27737,7 @@ export namespace Prisma {
|
|
|
27677
27737
|
name?: string | null
|
|
27678
27738
|
moduleName?: string | null
|
|
27679
27739
|
externalId?: string | null
|
|
27740
|
+
organizationId?: string | null
|
|
27680
27741
|
data?: InputJsonValue
|
|
27681
27742
|
createdAt?: Date | string
|
|
27682
27743
|
updatedAt?: Date | string
|
|
@@ -27693,6 +27754,7 @@ export namespace Prisma {
|
|
|
27693
27754
|
name?: string | null
|
|
27694
27755
|
moduleName?: string | null
|
|
27695
27756
|
externalId?: string | null
|
|
27757
|
+
organizationId?: string | null
|
|
27696
27758
|
data?: InputJsonValue
|
|
27697
27759
|
createdAt?: Date | string
|
|
27698
27760
|
updatedAt?: Date | string
|
|
@@ -27855,6 +27917,7 @@ export namespace Prisma {
|
|
|
27855
27917
|
export type IntegrationCreateWithoutEntitiesInput = {
|
|
27856
27918
|
id?: string
|
|
27857
27919
|
status?: $Enums.IntegrationStatus
|
|
27920
|
+
organizationId?: string | null
|
|
27858
27921
|
config?: InputJsonValue | null
|
|
27859
27922
|
version?: string | null
|
|
27860
27923
|
errors?: InputJsonValue
|
|
@@ -27874,6 +27937,7 @@ export namespace Prisma {
|
|
|
27874
27937
|
id?: string
|
|
27875
27938
|
userId?: string | null
|
|
27876
27939
|
status?: $Enums.IntegrationStatus
|
|
27940
|
+
organizationId?: string | null
|
|
27877
27941
|
config?: InputJsonValue | null
|
|
27878
27942
|
version?: string | null
|
|
27879
27943
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -28194,6 +28258,7 @@ export namespace Prisma {
|
|
|
28194
28258
|
name?: string | null
|
|
28195
28259
|
moduleName?: string | null
|
|
28196
28260
|
externalId?: string | null
|
|
28261
|
+
organizationId?: string | null
|
|
28197
28262
|
data?: InputJsonValue
|
|
28198
28263
|
createdAt?: Date | string
|
|
28199
28264
|
updatedAt?: Date | string
|
|
@@ -28211,6 +28276,7 @@ export namespace Prisma {
|
|
|
28211
28276
|
name?: string | null
|
|
28212
28277
|
moduleName?: string | null
|
|
28213
28278
|
externalId?: string | null
|
|
28279
|
+
organizationId?: string | null
|
|
28214
28280
|
data?: InputJsonValue
|
|
28215
28281
|
createdAt?: Date | string
|
|
28216
28282
|
updatedAt?: Date | string
|
|
@@ -28496,6 +28562,7 @@ export namespace Prisma {
|
|
|
28496
28562
|
export type IntegrationCreateWithoutMappingsInput = {
|
|
28497
28563
|
id?: string
|
|
28498
28564
|
status?: $Enums.IntegrationStatus
|
|
28565
|
+
organizationId?: string | null
|
|
28499
28566
|
config?: InputJsonValue | null
|
|
28500
28567
|
version?: string | null
|
|
28501
28568
|
errors?: InputJsonValue
|
|
@@ -28515,6 +28582,7 @@ export namespace Prisma {
|
|
|
28515
28582
|
id?: string
|
|
28516
28583
|
userId?: string | null
|
|
28517
28584
|
status?: $Enums.IntegrationStatus
|
|
28585
|
+
organizationId?: string | null
|
|
28518
28586
|
config?: InputJsonValue | null
|
|
28519
28587
|
version?: string | null
|
|
28520
28588
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -28548,6 +28616,7 @@ export namespace Prisma {
|
|
|
28548
28616
|
|
|
28549
28617
|
export type IntegrationUpdateWithoutMappingsInput = {
|
|
28550
28618
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
28619
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28551
28620
|
config?: InputJsonValue | InputJsonValue | null
|
|
28552
28621
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28553
28622
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -28566,6 +28635,7 @@ export namespace Prisma {
|
|
|
28566
28635
|
export type IntegrationUncheckedUpdateWithoutMappingsInput = {
|
|
28567
28636
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28568
28637
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
28638
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28569
28639
|
config?: InputJsonValue | InputJsonValue | null
|
|
28570
28640
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28571
28641
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -28631,6 +28701,7 @@ export namespace Prisma {
|
|
|
28631
28701
|
export type IntegrationCreateWithoutProcessesInput = {
|
|
28632
28702
|
id?: string
|
|
28633
28703
|
status?: $Enums.IntegrationStatus
|
|
28704
|
+
organizationId?: string | null
|
|
28634
28705
|
config?: InputJsonValue | null
|
|
28635
28706
|
version?: string | null
|
|
28636
28707
|
errors?: InputJsonValue
|
|
@@ -28650,6 +28721,7 @@ export namespace Prisma {
|
|
|
28650
28721
|
id?: string
|
|
28651
28722
|
userId?: string | null
|
|
28652
28723
|
status?: $Enums.IntegrationStatus
|
|
28724
|
+
organizationId?: string | null
|
|
28653
28725
|
config?: InputJsonValue | null
|
|
28654
28726
|
version?: string | null
|
|
28655
28727
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -28734,6 +28806,7 @@ export namespace Prisma {
|
|
|
28734
28806
|
|
|
28735
28807
|
export type IntegrationUpdateWithoutProcessesInput = {
|
|
28736
28808
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
28809
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28737
28810
|
config?: InputJsonValue | InputJsonValue | null
|
|
28738
28811
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28739
28812
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -28752,6 +28825,7 @@ export namespace Prisma {
|
|
|
28752
28825
|
export type IntegrationUncheckedUpdateWithoutProcessesInput = {
|
|
28753
28826
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28754
28827
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
28828
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28755
28829
|
config?: InputJsonValue | InputJsonValue | null
|
|
28756
28830
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28757
28831
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -28770,6 +28844,7 @@ export namespace Prisma {
|
|
|
28770
28844
|
export type IntegrationCreateWithoutSyncsInput = {
|
|
28771
28845
|
id?: string
|
|
28772
28846
|
status?: $Enums.IntegrationStatus
|
|
28847
|
+
organizationId?: string | null
|
|
28773
28848
|
config?: InputJsonValue | null
|
|
28774
28849
|
version?: string | null
|
|
28775
28850
|
errors?: InputJsonValue
|
|
@@ -28789,6 +28864,7 @@ export namespace Prisma {
|
|
|
28789
28864
|
id?: string
|
|
28790
28865
|
userId?: string | null
|
|
28791
28866
|
status?: $Enums.IntegrationStatus
|
|
28867
|
+
organizationId?: string | null
|
|
28792
28868
|
config?: InputJsonValue | null
|
|
28793
28869
|
version?: string | null
|
|
28794
28870
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -28814,6 +28890,7 @@ export namespace Prisma {
|
|
|
28814
28890
|
name?: string | null
|
|
28815
28891
|
moduleName?: string | null
|
|
28816
28892
|
externalId?: string | null
|
|
28893
|
+
organizationId?: string | null
|
|
28817
28894
|
data?: InputJsonValue
|
|
28818
28895
|
createdAt?: Date | string
|
|
28819
28896
|
updatedAt?: Date | string
|
|
@@ -28831,6 +28908,7 @@ export namespace Prisma {
|
|
|
28831
28908
|
name?: string | null
|
|
28832
28909
|
moduleName?: string | null
|
|
28833
28910
|
externalId?: string | null
|
|
28911
|
+
organizationId?: string | null
|
|
28834
28912
|
data?: InputJsonValue
|
|
28835
28913
|
createdAt?: Date | string
|
|
28836
28914
|
updatedAt?: Date | string
|
|
@@ -28882,6 +28960,7 @@ export namespace Prisma {
|
|
|
28882
28960
|
|
|
28883
28961
|
export type IntegrationUpdateWithoutSyncsInput = {
|
|
28884
28962
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
28963
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28885
28964
|
config?: InputJsonValue | InputJsonValue | null
|
|
28886
28965
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28887
28966
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -28900,6 +28979,7 @@ export namespace Prisma {
|
|
|
28900
28979
|
export type IntegrationUncheckedUpdateWithoutSyncsInput = {
|
|
28901
28980
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28902
28981
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
28982
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28903
28983
|
config?: InputJsonValue | InputJsonValue | null
|
|
28904
28984
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
28905
28985
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -28974,6 +29054,7 @@ export namespace Prisma {
|
|
|
28974
29054
|
name?: string | null
|
|
28975
29055
|
moduleName?: string | null
|
|
28976
29056
|
externalId?: string | null
|
|
29057
|
+
organizationId?: string | null
|
|
28977
29058
|
data?: InputJsonValue
|
|
28978
29059
|
createdAt?: Date | string
|
|
28979
29060
|
updatedAt?: Date | string
|
|
@@ -28991,6 +29072,7 @@ export namespace Prisma {
|
|
|
28991
29072
|
name?: string | null
|
|
28992
29073
|
moduleName?: string | null
|
|
28993
29074
|
externalId?: string | null
|
|
29075
|
+
organizationId?: string | null
|
|
28994
29076
|
data?: InputJsonValue
|
|
28995
29077
|
createdAt?: Date | string
|
|
28996
29078
|
updatedAt?: Date | string
|
|
@@ -29047,6 +29129,7 @@ export namespace Prisma {
|
|
|
29047
29129
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29048
29130
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29049
29131
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29132
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29050
29133
|
data?: InputJsonValue | InputJsonValue
|
|
29051
29134
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29052
29135
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29063,6 +29146,7 @@ export namespace Prisma {
|
|
|
29063
29146
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29064
29147
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29065
29148
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29149
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29066
29150
|
data?: InputJsonValue | InputJsonValue
|
|
29067
29151
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29068
29152
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29076,6 +29160,7 @@ export namespace Prisma {
|
|
|
29076
29160
|
export type IntegrationCreateWithoutAssociationsInput = {
|
|
29077
29161
|
id?: string
|
|
29078
29162
|
status?: $Enums.IntegrationStatus
|
|
29163
|
+
organizationId?: string | null
|
|
29079
29164
|
config?: InputJsonValue | null
|
|
29080
29165
|
version?: string | null
|
|
29081
29166
|
errors?: InputJsonValue
|
|
@@ -29095,6 +29180,7 @@ export namespace Prisma {
|
|
|
29095
29180
|
id?: string
|
|
29096
29181
|
userId?: string | null
|
|
29097
29182
|
status?: $Enums.IntegrationStatus
|
|
29183
|
+
organizationId?: string | null
|
|
29098
29184
|
config?: InputJsonValue | null
|
|
29099
29185
|
version?: string | null
|
|
29100
29186
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -29153,6 +29239,7 @@ export namespace Prisma {
|
|
|
29153
29239
|
|
|
29154
29240
|
export type IntegrationUpdateWithoutAssociationsInput = {
|
|
29155
29241
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
29242
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29156
29243
|
config?: InputJsonValue | InputJsonValue | null
|
|
29157
29244
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29158
29245
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -29171,6 +29258,7 @@ export namespace Prisma {
|
|
|
29171
29258
|
export type IntegrationUncheckedUpdateWithoutAssociationsInput = {
|
|
29172
29259
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29173
29260
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
29261
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29174
29262
|
config?: InputJsonValue | InputJsonValue | null
|
|
29175
29263
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29176
29264
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -29228,6 +29316,7 @@ export namespace Prisma {
|
|
|
29228
29316
|
name?: string | null
|
|
29229
29317
|
moduleName?: string | null
|
|
29230
29318
|
externalId?: string | null
|
|
29319
|
+
organizationId?: string | null
|
|
29231
29320
|
data?: InputJsonValue
|
|
29232
29321
|
createdAt?: Date | string
|
|
29233
29322
|
updatedAt?: Date | string
|
|
@@ -29245,6 +29334,7 @@ export namespace Prisma {
|
|
|
29245
29334
|
name?: string | null
|
|
29246
29335
|
moduleName?: string | null
|
|
29247
29336
|
externalId?: string | null
|
|
29337
|
+
organizationId?: string | null
|
|
29248
29338
|
data?: InputJsonValue
|
|
29249
29339
|
createdAt?: Date | string
|
|
29250
29340
|
updatedAt?: Date | string
|
|
@@ -29300,6 +29390,7 @@ export namespace Prisma {
|
|
|
29300
29390
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29301
29391
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29302
29392
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29393
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29303
29394
|
data?: InputJsonValue | InputJsonValue
|
|
29304
29395
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29305
29396
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29316,6 +29407,7 @@ export namespace Prisma {
|
|
|
29316
29407
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29317
29408
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29318
29409
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29410
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29319
29411
|
data?: InputJsonValue | InputJsonValue
|
|
29320
29412
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29321
29413
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29557,6 +29649,7 @@ export namespace Prisma {
|
|
|
29557
29649
|
name?: string | null
|
|
29558
29650
|
moduleName?: string | null
|
|
29559
29651
|
externalId?: string | null
|
|
29652
|
+
organizationId?: string | null
|
|
29560
29653
|
data?: InputJsonValue
|
|
29561
29654
|
createdAt?: Date | string
|
|
29562
29655
|
updatedAt?: Date | string
|
|
@@ -29567,6 +29660,7 @@ export namespace Prisma {
|
|
|
29567
29660
|
export type IntegrationCreateManyUserInput = {
|
|
29568
29661
|
id?: string
|
|
29569
29662
|
status?: $Enums.IntegrationStatus
|
|
29663
|
+
organizationId?: string | null
|
|
29570
29664
|
config?: InputJsonValue | null
|
|
29571
29665
|
version?: string | null
|
|
29572
29666
|
entityIds?: IntegrationCreateentityIdsInput | string[]
|
|
@@ -29706,6 +29800,7 @@ export namespace Prisma {
|
|
|
29706
29800
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29707
29801
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29708
29802
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29803
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29709
29804
|
data?: InputJsonValue | InputJsonValue
|
|
29710
29805
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29711
29806
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29721,6 +29816,7 @@ export namespace Prisma {
|
|
|
29721
29816
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29722
29817
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29723
29818
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29819
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29724
29820
|
data?: InputJsonValue | InputJsonValue
|
|
29725
29821
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29726
29822
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29737,6 +29833,7 @@ export namespace Prisma {
|
|
|
29737
29833
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29738
29834
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29739
29835
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29836
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29740
29837
|
data?: InputJsonValue | InputJsonValue
|
|
29741
29838
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29742
29839
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29746,6 +29843,7 @@ export namespace Prisma {
|
|
|
29746
29843
|
|
|
29747
29844
|
export type IntegrationUpdateWithoutUserInput = {
|
|
29748
29845
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
29846
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29749
29847
|
config?: InputJsonValue | InputJsonValue | null
|
|
29750
29848
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29751
29849
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -29763,6 +29861,7 @@ export namespace Prisma {
|
|
|
29763
29861
|
|
|
29764
29862
|
export type IntegrationUncheckedUpdateWithoutUserInput = {
|
|
29765
29863
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
29864
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29766
29865
|
config?: InputJsonValue | InputJsonValue | null
|
|
29767
29866
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29768
29867
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -29781,6 +29880,7 @@ export namespace Prisma {
|
|
|
29781
29880
|
|
|
29782
29881
|
export type IntegrationUncheckedUpdateManyWithoutUserInput = {
|
|
29783
29882
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
29883
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29784
29884
|
config?: InputJsonValue | InputJsonValue | null
|
|
29785
29885
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29786
29886
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -29873,6 +29973,7 @@ export namespace Prisma {
|
|
|
29873
29973
|
name?: string | null
|
|
29874
29974
|
moduleName?: string | null
|
|
29875
29975
|
externalId?: string | null
|
|
29976
|
+
organizationId?: string | null
|
|
29876
29977
|
data?: InputJsonValue
|
|
29877
29978
|
createdAt?: Date | string
|
|
29878
29979
|
updatedAt?: Date | string
|
|
@@ -29884,6 +29985,7 @@ export namespace Prisma {
|
|
|
29884
29985
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29885
29986
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29886
29987
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29988
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29887
29989
|
data?: InputJsonValue | InputJsonValue
|
|
29888
29990
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29889
29991
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29899,6 +30001,7 @@ export namespace Prisma {
|
|
|
29899
30001
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29900
30002
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29901
30003
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30004
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29902
30005
|
data?: InputJsonValue | InputJsonValue
|
|
29903
30006
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29904
30007
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29915,6 +30018,7 @@ export namespace Prisma {
|
|
|
29915
30018
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29916
30019
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29917
30020
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30021
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29918
30022
|
data?: InputJsonValue | InputJsonValue
|
|
29919
30023
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
29920
30024
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -29939,6 +30043,7 @@ export namespace Prisma {
|
|
|
29939
30043
|
|
|
29940
30044
|
export type IntegrationUpdateWithoutEntitiesInput = {
|
|
29941
30045
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
30046
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29942
30047
|
config?: InputJsonValue | InputJsonValue | null
|
|
29943
30048
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29944
30049
|
errors?: InputJsonValue | InputJsonValue
|
|
@@ -29957,6 +30062,7 @@ export namespace Prisma {
|
|
|
29957
30062
|
export type IntegrationUncheckedUpdateWithoutEntitiesInput = {
|
|
29958
30063
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29959
30064
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
30065
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29960
30066
|
config?: InputJsonValue | InputJsonValue | null
|
|
29961
30067
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29962
30068
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -29975,6 +30081,7 @@ export namespace Prisma {
|
|
|
29975
30081
|
export type IntegrationUncheckedUpdateManyWithoutEntitiesInput = {
|
|
29976
30082
|
userId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29977
30083
|
status?: EnumIntegrationStatusFieldUpdateOperationsInput | $Enums.IntegrationStatus
|
|
30084
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29978
30085
|
config?: InputJsonValue | InputJsonValue | null
|
|
29979
30086
|
version?: NullableStringFieldUpdateOperationsInput | string | null
|
|
29980
30087
|
entityIds?: IntegrationUpdateentityIdsInput | string[]
|
|
@@ -30087,6 +30194,7 @@ export namespace Prisma {
|
|
|
30087
30194
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30088
30195
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30089
30196
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30197
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30090
30198
|
data?: InputJsonValue | InputJsonValue
|
|
30091
30199
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30092
30200
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -30103,6 +30211,7 @@ export namespace Prisma {
|
|
|
30103
30211
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30104
30212
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30105
30213
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30214
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30106
30215
|
data?: InputJsonValue | InputJsonValue
|
|
30107
30216
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30108
30217
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -30119,6 +30228,7 @@ export namespace Prisma {
|
|
|
30119
30228
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30120
30229
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30121
30230
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30231
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30122
30232
|
data?: InputJsonValue | InputJsonValue
|
|
30123
30233
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30124
30234
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -30238,6 +30348,7 @@ export namespace Prisma {
|
|
|
30238
30348
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30239
30349
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30240
30350
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30351
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30241
30352
|
data?: InputJsonValue | InputJsonValue
|
|
30242
30353
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30243
30354
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -30254,6 +30365,7 @@ export namespace Prisma {
|
|
|
30254
30365
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30255
30366
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30256
30367
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30368
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30257
30369
|
data?: InputJsonValue | InputJsonValue
|
|
30258
30370
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30259
30371
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -30270,6 +30382,7 @@ export namespace Prisma {
|
|
|
30270
30382
|
name?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30271
30383
|
moduleName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30272
30384
|
externalId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30385
|
+
organizationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
30273
30386
|
data?: InputJsonValue | InputJsonValue
|
|
30274
30387
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
30275
30388
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|