@shophost/rest-api 2.0.46 → 2.0.47

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.
Files changed (72) hide show
  1. package/README.md +2 -7
  2. package/package.json +1 -1
  3. package/schema.prisma +14 -0
  4. package/src/app.d.ts +3 -1
  5. package/src/app.js +1 -1
  6. package/src/app.js.map +1 -1
  7. package/src/core/db/__generated__/client/browser.d.ts +5 -0
  8. package/src/core/db/__generated__/client/client.d.ts +5 -0
  9. package/src/core/db/__generated__/client/commonInputTypes.d.ts +54 -54
  10. package/src/core/db/__generated__/client/internal/class.d.ts +11 -0
  11. package/src/core/db/__generated__/client/internal/class.js +16 -2
  12. package/src/core/db/__generated__/client/internal/class.js.map +1 -1
  13. package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +99 -13
  14. package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -1
  15. package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -1
  16. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -4
  17. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -1
  18. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -1
  19. package/src/core/db/__generated__/client/models/Integration.d.ts +1240 -0
  20. package/src/core/db/__generated__/client/models/Integration.js +1 -0
  21. package/src/core/db/__generated__/client/models/Integration.js.map +1 -0
  22. package/src/core/db/__generated__/client/models/Organization.d.ts +235 -0
  23. package/src/core/db/__generated__/client/models.d.ts +1 -0
  24. package/src/core/lib/prisma.d.ts +24 -0
  25. package/src/core/notifications/notification-options.d.ts +3 -0
  26. package/src/core/notifications/notification-options.js +1 -0
  27. package/src/core/notifications/notification-options.js.map +1 -0
  28. package/src/features/index.d.ts +1 -0
  29. package/src/features/index.js +1 -1
  30. package/src/features/index.js.map +1 -1
  31. package/src/features/integration/integration.handler.d.ts +2 -0
  32. package/src/features/integration/integration.handler.js +1 -0
  33. package/src/features/integration/integration.handler.js.map +1 -0
  34. package/src/features/integration/integration.route.d.ts +212 -0
  35. package/src/features/integration/integration.route.js +1 -0
  36. package/src/features/integration/integration.route.js.map +1 -0
  37. package/src/features/integration/integration.schema.d.ts +44 -0
  38. package/src/features/integration/integration.schema.js +1 -0
  39. package/src/features/integration/integration.schema.js.map +1 -0
  40. package/src/features/integration/integration.service.d.ts +30 -0
  41. package/src/features/integration/integration.service.js +1 -0
  42. package/src/features/integration/integration.service.js.map +1 -0
  43. package/src/features/order/order.handler.d.ts +2 -1
  44. package/src/features/order/order.handler.js +1 -1
  45. package/src/features/order/order.handler.js.map +1 -1
  46. package/src/features/order/order.service.d.ts +3 -1
  47. package/src/features/order/order.service.js +1 -1
  48. package/src/features/order/order.service.js.map +1 -1
  49. package/src/features/organization/organization.service.js +1 -1
  50. package/src/features/organization/organization.service.js.map +1 -1
  51. package/src/features/payment/payment.handler.js +1 -1
  52. package/src/features/payment/payment.handler.js.map +1 -1
  53. package/src/features/payment/payment.service.d.ts +12 -7
  54. package/src/features/payment/payment.service.js +1 -1
  55. package/src/features/payment/payment.service.js.map +1 -1
  56. package/src/features/payment/stripe.service.d.ts +1 -1
  57. package/src/features/payment/stripe.service.js +1 -1
  58. package/src/features/payment/stripe.service.js.map +1 -1
  59. package/src/features/webhook/webhook.handler.d.ts +2 -1
  60. package/src/features/webhook/webhook.handler.js +1 -1
  61. package/src/features/webhook/webhook.handler.js.map +1 -1
  62. package/src/features/webhook/webhook.route.d.ts +64 -0
  63. package/src/features/webhook/webhook.route.js +1 -1
  64. package/src/features/webhook/webhook.route.js.map +1 -1
  65. package/src/index.d.ts +1 -0
  66. package/src/index.js.map +1 -1
  67. package/src/integrations/next.d.ts +3 -1
  68. package/src/integrations/next.js +1 -1
  69. package/src/integrations/next.js.map +1 -1
  70. package/src/schemas/index.d.ts +1 -0
  71. package/src/schemas/index.js +1 -1
  72. package/src/schemas/index.js.map +1 -1
@@ -231,6 +231,7 @@ export type OrganizationWhereInput = {
231
231
  configuration?: Prisma.XOR<Prisma.OrganizationConfigurationScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput>;
232
232
  logoFile?: Prisma.XOR<Prisma.FileNullableScalarRelationFilter, Prisma.FileWhereInput> | null;
233
233
  files?: Prisma.FileListRelationFilter;
234
+ integrations?: Prisma.IntegrationListRelationFilter;
234
235
  members?: Prisma.MemberListRelationFilter;
235
236
  invitations?: Prisma.InvitationListRelationFilter;
236
237
  orders?: Prisma.OrderListRelationFilter;
@@ -263,6 +264,7 @@ export type OrganizationOrderByWithRelationInput = {
263
264
  configuration?: Prisma.OrganizationConfigurationOrderByWithRelationInput;
264
265
  logoFile?: Prisma.FileOrderByWithRelationInput;
265
266
  files?: Prisma.FileOrderByRelationAggregateInput;
267
+ integrations?: Prisma.IntegrationOrderByRelationAggregateInput;
266
268
  members?: Prisma.MemberOrderByRelationAggregateInput;
267
269
  invitations?: Prisma.InvitationOrderByRelationAggregateInput;
268
270
  orders?: Prisma.OrderOrderByRelationAggregateInput;
@@ -298,6 +300,7 @@ export type OrganizationWhereUniqueInput = Prisma.AtLeast<{
298
300
  configuration?: Prisma.XOR<Prisma.OrganizationConfigurationScalarRelationFilter, Prisma.OrganizationConfigurationWhereInput>;
299
301
  logoFile?: Prisma.XOR<Prisma.FileNullableScalarRelationFilter, Prisma.FileWhereInput> | null;
300
302
  files?: Prisma.FileListRelationFilter;
303
+ integrations?: Prisma.IntegrationListRelationFilter;
301
304
  members?: Prisma.MemberListRelationFilter;
302
305
  invitations?: Prisma.InvitationListRelationFilter;
303
306
  orders?: Prisma.OrderListRelationFilter;
@@ -368,6 +371,7 @@ export type OrganizationCreateInput = {
368
371
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
369
372
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
370
373
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
374
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
371
375
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
372
376
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
373
377
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -396,6 +400,7 @@ export type OrganizationUncheckedCreateInput = {
396
400
  deletedAt?: Date | string | null;
397
401
  deletedBy?: string | null;
398
402
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
403
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
399
404
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
400
405
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
401
406
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -424,6 +429,7 @@ export type OrganizationUpdateInput = {
424
429
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
425
430
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
426
431
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
432
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
427
433
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
428
434
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
429
435
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -452,6 +458,7 @@ export type OrganizationUncheckedUpdateInput = {
452
458
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
453
459
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
454
460
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
461
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
455
462
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
456
463
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
457
464
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -644,6 +651,18 @@ export type OrganizationUncheckedUpdateManyWithoutConfigurationNestedInput = {
644
651
  updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutConfigurationInput | Prisma.OrganizationUpdateManyWithWhereWithoutConfigurationInput[];
645
652
  deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
646
653
  };
654
+ export type OrganizationCreateNestedOneWithoutIntegrationsInput = {
655
+ create?: Prisma.XOR<Prisma.OrganizationCreateWithoutIntegrationsInput, Prisma.OrganizationUncheckedCreateWithoutIntegrationsInput>;
656
+ connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutIntegrationsInput;
657
+ connect?: Prisma.OrganizationWhereUniqueInput;
658
+ };
659
+ export type OrganizationUpdateOneRequiredWithoutIntegrationsNestedInput = {
660
+ create?: Prisma.XOR<Prisma.OrganizationCreateWithoutIntegrationsInput, Prisma.OrganizationUncheckedCreateWithoutIntegrationsInput>;
661
+ connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutIntegrationsInput;
662
+ upsert?: Prisma.OrganizationUpsertWithoutIntegrationsInput;
663
+ connect?: Prisma.OrganizationWhereUniqueInput;
664
+ update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutIntegrationsInput, Prisma.OrganizationUpdateWithoutIntegrationsInput>, Prisma.OrganizationUncheckedUpdateWithoutIntegrationsInput>;
665
+ };
647
666
  export type OrganizationCreateNestedManyWithoutAddressInput = {
648
667
  create?: Prisma.XOR<Prisma.OrganizationCreateWithoutAddressInput, Prisma.OrganizationUncheckedCreateWithoutAddressInput> | Prisma.OrganizationCreateWithoutAddressInput[] | Prisma.OrganizationUncheckedCreateWithoutAddressInput[];
649
668
  connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutAddressInput | Prisma.OrganizationCreateOrConnectWithoutAddressInput[];
@@ -864,6 +883,7 @@ export type OrganizationCreateWithoutMembersInput = {
864
883
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
865
884
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
866
885
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
886
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
867
887
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
868
888
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
869
889
  campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
@@ -891,6 +911,7 @@ export type OrganizationUncheckedCreateWithoutMembersInput = {
891
911
  deletedAt?: Date | string | null;
892
912
  deletedBy?: string | null;
893
913
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
914
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
894
915
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
895
916
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
896
917
  campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -931,6 +952,7 @@ export type OrganizationUpdateWithoutMembersInput = {
931
952
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
932
953
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
933
954
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
955
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
934
956
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
935
957
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
936
958
  campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
@@ -958,6 +980,7 @@ export type OrganizationUncheckedUpdateWithoutMembersInput = {
958
980
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
959
981
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
960
982
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
983
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
961
984
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
962
985
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
963
986
  campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -985,6 +1008,7 @@ export type OrganizationCreateWithoutInvitationsInput = {
985
1008
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
986
1009
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
987
1010
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1011
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
988
1012
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
989
1013
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
990
1014
  campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
@@ -1012,6 +1036,7 @@ export type OrganizationUncheckedCreateWithoutInvitationsInput = {
1012
1036
  deletedAt?: Date | string | null;
1013
1037
  deletedBy?: string | null;
1014
1038
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1039
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1015
1040
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1016
1041
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
1017
1042
  campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1052,6 +1077,7 @@ export type OrganizationUpdateWithoutInvitationsInput = {
1052
1077
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1053
1078
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
1054
1079
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
1080
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
1055
1081
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1056
1082
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
1057
1083
  campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
@@ -1079,6 +1105,7 @@ export type OrganizationUncheckedUpdateWithoutInvitationsInput = {
1079
1105
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1080
1106
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1081
1107
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
1108
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
1082
1109
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1083
1110
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
1084
1111
  campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -1105,6 +1132,7 @@ export type OrganizationCreateWithoutConfigurationInput = {
1105
1132
  address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
1106
1133
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1107
1134
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1135
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1108
1136
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1109
1137
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1110
1138
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1132,6 +1160,7 @@ export type OrganizationUncheckedCreateWithoutConfigurationInput = {
1132
1160
  deletedAt?: Date | string | null;
1133
1161
  deletedBy?: string | null;
1134
1162
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1163
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1135
1164
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1136
1165
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1137
1166
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1184,6 +1213,131 @@ export type OrganizationScalarWhereInput = {
1184
1213
  deletedAt?: Prisma.DateTimeNullableFilter<"Organization"> | Date | string | null;
1185
1214
  deletedBy?: Prisma.StringNullableFilter<"Organization"> | string | null;
1186
1215
  };
1216
+ export type OrganizationCreateWithoutIntegrationsInput = {
1217
+ id?: string;
1218
+ name: string;
1219
+ slug?: string | null;
1220
+ phone?: string | null;
1221
+ email?: string | null;
1222
+ logo?: string | null;
1223
+ createdAt?: Date | string;
1224
+ createdBy?: string | null;
1225
+ updatedAt?: Date | string;
1226
+ updatedBy?: string | null;
1227
+ deletedAt?: Date | string | null;
1228
+ deletedBy?: string | null;
1229
+ legalEntity?: Prisma.LegalEntityCreateNestedOneWithoutOrganizationsInput;
1230
+ address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
1231
+ configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1232
+ logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1233
+ files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1234
+ members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1235
+ invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1236
+ orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
1237
+ campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
1238
+ shippingMethods?: Prisma.ShippingMethodCreateNestedManyWithoutOrganizationInput;
1239
+ manufacturers?: Prisma.ManufacturerCreateNestedManyWithoutOrganizationInput;
1240
+ productCategories?: Prisma.ProductCategoryCreateNestedManyWithoutOrganizationInput;
1241
+ products?: Prisma.ProductCreateNestedManyWithoutOrganizationInput;
1242
+ reservations?: Prisma.ReservationCreateNestedManyWithoutOrganizationInput;
1243
+ };
1244
+ export type OrganizationUncheckedCreateWithoutIntegrationsInput = {
1245
+ id?: string;
1246
+ name: string;
1247
+ slug?: string | null;
1248
+ phone?: string | null;
1249
+ email?: string | null;
1250
+ legalEntityId?: string | null;
1251
+ addressId: string;
1252
+ configurationId: string;
1253
+ logo?: string | null;
1254
+ logoId?: string | null;
1255
+ createdAt?: Date | string;
1256
+ createdBy?: string | null;
1257
+ updatedAt?: Date | string;
1258
+ updatedBy?: string | null;
1259
+ deletedAt?: Date | string | null;
1260
+ deletedBy?: string | null;
1261
+ files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1262
+ members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1263
+ invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1264
+ orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
1265
+ campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
1266
+ shippingMethods?: Prisma.ShippingMethodUncheckedCreateNestedManyWithoutOrganizationInput;
1267
+ manufacturers?: Prisma.ManufacturerUncheckedCreateNestedManyWithoutOrganizationInput;
1268
+ productCategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutOrganizationInput;
1269
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutOrganizationInput;
1270
+ reservations?: Prisma.ReservationUncheckedCreateNestedManyWithoutOrganizationInput;
1271
+ };
1272
+ export type OrganizationCreateOrConnectWithoutIntegrationsInput = {
1273
+ where: Prisma.OrganizationWhereUniqueInput;
1274
+ create: Prisma.XOR<Prisma.OrganizationCreateWithoutIntegrationsInput, Prisma.OrganizationUncheckedCreateWithoutIntegrationsInput>;
1275
+ };
1276
+ export type OrganizationUpsertWithoutIntegrationsInput = {
1277
+ update: Prisma.XOR<Prisma.OrganizationUpdateWithoutIntegrationsInput, Prisma.OrganizationUncheckedUpdateWithoutIntegrationsInput>;
1278
+ create: Prisma.XOR<Prisma.OrganizationCreateWithoutIntegrationsInput, Prisma.OrganizationUncheckedCreateWithoutIntegrationsInput>;
1279
+ where?: Prisma.OrganizationWhereInput;
1280
+ };
1281
+ export type OrganizationUpdateToOneWithWhereWithoutIntegrationsInput = {
1282
+ where?: Prisma.OrganizationWhereInput;
1283
+ data: Prisma.XOR<Prisma.OrganizationUpdateWithoutIntegrationsInput, Prisma.OrganizationUncheckedUpdateWithoutIntegrationsInput>;
1284
+ };
1285
+ export type OrganizationUpdateWithoutIntegrationsInput = {
1286
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1287
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1288
+ slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1289
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1290
+ email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1291
+ logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1292
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1293
+ createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1294
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1295
+ updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1296
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1297
+ deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1298
+ legalEntity?: Prisma.LegalEntityUpdateOneWithoutOrganizationsNestedInput;
1299
+ address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
1300
+ configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1301
+ logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
1302
+ files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
1303
+ members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1304
+ invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
1305
+ orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
1306
+ campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
1307
+ shippingMethods?: Prisma.ShippingMethodUpdateManyWithoutOrganizationNestedInput;
1308
+ manufacturers?: Prisma.ManufacturerUpdateManyWithoutOrganizationNestedInput;
1309
+ productCategories?: Prisma.ProductCategoryUpdateManyWithoutOrganizationNestedInput;
1310
+ products?: Prisma.ProductUpdateManyWithoutOrganizationNestedInput;
1311
+ reservations?: Prisma.ReservationUpdateManyWithoutOrganizationNestedInput;
1312
+ };
1313
+ export type OrganizationUncheckedUpdateWithoutIntegrationsInput = {
1314
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1315
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1316
+ slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1317
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1318
+ email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1319
+ legalEntityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1320
+ addressId?: Prisma.StringFieldUpdateOperationsInput | string;
1321
+ configurationId?: Prisma.StringFieldUpdateOperationsInput | string;
1322
+ logo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1323
+ logoId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1324
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1325
+ createdBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1326
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1327
+ updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1328
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1329
+ deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1330
+ files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
1331
+ members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1332
+ invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
1333
+ orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
1334
+ campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
1335
+ shippingMethods?: Prisma.ShippingMethodUncheckedUpdateManyWithoutOrganizationNestedInput;
1336
+ manufacturers?: Prisma.ManufacturerUncheckedUpdateManyWithoutOrganizationNestedInput;
1337
+ productCategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutOrganizationNestedInput;
1338
+ products?: Prisma.ProductUncheckedUpdateManyWithoutOrganizationNestedInput;
1339
+ reservations?: Prisma.ReservationUncheckedUpdateManyWithoutOrganizationNestedInput;
1340
+ };
1187
1341
  export type OrganizationCreateWithoutAddressInput = {
1188
1342
  id?: string;
1189
1343
  name: string;
@@ -1201,6 +1355,7 @@ export type OrganizationCreateWithoutAddressInput = {
1201
1355
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1202
1356
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1203
1357
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1358
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1204
1359
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1205
1360
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1206
1361
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1228,6 +1383,7 @@ export type OrganizationUncheckedCreateWithoutAddressInput = {
1228
1383
  deletedAt?: Date | string | null;
1229
1384
  deletedBy?: string | null;
1230
1385
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1386
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1231
1387
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1232
1388
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1233
1389
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1276,6 +1432,7 @@ export type OrganizationCreateWithoutLegalEntityInput = {
1276
1432
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1277
1433
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1278
1434
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1435
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1279
1436
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1280
1437
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1281
1438
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1303,6 +1460,7 @@ export type OrganizationUncheckedCreateWithoutLegalEntityInput = {
1303
1460
  deletedAt?: Date | string | null;
1304
1461
  deletedBy?: string | null;
1305
1462
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1463
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1306
1464
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1307
1465
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1308
1466
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1351,6 +1509,7 @@ export type OrganizationCreateWithoutFilesInput = {
1351
1509
  address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
1352
1510
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1353
1511
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1512
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1354
1513
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1355
1514
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1356
1515
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1378,6 +1537,7 @@ export type OrganizationUncheckedCreateWithoutFilesInput = {
1378
1537
  updatedBy?: string | null;
1379
1538
  deletedAt?: Date | string | null;
1380
1539
  deletedBy?: string | null;
1540
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1381
1541
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1382
1542
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1383
1543
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1409,6 +1569,7 @@ export type OrganizationCreateWithoutLogoFileInput = {
1409
1569
  address: Prisma.AddressCreateNestedOneWithoutOrganizationsInput;
1410
1570
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1411
1571
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1572
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1412
1573
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1413
1574
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1414
1575
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1436,6 +1597,7 @@ export type OrganizationUncheckedCreateWithoutLogoFileInput = {
1436
1597
  deletedAt?: Date | string | null;
1437
1598
  deletedBy?: string | null;
1438
1599
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1600
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1439
1601
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1440
1602
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1441
1603
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1476,6 +1638,7 @@ export type OrganizationUpdateWithoutFilesInput = {
1476
1638
  address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
1477
1639
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1478
1640
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
1641
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
1479
1642
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1480
1643
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
1481
1644
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -1503,6 +1666,7 @@ export type OrganizationUncheckedUpdateWithoutFilesInput = {
1503
1666
  updatedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1504
1667
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1505
1668
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1669
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
1506
1670
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1507
1671
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
1508
1672
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -1539,6 +1703,7 @@ export type OrganizationUpdateWithoutLogoFileInput = {
1539
1703
  address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
1540
1704
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1541
1705
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
1706
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
1542
1707
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1543
1708
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
1544
1709
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -1566,6 +1731,7 @@ export type OrganizationUncheckedUpdateWithoutLogoFileInput = {
1566
1731
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1567
1732
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1568
1733
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
1734
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
1569
1735
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1570
1736
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
1571
1737
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -1594,6 +1760,7 @@ export type OrganizationCreateWithoutManufacturersInput = {
1594
1760
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1595
1761
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1596
1762
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1763
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1597
1764
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1598
1765
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1599
1766
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1621,6 +1788,7 @@ export type OrganizationUncheckedCreateWithoutManufacturersInput = {
1621
1788
  deletedAt?: Date | string | null;
1622
1789
  deletedBy?: string | null;
1623
1790
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1791
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1624
1792
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1625
1793
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1626
1794
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1661,6 +1829,7 @@ export type OrganizationUpdateWithoutManufacturersInput = {
1661
1829
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1662
1830
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
1663
1831
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
1832
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
1664
1833
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1665
1834
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
1666
1835
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -1688,6 +1857,7 @@ export type OrganizationUncheckedUpdateWithoutManufacturersInput = {
1688
1857
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1689
1858
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1690
1859
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
1860
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
1691
1861
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1692
1862
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
1693
1863
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -1715,6 +1885,7 @@ export type OrganizationCreateWithoutProductCategoriesInput = {
1715
1885
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1716
1886
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1717
1887
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
1888
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1718
1889
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1719
1890
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1720
1891
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1742,6 +1913,7 @@ export type OrganizationUncheckedCreateWithoutProductCategoriesInput = {
1742
1913
  deletedAt?: Date | string | null;
1743
1914
  deletedBy?: string | null;
1744
1915
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
1916
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1745
1917
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1746
1918
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1747
1919
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1782,6 +1954,7 @@ export type OrganizationUpdateWithoutProductCategoriesInput = {
1782
1954
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1783
1955
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
1784
1956
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
1957
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
1785
1958
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1786
1959
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
1787
1960
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -1809,6 +1982,7 @@ export type OrganizationUncheckedUpdateWithoutProductCategoriesInput = {
1809
1982
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1810
1983
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1811
1984
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
1985
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
1812
1986
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1813
1987
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
1814
1988
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -1836,6 +2010,7 @@ export type OrganizationCreateWithoutProductsInput = {
1836
2010
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1837
2011
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1838
2012
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
2013
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1839
2014
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1840
2015
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1841
2016
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -1863,6 +2038,7 @@ export type OrganizationUncheckedCreateWithoutProductsInput = {
1863
2038
  deletedAt?: Date | string | null;
1864
2039
  deletedBy?: string | null;
1865
2040
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
2041
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1866
2042
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1867
2043
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1868
2044
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -1903,6 +2079,7 @@ export type OrganizationUpdateWithoutProductsInput = {
1903
2079
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
1904
2080
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
1905
2081
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2082
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
1906
2083
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
1907
2084
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
1908
2085
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -1930,6 +2107,7 @@ export type OrganizationUncheckedUpdateWithoutProductsInput = {
1930
2107
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1931
2108
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1932
2109
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2110
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
1933
2111
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1934
2112
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
1935
2113
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -1957,6 +2135,7 @@ export type OrganizationCreateWithoutOrdersInput = {
1957
2135
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
1958
2136
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
1959
2137
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
2138
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
1960
2139
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
1961
2140
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
1962
2141
  campaigns?: Prisma.CampaignCreateNestedManyWithoutOrganizationInput;
@@ -1984,6 +2163,7 @@ export type OrganizationUncheckedCreateWithoutOrdersInput = {
1984
2163
  deletedAt?: Date | string | null;
1985
2164
  deletedBy?: string | null;
1986
2165
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
2166
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
1987
2167
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
1988
2168
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
1989
2169
  campaigns?: Prisma.CampaignUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -2024,6 +2204,7 @@ export type OrganizationUpdateWithoutOrdersInput = {
2024
2204
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
2025
2205
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2026
2206
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2207
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2027
2208
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2028
2209
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2029
2210
  campaigns?: Prisma.CampaignUpdateManyWithoutOrganizationNestedInput;
@@ -2051,6 +2232,7 @@ export type OrganizationUncheckedUpdateWithoutOrdersInput = {
2051
2232
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2052
2233
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2053
2234
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2235
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2054
2236
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2055
2237
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2056
2238
  campaigns?: Prisma.CampaignUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2078,6 +2260,7 @@ export type OrganizationCreateWithoutCampaignsInput = {
2078
2260
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
2079
2261
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
2080
2262
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
2263
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
2081
2264
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
2082
2265
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
2083
2266
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -2105,6 +2288,7 @@ export type OrganizationUncheckedCreateWithoutCampaignsInput = {
2105
2288
  deletedAt?: Date | string | null;
2106
2289
  deletedBy?: string | null;
2107
2290
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
2291
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
2108
2292
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
2109
2293
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
2110
2294
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -2145,6 +2329,7 @@ export type OrganizationUpdateWithoutCampaignsInput = {
2145
2329
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
2146
2330
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2147
2331
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2332
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2148
2333
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2149
2334
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2150
2335
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -2172,6 +2357,7 @@ export type OrganizationUncheckedUpdateWithoutCampaignsInput = {
2172
2357
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2173
2358
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2174
2359
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2360
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2175
2361
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2176
2362
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2177
2363
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2199,6 +2385,7 @@ export type OrganizationCreateWithoutShippingMethodsInput = {
2199
2385
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
2200
2386
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
2201
2387
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
2388
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
2202
2389
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
2203
2390
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
2204
2391
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -2226,6 +2413,7 @@ export type OrganizationUncheckedCreateWithoutShippingMethodsInput = {
2226
2413
  deletedAt?: Date | string | null;
2227
2414
  deletedBy?: string | null;
2228
2415
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
2416
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
2229
2417
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
2230
2418
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
2231
2419
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -2266,6 +2454,7 @@ export type OrganizationUpdateWithoutShippingMethodsInput = {
2266
2454
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
2267
2455
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2268
2456
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2457
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2269
2458
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2270
2459
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2271
2460
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -2293,6 +2482,7 @@ export type OrganizationUncheckedUpdateWithoutShippingMethodsInput = {
2293
2482
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2294
2483
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2295
2484
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2485
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2296
2486
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2297
2487
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2298
2488
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2320,6 +2510,7 @@ export type OrganizationCreateWithoutReservationsInput = {
2320
2510
  configuration: Prisma.OrganizationConfigurationCreateNestedOneWithoutOrganizationsInput;
2321
2511
  logoFile?: Prisma.FileCreateNestedOneWithoutOrganizationLogoInput;
2322
2512
  files?: Prisma.FileCreateNestedManyWithoutOrganizationInput;
2513
+ integrations?: Prisma.IntegrationCreateNestedManyWithoutOrganizationInput;
2323
2514
  members?: Prisma.MemberCreateNestedManyWithoutOrganizationInput;
2324
2515
  invitations?: Prisma.InvitationCreateNestedManyWithoutOrganizationInput;
2325
2516
  orders?: Prisma.OrderCreateNestedManyWithoutOrganizationInput;
@@ -2347,6 +2538,7 @@ export type OrganizationUncheckedCreateWithoutReservationsInput = {
2347
2538
  deletedAt?: Date | string | null;
2348
2539
  deletedBy?: string | null;
2349
2540
  files?: Prisma.FileUncheckedCreateNestedManyWithoutOrganizationInput;
2541
+ integrations?: Prisma.IntegrationUncheckedCreateNestedManyWithoutOrganizationInput;
2350
2542
  members?: Prisma.MemberUncheckedCreateNestedManyWithoutOrganizationInput;
2351
2543
  invitations?: Prisma.InvitationUncheckedCreateNestedManyWithoutOrganizationInput;
2352
2544
  orders?: Prisma.OrderUncheckedCreateNestedManyWithoutOrganizationInput;
@@ -2387,6 +2579,7 @@ export type OrganizationUpdateWithoutReservationsInput = {
2387
2579
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
2388
2580
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2389
2581
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2582
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2390
2583
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2391
2584
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2392
2585
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -2414,6 +2607,7 @@ export type OrganizationUncheckedUpdateWithoutReservationsInput = {
2414
2607
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2415
2608
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2416
2609
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2610
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2417
2611
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2418
2612
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2419
2613
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2457,6 +2651,7 @@ export type OrganizationUpdateWithoutConfigurationInput = {
2457
2651
  address?: Prisma.AddressUpdateOneRequiredWithoutOrganizationsNestedInput;
2458
2652
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2459
2653
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2654
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2460
2655
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2461
2656
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2462
2657
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -2484,6 +2679,7 @@ export type OrganizationUncheckedUpdateWithoutConfigurationInput = {
2484
2679
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2485
2680
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2486
2681
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2682
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2487
2683
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2488
2684
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2489
2685
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2545,6 +2741,7 @@ export type OrganizationUpdateWithoutAddressInput = {
2545
2741
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
2546
2742
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2547
2743
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2744
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2548
2745
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2549
2746
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2550
2747
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -2572,6 +2769,7 @@ export type OrganizationUncheckedUpdateWithoutAddressInput = {
2572
2769
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2573
2770
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2574
2771
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2772
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2575
2773
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2576
2774
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2577
2775
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2633,6 +2831,7 @@ export type OrganizationUpdateWithoutLegalEntityInput = {
2633
2831
  configuration?: Prisma.OrganizationConfigurationUpdateOneRequiredWithoutOrganizationsNestedInput;
2634
2832
  logoFile?: Prisma.FileUpdateOneWithoutOrganizationLogoNestedInput;
2635
2833
  files?: Prisma.FileUpdateManyWithoutOrganizationNestedInput;
2834
+ integrations?: Prisma.IntegrationUpdateManyWithoutOrganizationNestedInput;
2636
2835
  members?: Prisma.MemberUpdateManyWithoutOrganizationNestedInput;
2637
2836
  invitations?: Prisma.InvitationUpdateManyWithoutOrganizationNestedInput;
2638
2837
  orders?: Prisma.OrderUpdateManyWithoutOrganizationNestedInput;
@@ -2660,6 +2859,7 @@ export type OrganizationUncheckedUpdateWithoutLegalEntityInput = {
2660
2859
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2661
2860
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2662
2861
  files?: Prisma.FileUncheckedUpdateManyWithoutOrganizationNestedInput;
2862
+ integrations?: Prisma.IntegrationUncheckedUpdateManyWithoutOrganizationNestedInput;
2663
2863
  members?: Prisma.MemberUncheckedUpdateManyWithoutOrganizationNestedInput;
2664
2864
  invitations?: Prisma.InvitationUncheckedUpdateManyWithoutOrganizationNestedInput;
2665
2865
  orders?: Prisma.OrderUncheckedUpdateManyWithoutOrganizationNestedInput;
@@ -2692,6 +2892,7 @@ export type OrganizationUncheckedUpdateManyWithoutLegalEntityInput = {
2692
2892
  */
2693
2893
  export type OrganizationCountOutputType = {
2694
2894
  files: number;
2895
+ integrations: number;
2695
2896
  members: number;
2696
2897
  invitations: number;
2697
2898
  orders: number;
@@ -2704,6 +2905,7 @@ export type OrganizationCountOutputType = {
2704
2905
  };
2705
2906
  export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2706
2907
  files?: boolean | OrganizationCountOutputTypeCountFilesArgs;
2908
+ integrations?: boolean | OrganizationCountOutputTypeCountIntegrationsArgs;
2707
2909
  members?: boolean | OrganizationCountOutputTypeCountMembersArgs;
2708
2910
  invitations?: boolean | OrganizationCountOutputTypeCountInvitationsArgs;
2709
2911
  orders?: boolean | OrganizationCountOutputTypeCountOrdersArgs;
@@ -2729,6 +2931,12 @@ export type OrganizationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types
2729
2931
  export type OrganizationCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2730
2932
  where?: Prisma.FileWhereInput;
2731
2933
  };
2934
+ /**
2935
+ * OrganizationCountOutputType without action
2936
+ */
2937
+ export type OrganizationCountOutputTypeCountIntegrationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2938
+ where?: Prisma.IntegrationWhereInput;
2939
+ };
2732
2940
  /**
2733
2941
  * OrganizationCountOutputType without action
2734
2942
  */
@@ -2805,6 +3013,7 @@ export type OrganizationSelect<ExtArgs extends runtime.Types.Extensions.Internal
2805
3013
  configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
2806
3014
  logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
2807
3015
  files?: boolean | Prisma.Organization$filesArgs<ExtArgs>;
3016
+ integrations?: boolean | Prisma.Organization$integrationsArgs<ExtArgs>;
2808
3017
  members?: boolean | Prisma.Organization$membersArgs<ExtArgs>;
2809
3018
  invitations?: boolean | Prisma.Organization$invitationsArgs<ExtArgs>;
2810
3019
  orders?: boolean | Prisma.Organization$ordersArgs<ExtArgs>;
@@ -2885,6 +3094,7 @@ export type OrganizationInclude<ExtArgs extends runtime.Types.Extensions.Interna
2885
3094
  configuration?: boolean | Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>;
2886
3095
  logoFile?: boolean | Prisma.Organization$logoFileArgs<ExtArgs>;
2887
3096
  files?: boolean | Prisma.Organization$filesArgs<ExtArgs>;
3097
+ integrations?: boolean | Prisma.Organization$integrationsArgs<ExtArgs>;
2888
3098
  members?: boolean | Prisma.Organization$membersArgs<ExtArgs>;
2889
3099
  invitations?: boolean | Prisma.Organization$invitationsArgs<ExtArgs>;
2890
3100
  orders?: boolean | Prisma.Organization$ordersArgs<ExtArgs>;
@@ -2916,6 +3126,7 @@ export type $OrganizationPayload<ExtArgs extends runtime.Types.Extensions.Intern
2916
3126
  configuration: Prisma.$OrganizationConfigurationPayload<ExtArgs>;
2917
3127
  logoFile: Prisma.$FilePayload<ExtArgs> | null;
2918
3128
  files: Prisma.$FilePayload<ExtArgs>[];
3129
+ integrations: Prisma.$IntegrationPayload<ExtArgs>[];
2919
3130
  members: Prisma.$MemberPayload<ExtArgs>[];
2920
3131
  invitations: Prisma.$InvitationPayload<ExtArgs>[];
2921
3132
  orders: Prisma.$OrderPayload<ExtArgs>[];
@@ -3277,6 +3488,7 @@ export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends run
3277
3488
  configuration<T extends Prisma.OrganizationConfigurationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationConfigurationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
3278
3489
  logoFile<T extends Prisma.Organization$logoFileArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$logoFileArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3279
3490
  files<T extends Prisma.Organization$filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$filesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3491
+ integrations<T extends Prisma.Organization$integrationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$integrationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IntegrationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3280
3492
  members<T extends Prisma.Organization$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3281
3493
  invitations<T extends Prisma.Organization$invitationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$invitationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3282
3494
  orders<T extends Prisma.Organization$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$ordersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -3764,6 +3976,29 @@ export type Organization$filesArgs<ExtArgs extends runtime.Types.Extensions.Inte
3764
3976
  skip?: number;
3765
3977
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
3766
3978
  };
3979
+ /**
3980
+ * Organization.integrations
3981
+ */
3982
+ export type Organization$integrationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3983
+ /**
3984
+ * Select specific fields to fetch from the Integration
3985
+ */
3986
+ select?: Prisma.IntegrationSelect<ExtArgs> | null;
3987
+ /**
3988
+ * Omit specific fields from the Integration
3989
+ */
3990
+ omit?: Prisma.IntegrationOmit<ExtArgs> | null;
3991
+ /**
3992
+ * Choose, which related nodes to fetch as well
3993
+ */
3994
+ include?: Prisma.IntegrationInclude<ExtArgs> | null;
3995
+ where?: Prisma.IntegrationWhereInput;
3996
+ orderBy?: Prisma.IntegrationOrderByWithRelationInput | Prisma.IntegrationOrderByWithRelationInput[];
3997
+ cursor?: Prisma.IntegrationWhereUniqueInput;
3998
+ take?: number;
3999
+ skip?: number;
4000
+ distinct?: Prisma.IntegrationScalarFieldEnum | Prisma.IntegrationScalarFieldEnum[];
4001
+ };
3767
4002
  /**
3768
4003
  * Organization.members
3769
4004
  */