@shophost/rest-api 2.0.69 → 2.0.70
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/package.json +1 -1
- package/schema.prisma +1 -0
- package/src/core/db/__generated__/client/internal/class.js +19 -18
- package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -1
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +1 -0
- package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -1
- package/src/core/db/__generated__/client/models/Reservation.d.ts +42 -1
- package/src/features/customer/customer.route.d.ts +1 -0
- package/src/features/customer/customer.schema.d.ts +1 -0
- package/src/features/customer/customer.service.d.ts +1 -0
- package/src/features/reservation/emails/reservation-cancellation.email.js +1 -1
- package/src/features/reservation/reservation.handler.js +1 -1
- package/src/features/reservation/reservation.route.d.ts +10 -1
- package/src/features/reservation/reservation.route.js +1 -1
- package/src/features/reservation/reservation.schema.d.ts +5 -0
- package/src/features/reservation/reservation.schema.js +1 -1
- package/src/features/reservation/reservation.service.d.ts +9 -2
- package/src/features/reservation/reservation.service.js +1 -1
|
@@ -3205,6 +3205,7 @@ export declare const ReservationScalarFieldEnum: {
|
|
|
3205
3205
|
readonly createdAt: "createdAt";
|
|
3206
3206
|
readonly acceptedAt: "acceptedAt";
|
|
3207
3207
|
readonly cancelledAt: "cancelledAt";
|
|
3208
|
+
readonly cancellationMessage: "cancellationMessage";
|
|
3208
3209
|
readonly updatedAt: "updatedAt";
|
|
3209
3210
|
};
|
|
3210
3211
|
export type ReservationScalarFieldEnum = (typeof ReservationScalarFieldEnum)[keyof typeof ReservationScalarFieldEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"@prisma/client/runtime/client";export const PrismaClientKnownRequestError=e.PrismaClientKnownRequestError,PrismaClientUnknownRequestError=e.PrismaClientUnknownRequestError,PrismaClientRustPanicError=e.PrismaClientRustPanicError,PrismaClientInitializationError=e.PrismaClientInitializationError,PrismaClientValidationError=e.PrismaClientValidationError,sql=e.sqltag,empty=e.empty,join=e.join,raw=e.raw,Sql=e.Sql,Decimal=e.Decimal,getExtensionContext=e.Extensions.getExtensionContext,prismaVersion={client:"7.4.2",engine:"94a226be1cf2967af2541cca5529f0f7ba866919"},NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull},DbNull=e.DbNull,JsonNull=e.JsonNull,AnyNull=e.AnyNull,ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Integration:"Integration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"},TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"},SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"},AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"},InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"},OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",isAcceptingReservations:"isAcceptingReservations",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",defaultTimeZone:"defaultTimeZone",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},IntegrationScalarFieldEnum={organizationId:"organizationId",type:"type",config:"config",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"},ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",availableQuantity:"availableQuantity",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"},ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"},ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"},ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"},ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"},OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",inventoryDeductedAt:"inventoryDeductedAt",inventoryConflictAt:"inventoryConflictAt",inventoryConflictItems:"inventoryConflictItems",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"},OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"},OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"},PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"},CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"},ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"},ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",updatedAt:"updatedAt"},SortOrder={asc:"asc",desc:"desc"},JsonNullValueInput={JsonNull},NullableJsonNullValueInput={DbNull,JsonNull},QueryMode={default:"default",insensitive:"insensitive"},NullsOrder={first:"first",last:"last"},JsonNullValueFilter={DbNull,JsonNull,AnyNull},defineExtension=e.Extensions.defineExtension;
|
|
1
|
+
import*as e from"@prisma/client/runtime/client";export const PrismaClientKnownRequestError=e.PrismaClientKnownRequestError,PrismaClientUnknownRequestError=e.PrismaClientUnknownRequestError,PrismaClientRustPanicError=e.PrismaClientRustPanicError,PrismaClientInitializationError=e.PrismaClientInitializationError,PrismaClientValidationError=e.PrismaClientValidationError,sql=e.sqltag,empty=e.empty,join=e.join,raw=e.raw,Sql=e.Sql,Decimal=e.Decimal,getExtensionContext=e.Extensions.getExtensionContext,prismaVersion={client:"7.4.2",engine:"94a226be1cf2967af2541cca5529f0f7ba866919"},NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull},DbNull=e.DbNull,JsonNull=e.JsonNull,AnyNull=e.AnyNull,ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Integration:"Integration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"},TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"},SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"},AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"},InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"},OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",isAcceptingReservations:"isAcceptingReservations",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",defaultTimeZone:"defaultTimeZone",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},IntegrationScalarFieldEnum={organizationId:"organizationId",type:"type",config:"config",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"},ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",availableQuantity:"availableQuantity",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"},ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"},ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"},ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"},ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"},OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",inventoryDeductedAt:"inventoryDeductedAt",inventoryConflictAt:"inventoryConflictAt",inventoryConflictItems:"inventoryConflictItems",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"},OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"},OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"},PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"},CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"},ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"},ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",cancellationMessage:"cancellationMessage",updatedAt:"updatedAt"},SortOrder={asc:"asc",desc:"desc"},JsonNullValueInput={JsonNull},NullableJsonNullValueInput={DbNull,JsonNull},QueryMode={default:"default",insensitive:"insensitive"},NullsOrder={first:"first",last:"last"},JsonNullValueFilter={DbNull,JsonNull,AnyNull},defineExtension=e.Extensions.defineExtension;
|
|
@@ -517,6 +517,7 @@ export declare const ReservationScalarFieldEnum: {
|
|
|
517
517
|
readonly createdAt: "createdAt";
|
|
518
518
|
readonly acceptedAt: "acceptedAt";
|
|
519
519
|
readonly cancelledAt: "cancelledAt";
|
|
520
|
+
readonly cancellationMessage: "cancellationMessage";
|
|
520
521
|
readonly updatedAt: "updatedAt";
|
|
521
522
|
};
|
|
522
523
|
export type ReservationScalarFieldEnum = (typeof ReservationScalarFieldEnum)[keyof typeof ReservationScalarFieldEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"@prisma/client/runtime/index-browser";export const Decimal=e.Decimal,NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull},DbNull=e.DbNull,JsonNull=e.JsonNull,AnyNull=e.AnyNull,ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Integration:"Integration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"},TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"},SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"},AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"},InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"},OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",isAcceptingReservations:"isAcceptingReservations",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",defaultTimeZone:"defaultTimeZone",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},IntegrationScalarFieldEnum={organizationId:"organizationId",type:"type",config:"config",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"},ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",availableQuantity:"availableQuantity",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"},ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"},ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"},ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"},ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"},OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",inventoryDeductedAt:"inventoryDeductedAt",inventoryConflictAt:"inventoryConflictAt",inventoryConflictItems:"inventoryConflictItems",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"},OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"},OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"},PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"},CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"},ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"},ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",updatedAt:"updatedAt"},SortOrder={asc:"asc",desc:"desc"},JsonNullValueInput={JsonNull},NullableJsonNullValueInput={DbNull,JsonNull},QueryMode={default:"default",insensitive:"insensitive"},NullsOrder={first:"first",last:"last"},JsonNullValueFilter={DbNull,JsonNull,AnyNull};
|
|
1
|
+
import*as e from"@prisma/client/runtime/index-browser";export const Decimal=e.Decimal,NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull},DbNull=e.DbNull,JsonNull=e.JsonNull,AnyNull=e.AnyNull,ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Integration:"Integration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"},TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"}),UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"},SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"},AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"},VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"},MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"},InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"},OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"},OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",isAcceptingReservations:"isAcceptingReservations",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",defaultTimeZone:"defaultTimeZone",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},IntegrationScalarFieldEnum={organizationId:"organizationId",type:"type",config:"config",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"},ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"},ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",availableQuantity:"availableQuantity",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"},ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"},ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"},ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"},ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"},OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",inventoryDeductedAt:"inventoryDeductedAt",inventoryConflictAt:"inventoryConflictAt",inventoryConflictItems:"inventoryConflictItems",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"},OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"},OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"},PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"},PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"},CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"},ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"},ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"},ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",cancellationMessage:"cancellationMessage",updatedAt:"updatedAt"},SortOrder={asc:"asc",desc:"desc"},JsonNullValueInput={JsonNull},NullableJsonNullValueInput={DbNull,JsonNull},QueryMode={default:"default",insensitive:"insensitive"},NullsOrder={first:"first",last:"last"},JsonNullValueFilter={DbNull,JsonNull,AnyNull};
|
|
@@ -31,6 +31,7 @@ export type ReservationMinAggregateOutputType = {
|
|
|
31
31
|
createdAt: Date | null;
|
|
32
32
|
acceptedAt: Date | null;
|
|
33
33
|
cancelledAt: Date | null;
|
|
34
|
+
cancellationMessage: string | null;
|
|
34
35
|
updatedAt: Date | null;
|
|
35
36
|
};
|
|
36
37
|
export type ReservationMaxAggregateOutputType = {
|
|
@@ -46,6 +47,7 @@ export type ReservationMaxAggregateOutputType = {
|
|
|
46
47
|
createdAt: Date | null;
|
|
47
48
|
acceptedAt: Date | null;
|
|
48
49
|
cancelledAt: Date | null;
|
|
50
|
+
cancellationMessage: string | null;
|
|
49
51
|
updatedAt: Date | null;
|
|
50
52
|
};
|
|
51
53
|
export type ReservationCountAggregateOutputType = {
|
|
@@ -61,6 +63,7 @@ export type ReservationCountAggregateOutputType = {
|
|
|
61
63
|
createdAt: number;
|
|
62
64
|
acceptedAt: number;
|
|
63
65
|
cancelledAt: number;
|
|
66
|
+
cancellationMessage: number;
|
|
64
67
|
updatedAt: number;
|
|
65
68
|
_all: number;
|
|
66
69
|
};
|
|
@@ -83,6 +86,7 @@ export type ReservationMinAggregateInputType = {
|
|
|
83
86
|
createdAt?: true;
|
|
84
87
|
acceptedAt?: true;
|
|
85
88
|
cancelledAt?: true;
|
|
89
|
+
cancellationMessage?: true;
|
|
86
90
|
updatedAt?: true;
|
|
87
91
|
};
|
|
88
92
|
export type ReservationMaxAggregateInputType = {
|
|
@@ -98,6 +102,7 @@ export type ReservationMaxAggregateInputType = {
|
|
|
98
102
|
createdAt?: true;
|
|
99
103
|
acceptedAt?: true;
|
|
100
104
|
cancelledAt?: true;
|
|
105
|
+
cancellationMessage?: true;
|
|
101
106
|
updatedAt?: true;
|
|
102
107
|
};
|
|
103
108
|
export type ReservationCountAggregateInputType = {
|
|
@@ -113,6 +118,7 @@ export type ReservationCountAggregateInputType = {
|
|
|
113
118
|
createdAt?: true;
|
|
114
119
|
acceptedAt?: true;
|
|
115
120
|
cancelledAt?: true;
|
|
121
|
+
cancellationMessage?: true;
|
|
116
122
|
updatedAt?: true;
|
|
117
123
|
_all?: true;
|
|
118
124
|
};
|
|
@@ -205,6 +211,7 @@ export type ReservationGroupByOutputType = {
|
|
|
205
211
|
createdAt: Date;
|
|
206
212
|
acceptedAt: Date | null;
|
|
207
213
|
cancelledAt: Date | null;
|
|
214
|
+
cancellationMessage: string | null;
|
|
208
215
|
updatedAt: Date;
|
|
209
216
|
_count: ReservationCountAggregateOutputType | null;
|
|
210
217
|
_avg: ReservationAvgAggregateOutputType | null;
|
|
@@ -231,6 +238,7 @@ export type ReservationWhereInput = {
|
|
|
231
238
|
createdAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
232
239
|
acceptedAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
233
240
|
cancelledAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
241
|
+
cancellationMessage?: Prisma.StringNullableFilter<"Reservation"> | string | null;
|
|
234
242
|
updatedAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
235
243
|
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
236
244
|
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
@@ -248,6 +256,7 @@ export type ReservationOrderByWithRelationInput = {
|
|
|
248
256
|
createdAt?: Prisma.SortOrder;
|
|
249
257
|
acceptedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
250
258
|
cancelledAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
259
|
+
cancellationMessage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
251
260
|
updatedAt?: Prisma.SortOrder;
|
|
252
261
|
user?: Prisma.UserOrderByWithRelationInput;
|
|
253
262
|
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
@@ -268,6 +277,7 @@ export type ReservationWhereUniqueInput = Prisma.AtLeast<{
|
|
|
268
277
|
createdAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
269
278
|
acceptedAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
270
279
|
cancelledAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
280
|
+
cancellationMessage?: Prisma.StringNullableFilter<"Reservation"> | string | null;
|
|
271
281
|
updatedAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
272
282
|
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
273
283
|
organization?: Prisma.XOR<Prisma.OrganizationScalarRelationFilter, Prisma.OrganizationWhereInput>;
|
|
@@ -285,6 +295,7 @@ export type ReservationOrderByWithAggregationInput = {
|
|
|
285
295
|
createdAt?: Prisma.SortOrder;
|
|
286
296
|
acceptedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
287
297
|
cancelledAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
298
|
+
cancellationMessage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
288
299
|
updatedAt?: Prisma.SortOrder;
|
|
289
300
|
_count?: Prisma.ReservationCountOrderByAggregateInput;
|
|
290
301
|
_avg?: Prisma.ReservationAvgOrderByAggregateInput;
|
|
@@ -308,6 +319,7 @@ export type ReservationScalarWhereWithAggregatesInput = {
|
|
|
308
319
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Reservation"> | Date | string;
|
|
309
320
|
acceptedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Reservation"> | Date | string | null;
|
|
310
321
|
cancelledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Reservation"> | Date | string | null;
|
|
322
|
+
cancellationMessage?: Prisma.StringNullableWithAggregatesFilter<"Reservation"> | string | null;
|
|
311
323
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Reservation"> | Date | string;
|
|
312
324
|
};
|
|
313
325
|
export type ReservationCreateInput = {
|
|
@@ -321,6 +333,7 @@ export type ReservationCreateInput = {
|
|
|
321
333
|
createdAt?: Date | string;
|
|
322
334
|
acceptedAt?: Date | string | null;
|
|
323
335
|
cancelledAt?: Date | string | null;
|
|
336
|
+
cancellationMessage?: string | null;
|
|
324
337
|
updatedAt?: Date | string;
|
|
325
338
|
user?: Prisma.UserCreateNestedOneWithoutReservationsInput;
|
|
326
339
|
organization: Prisma.OrganizationCreateNestedOneWithoutReservationsInput;
|
|
@@ -338,6 +351,7 @@ export type ReservationUncheckedCreateInput = {
|
|
|
338
351
|
createdAt?: Date | string;
|
|
339
352
|
acceptedAt?: Date | string | null;
|
|
340
353
|
cancelledAt?: Date | string | null;
|
|
354
|
+
cancellationMessage?: string | null;
|
|
341
355
|
updatedAt?: Date | string;
|
|
342
356
|
};
|
|
343
357
|
export type ReservationUpdateInput = {
|
|
@@ -351,6 +365,7 @@ export type ReservationUpdateInput = {
|
|
|
351
365
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
352
366
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
353
367
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
368
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
354
369
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
355
370
|
user?: Prisma.UserUpdateOneWithoutReservationsNestedInput;
|
|
356
371
|
organization?: Prisma.OrganizationUpdateOneRequiredWithoutReservationsNestedInput;
|
|
@@ -368,6 +383,7 @@ export type ReservationUncheckedUpdateInput = {
|
|
|
368
383
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
369
384
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
370
385
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
386
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
371
387
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
372
388
|
};
|
|
373
389
|
export type ReservationCreateManyInput = {
|
|
@@ -383,6 +399,7 @@ export type ReservationCreateManyInput = {
|
|
|
383
399
|
createdAt?: Date | string;
|
|
384
400
|
acceptedAt?: Date | string | null;
|
|
385
401
|
cancelledAt?: Date | string | null;
|
|
402
|
+
cancellationMessage?: string | null;
|
|
386
403
|
updatedAt?: Date | string;
|
|
387
404
|
};
|
|
388
405
|
export type ReservationUpdateManyMutationInput = {
|
|
@@ -396,6 +413,7 @@ export type ReservationUpdateManyMutationInput = {
|
|
|
396
413
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
397
414
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
398
415
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
416
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
399
417
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
418
|
};
|
|
401
419
|
export type ReservationUncheckedUpdateManyInput = {
|
|
@@ -411,6 +429,7 @@ export type ReservationUncheckedUpdateManyInput = {
|
|
|
411
429
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
412
430
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
413
431
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
432
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
433
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
415
434
|
};
|
|
416
435
|
export type ReservationListRelationFilter = {
|
|
@@ -434,6 +453,7 @@ export type ReservationCountOrderByAggregateInput = {
|
|
|
434
453
|
createdAt?: Prisma.SortOrder;
|
|
435
454
|
acceptedAt?: Prisma.SortOrder;
|
|
436
455
|
cancelledAt?: Prisma.SortOrder;
|
|
456
|
+
cancellationMessage?: Prisma.SortOrder;
|
|
437
457
|
updatedAt?: Prisma.SortOrder;
|
|
438
458
|
};
|
|
439
459
|
export type ReservationAvgOrderByAggregateInput = {
|
|
@@ -452,6 +472,7 @@ export type ReservationMaxOrderByAggregateInput = {
|
|
|
452
472
|
createdAt?: Prisma.SortOrder;
|
|
453
473
|
acceptedAt?: Prisma.SortOrder;
|
|
454
474
|
cancelledAt?: Prisma.SortOrder;
|
|
475
|
+
cancellationMessage?: Prisma.SortOrder;
|
|
455
476
|
updatedAt?: Prisma.SortOrder;
|
|
456
477
|
};
|
|
457
478
|
export type ReservationMinOrderByAggregateInput = {
|
|
@@ -467,6 +488,7 @@ export type ReservationMinOrderByAggregateInput = {
|
|
|
467
488
|
createdAt?: Prisma.SortOrder;
|
|
468
489
|
acceptedAt?: Prisma.SortOrder;
|
|
469
490
|
cancelledAt?: Prisma.SortOrder;
|
|
491
|
+
cancellationMessage?: Prisma.SortOrder;
|
|
470
492
|
updatedAt?: Prisma.SortOrder;
|
|
471
493
|
};
|
|
472
494
|
export type ReservationSumOrderByAggregateInput = {
|
|
@@ -559,6 +581,7 @@ export type ReservationCreateWithoutUserInput = {
|
|
|
559
581
|
createdAt?: Date | string;
|
|
560
582
|
acceptedAt?: Date | string | null;
|
|
561
583
|
cancelledAt?: Date | string | null;
|
|
584
|
+
cancellationMessage?: string | null;
|
|
562
585
|
updatedAt?: Date | string;
|
|
563
586
|
organization: Prisma.OrganizationCreateNestedOneWithoutReservationsInput;
|
|
564
587
|
};
|
|
@@ -574,6 +597,7 @@ export type ReservationUncheckedCreateWithoutUserInput = {
|
|
|
574
597
|
createdAt?: Date | string;
|
|
575
598
|
acceptedAt?: Date | string | null;
|
|
576
599
|
cancelledAt?: Date | string | null;
|
|
600
|
+
cancellationMessage?: string | null;
|
|
577
601
|
updatedAt?: Date | string;
|
|
578
602
|
};
|
|
579
603
|
export type ReservationCreateOrConnectWithoutUserInput = {
|
|
@@ -613,6 +637,7 @@ export type ReservationScalarWhereInput = {
|
|
|
613
637
|
createdAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
614
638
|
acceptedAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
615
639
|
cancelledAt?: Prisma.DateTimeNullableFilter<"Reservation"> | Date | string | null;
|
|
640
|
+
cancellationMessage?: Prisma.StringNullableFilter<"Reservation"> | string | null;
|
|
616
641
|
updatedAt?: Prisma.DateTimeFilter<"Reservation"> | Date | string;
|
|
617
642
|
};
|
|
618
643
|
export type ReservationCreateWithoutOrganizationInput = {
|
|
@@ -626,6 +651,7 @@ export type ReservationCreateWithoutOrganizationInput = {
|
|
|
626
651
|
createdAt?: Date | string;
|
|
627
652
|
acceptedAt?: Date | string | null;
|
|
628
653
|
cancelledAt?: Date | string | null;
|
|
654
|
+
cancellationMessage?: string | null;
|
|
629
655
|
updatedAt?: Date | string;
|
|
630
656
|
user?: Prisma.UserCreateNestedOneWithoutReservationsInput;
|
|
631
657
|
};
|
|
@@ -641,6 +667,7 @@ export type ReservationUncheckedCreateWithoutOrganizationInput = {
|
|
|
641
667
|
createdAt?: Date | string;
|
|
642
668
|
acceptedAt?: Date | string | null;
|
|
643
669
|
cancelledAt?: Date | string | null;
|
|
670
|
+
cancellationMessage?: string | null;
|
|
644
671
|
updatedAt?: Date | string;
|
|
645
672
|
};
|
|
646
673
|
export type ReservationCreateOrConnectWithoutOrganizationInput = {
|
|
@@ -676,6 +703,7 @@ export type ReservationCreateManyUserInput = {
|
|
|
676
703
|
createdAt?: Date | string;
|
|
677
704
|
acceptedAt?: Date | string | null;
|
|
678
705
|
cancelledAt?: Date | string | null;
|
|
706
|
+
cancellationMessage?: string | null;
|
|
679
707
|
updatedAt?: Date | string;
|
|
680
708
|
};
|
|
681
709
|
export type ReservationUpdateWithoutUserInput = {
|
|
@@ -689,6 +717,7 @@ export type ReservationUpdateWithoutUserInput = {
|
|
|
689
717
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
690
718
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
691
719
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
720
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
692
721
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
693
722
|
organization?: Prisma.OrganizationUpdateOneRequiredWithoutReservationsNestedInput;
|
|
694
723
|
};
|
|
@@ -704,6 +733,7 @@ export type ReservationUncheckedUpdateWithoutUserInput = {
|
|
|
704
733
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
705
734
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
706
735
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
736
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
707
737
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
708
738
|
};
|
|
709
739
|
export type ReservationUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -718,6 +748,7 @@ export type ReservationUncheckedUpdateManyWithoutUserInput = {
|
|
|
718
748
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
719
749
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
720
750
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
751
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
721
752
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
722
753
|
};
|
|
723
754
|
export type ReservationCreateManyOrganizationInput = {
|
|
@@ -732,6 +763,7 @@ export type ReservationCreateManyOrganizationInput = {
|
|
|
732
763
|
createdAt?: Date | string;
|
|
733
764
|
acceptedAt?: Date | string | null;
|
|
734
765
|
cancelledAt?: Date | string | null;
|
|
766
|
+
cancellationMessage?: string | null;
|
|
735
767
|
updatedAt?: Date | string;
|
|
736
768
|
};
|
|
737
769
|
export type ReservationUpdateWithoutOrganizationInput = {
|
|
@@ -745,6 +777,7 @@ export type ReservationUpdateWithoutOrganizationInput = {
|
|
|
745
777
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
746
778
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
747
779
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
780
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
748
781
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
749
782
|
user?: Prisma.UserUpdateOneWithoutReservationsNestedInput;
|
|
750
783
|
};
|
|
@@ -760,6 +793,7 @@ export type ReservationUncheckedUpdateWithoutOrganizationInput = {
|
|
|
760
793
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
761
794
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
762
795
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
796
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
763
797
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
764
798
|
};
|
|
765
799
|
export type ReservationUncheckedUpdateManyWithoutOrganizationInput = {
|
|
@@ -774,6 +808,7 @@ export type ReservationUncheckedUpdateManyWithoutOrganizationInput = {
|
|
|
774
808
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
775
809
|
acceptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
776
810
|
cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
811
|
+
cancellationMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
777
812
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
778
813
|
};
|
|
779
814
|
export type ReservationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -789,6 +824,7 @@ export type ReservationSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
789
824
|
createdAt?: boolean;
|
|
790
825
|
acceptedAt?: boolean;
|
|
791
826
|
cancelledAt?: boolean;
|
|
827
|
+
cancellationMessage?: boolean;
|
|
792
828
|
updatedAt?: boolean;
|
|
793
829
|
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
794
830
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
@@ -806,6 +842,7 @@ export type ReservationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.E
|
|
|
806
842
|
createdAt?: boolean;
|
|
807
843
|
acceptedAt?: boolean;
|
|
808
844
|
cancelledAt?: boolean;
|
|
845
|
+
cancellationMessage?: boolean;
|
|
809
846
|
updatedAt?: boolean;
|
|
810
847
|
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
811
848
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
@@ -823,6 +860,7 @@ export type ReservationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.E
|
|
|
823
860
|
createdAt?: boolean;
|
|
824
861
|
acceptedAt?: boolean;
|
|
825
862
|
cancelledAt?: boolean;
|
|
863
|
+
cancellationMessage?: boolean;
|
|
826
864
|
updatedAt?: boolean;
|
|
827
865
|
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
828
866
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
@@ -840,9 +878,10 @@ export type ReservationSelectScalar = {
|
|
|
840
878
|
createdAt?: boolean;
|
|
841
879
|
acceptedAt?: boolean;
|
|
842
880
|
cancelledAt?: boolean;
|
|
881
|
+
cancellationMessage?: boolean;
|
|
843
882
|
updatedAt?: boolean;
|
|
844
883
|
};
|
|
845
|
-
export type ReservationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "firstname" | "lastname" | "userId" | "guests" | "phone" | "date" | "referenceId" | "organizationId" | "createdAt" | "acceptedAt" | "cancelledAt" | "updatedAt", ExtArgs["result"]["reservation"]>;
|
|
884
|
+
export type ReservationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "firstname" | "lastname" | "userId" | "guests" | "phone" | "date" | "referenceId" | "organizationId" | "createdAt" | "acceptedAt" | "cancelledAt" | "cancellationMessage" | "updatedAt", ExtArgs["result"]["reservation"]>;
|
|
846
885
|
export type ReservationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
847
886
|
user?: boolean | Prisma.Reservation$userArgs<ExtArgs>;
|
|
848
887
|
organization?: boolean | Prisma.OrganizationDefaultArgs<ExtArgs>;
|
|
@@ -874,6 +913,7 @@ export type $ReservationPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
874
913
|
createdAt: Date;
|
|
875
914
|
acceptedAt: Date | null;
|
|
876
915
|
cancelledAt: Date | null;
|
|
916
|
+
cancellationMessage: string | null;
|
|
877
917
|
updatedAt: Date;
|
|
878
918
|
}, ExtArgs["result"]["reservation"]>;
|
|
879
919
|
composites: {};
|
|
@@ -1243,6 +1283,7 @@ export interface ReservationFieldRefs {
|
|
|
1243
1283
|
readonly createdAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1244
1284
|
readonly acceptedAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1245
1285
|
readonly cancelledAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1286
|
+
readonly cancellationMessage: Prisma.FieldRef<"Reservation", 'String'>;
|
|
1246
1287
|
readonly updatedAt: Prisma.FieldRef<"Reservation", 'DateTime'>;
|
|
1247
1288
|
}
|
|
1248
1289
|
/**
|
|
@@ -573,6 +573,7 @@ export declare const customerRoute: {
|
|
|
573
573
|
referenceId: z.ZodString;
|
|
574
574
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
575
575
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
576
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
577
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
577
578
|
}, z.core.$strip>>;
|
|
578
579
|
}, z.core.$strip>;
|
|
@@ -568,6 +568,7 @@ export declare const AdminCustomerDetailSchema: z.ZodObject<{
|
|
|
568
568
|
referenceId: z.ZodString;
|
|
569
569
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
570
570
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
571
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
572
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
572
573
|
}, z.core.$strip>>;
|
|
573
574
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Body as y,Column as
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Body as y,Column as r,Container as x,Head as N,Heading as v,Hr as k,Html as A,Img as c,Link as n,Preview as T,Row as d,Section as i,Tailwind as C,Text as t}from"../../../core/email/components";import{formatReservationEmailDate as j,formatReservationEmailDateTime as F}from"./reservation-email-date";const b=({user:u,organization:l,reservation:s})=>{var m,o,h,g,p;const f=`Your reservation with ${l.name} has been cancelled`,w=F(s.date);return a(A,{children:[e(N,{}),e(T,{children:f}),e(C,{children:a(y,{className:"bg-gray-50 font-sans",children:[a(x,{className:"bg-gray-50 p-6 max-w-[600px]",children:[e(i,{className:"mb-6",children:a(d,{children:[e(r,{className:"w-[80%]",children:e(c,{alt:`${l.name} logo`,height:"100",src:(m=l.logoFile)===null||m===void 0?void 0:m.url,className:"rounded-lg"})}),e(r,{align:"right",children:a(d,{align:"right",children:[e(r,{children:e(n,{href:"https://www.instagram.com/madrasbistro/",children:e(c,{alt:"Instagram",className:"mx-[4px]",height:"36",src:"https://react.email/static/instagram-logo.png",width:"36"})})}),e(r,{children:e(n,{href:"https://www.facebook.com/madrasBistro/",children:e(c,{alt:"Facebook",className:"mx-[4px]",height:"36",src:"https://react.email/static/facebook-logo.png",width:"36"})})})]})})]})}),a(i,{children:[a(v,{className:"text-3xl font-bold text-gray-800 mb-0",children:["Hi ",u.firstname,","]}),e(t,{className:"text-gray-600 mb-2 text-lg",children:"Your reservation has been cancelled."})]})]}),a(x,{className:"mx-auto max-w-[600px] rounded-xl bg-white px-6",children:[e(i,{className:"mb-6",children:a(d,{children:[a(r,{className:"w-[60%]",children:[e(t,{className:"text-gray-500 mb-0",children:"Cancelled reservation details"}),a(t,{className:"font-semibold text-gray-800 my-0",children:[s.firstname," ",s.lastname]}),a(t,{className:"font-semibold text-gray-800 my-0",children:["Reference: ",s.referenceId]}),a(t,{className:"font-semibold text-gray-800 my-0",children:["Date and Time: ",w]}),a(t,{className:"font-semibold text-gray-800 my-0",children:["Number of Guests: ",s.guests]})]}),e(r,{className:"w-[40%] p-0 mt-0",align:"right",valign:"top",children:e(t,{className:"text-gray-500 mb-0 pt-1",children:j(new Date)})})]})}),!s.cancellationMessage&&e(k,{className:"border-gray-200 mt-4"}),a(i,{className:"mb-6",children:[s.cancellationMessage?a(i,{className:"mb-6 rounded-xl border border-amber-200 bg-amber-50 px-4 py-3",children:[e(t,{className:"mt-0 mb-1 text-sm font-semibold text-amber-800",children:"Reason / Message"}),e(t,{className:"m-0 whitespace-pre-wrap text-gray-800",children:s.cancellationMessage})]}):null,a(t,{className:"text-gray-700",children:["If you did not request this cancellation or wish to make a new reservation, please contact us at ",l.phone,"."]}),a(t,{className:"text-gray-700",children:["We hope to welcome you at ",l.name," another time."]})]})]}),e(i,{className:"text-center bg-gray-50 py-5",children:a("table",{className:"w-full",children:[e("tr",{className:"w-full",children:e("td",{align:"center",children:((o=l.logoFile)===null||o===void 0?void 0:o.url)&&e(c,{alt:`${l.name} logo`,height:"100",src:l.logoFile.url,className:"rounded-lg"})})}),e("tr",{className:"w-full",children:a("td",{align:"center",children:[e(t,{className:"my-[8px] text-[16px] font-semibold text-xl pt-2 text-gray-900",children:l.name}),a(t,{className:"my-[8px] text-[16px] leading-[24px] text-gray-500",children:[(h=l.address)===null||h===void 0?void 0:h.addressLineOne,","," ",(g=l.address)===null||g===void 0?void 0:g.zipCode," ",(p=l.address)===null||p===void 0?void 0:p.city]}),e(t,{className:"mb-0 mt-[4px] text-[16px] leading-[24px] text-gray-500",children:l.phone})]})}),e("tr",{children:e("td",{align:"center",children:a(d,{className:"table-cell h-[44px] w-[56px] align-bottom pt-5",children:[e(r,{className:"pr-[8px]",children:e(n,{href:"https://www.facebook.com/madrasBistro/",children:e(c,{alt:"Facebook",height:"36",src:"https://react.email/static/facebook-logo.png",width:"36"})})}),e(r,{children:e(n,{href:"https://www.instagram.com/madrasbistro/",children:e(c,{alt:"Instagram",height:"36",src:"https://react.email/static/instagram-logo.png",width:"36"})})})]})})})]})})]})})]})},I={user:{id:"VD0OJ52f0mdAnm5YePP6BAW6hdbaCjAJ",name:"Abhishek Shaji",email:"kontakt@abhishek.pl",emailVerified:!0,image:"https://lh3.googleusercontent.com/a/ACg8ocKbkCAMTNvMizjXNxcm1aYtBiWnYpCYmU-7aE2Ft_M_uiHheZ5f=s96-c",createdAt:"2025-03-22T22:54:40.260Z",updatedAt:"2025-03-22T22:54:40.260Z",firstname:"Abhishek",lastname:"Shaji"},reservation:{id:"cm94wbpbm0000itx1iv9k2mqr",referenceId:"PH6LD6",firstname:"Abhishek",lastname:"Shaji",phone:"+48570135862",guests:4,date:new Date("2025-04-07T19:30:00.000Z"),createdAt:"2025-03-22T22:54:40.260Z",acceptedAt:"2025-03-22T23:00:23.456Z",cancelledAt:"2025-03-23T10:15:45.789Z",cancellationMessage:"We need to close early tonight. Please choose another reservation time."},organization:{id:"cm8kthfdq0001lg03b59mdy7b",name:"Madras Bistro",phone:"+48570135862",email:"contact@madrasbistro.pl",createdAt:"2025-03-22T23:05:14.271Z",legalEntityId:null,address:{id:"cm8kthfdr0002lg0350ijialt",firstname:null,lastname:null,phone:null,addressLineOne:"Plac Bohater\xF3w Getta 2",doorNumber:null,addressLineTwo:"3",zipCode:"33-332",city:"Krak\xF3w",country:"PL",placeId:"ChIJf-nsRkRbFkcR21gtObFSSSA",deliveryInstructions:null},configuration:{id:"cm8kthfdr0003lg03ghgs262n",hostname:"madrasbistro.pl",countriesShipping:["us"],stripeAccountId:"null",enableHostCheckout:!1,enableHostTracking:!1,isAcceptingOrders:!1,isAcceptingReservations:!1,defaultLocale:"en",supportedLocales:["en","pl"],defaultCurrency:"PLN",createdAt:"2025-03-22T23:05:14.271Z"},logo:"https://z3liuyatqnepss3d.public.blob.vercel-storage.com/logo-zeJymFRMFCIKPlvjxYm2af3SAWvBOj.png",logoFile:{id:"cm8ktmu890005lg0356gwclfk",url:"https://z3liuyatqnepss3d.public.blob.vercel-storage.com/logo-zeJymFRMFCIKPlvjxYm2af3SAWvBOj.png",mimeType:"image/png",size:1652289,filename:"logo.png"}}};b.PreviewProps=I;export default b;export{b as ReservationCancellationEmail};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as s}from"tslib";import{createApiRouter as u}from"../../core/hono/hono";import{reservationRoute as d}from"./reservation.route";export const registerReservationHandlers=i=>{const n=u();return n.openapi(d.createReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("json"),a=e.req.valid("param");let r=null;try{r=yield o.getCurrentUser()}catch{}const v=yield i.createReservation(a.organizationId,r,t);return e.json(v,201)})),n.openapi(d.getMyReservations,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=e.req.valid("query"),r=yield o.getCurrentUser(),v=yield i.getMyReservations(r.id,t.organizationId,a);return e.json(v,200)})),n.openapi(d.getReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=yield o.getCurrentUser(),r=yield i.getReservation(a,t.organizationId,t.reservationId);return e.json(r,200)})),n.openapi(d.getReservations,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=e.req.valid("query");yield o.isGranted("read");const r=yield i.getReservations(t.organizationId,a);return e.json(r,200)})),n.openapi(d.getUserReservations,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param");yield o.isGranted("read");const a=yield i.getUserReservations(t.userId,t.organizationId);return e.json(a,200)})),n.openapi(d.updateReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=e.req.valid("json");yield o.isGranted("update");const r=yield i.updateReservation(t.organizationId,t.reservationId,a);return e.json(r,200)})),n.openapi(d.updateReservationStatus,e=>s(void 0,void 0,void 0,function*(){const
|
|
1
|
+
import{__awaiter as s}from"tslib";import{createApiRouter as u}from"../../core/hono/hono";import{reservationRoute as d}from"./reservation.route";export const registerReservationHandlers=i=>{const n=u();return n.openapi(d.createReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("json"),a=e.req.valid("param");let r=null;try{r=yield o.getCurrentUser()}catch{}const v=yield i.createReservation(a.organizationId,r,t);return e.json(v,201)})),n.openapi(d.getMyReservations,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=e.req.valid("query"),r=yield o.getCurrentUser(),v=yield i.getMyReservations(r.id,t.organizationId,a);return e.json(v,200)})),n.openapi(d.getReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=yield o.getCurrentUser(),r=yield i.getReservation(a,t.organizationId,t.reservationId);return e.json(r,200)})),n.openapi(d.getReservations,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=e.req.valid("query");yield o.isGranted("read");const r=yield i.getReservations(t.organizationId,a);return e.json(r,200)})),n.openapi(d.getUserReservations,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param");yield o.isGranted("read");const a=yield i.getUserReservations(t.userId,t.organizationId);return e.json(a,200)})),n.openapi(d.updateReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param"),a=e.req.valid("json");yield o.isGranted("update");const r=yield i.updateReservation(t.organizationId,t.reservationId,a);return e.json(r,200)})),n.openapi(d.updateReservationStatus,e=>s(void 0,void 0,void 0,function*(){var o;const t=e.get("auth"),a=e.req.valid("param"),r=(o=e.req.valid("json"))!==null&&o!==void 0?o:{};yield t.isGranted("update");const v=yield i.updateStatus(a.organizationId,a.reservationId,a.operation,r);return e.json(v,200)})),n.openapi(d.deleteReservation,e=>s(void 0,void 0,void 0,function*(){const o=e.get("auth"),t=e.req.valid("param");return yield o.isGranted("delete"),yield i.deleteReservation(t.organizationId,t.reservationId),e.body(null,204)})),n};
|
|
@@ -44,6 +44,7 @@ export declare const reservationRoute: {
|
|
|
44
44
|
referenceId: z.ZodString;
|
|
45
45
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
46
46
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
47
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
48
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
48
49
|
}, z.core.$strip>;
|
|
49
50
|
};
|
|
@@ -119,6 +120,7 @@ export declare const reservationRoute: {
|
|
|
119
120
|
referenceId: z.ZodString;
|
|
120
121
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
121
122
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
123
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
124
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
123
125
|
}, z.core.$strip>;
|
|
124
126
|
};
|
|
@@ -329,6 +331,7 @@ export declare const reservationRoute: {
|
|
|
329
331
|
referenceId: z.ZodString;
|
|
330
332
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
331
333
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
334
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
335
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
333
336
|
}, z.core.$strip>>;
|
|
334
337
|
meta: z.ZodObject<{
|
|
@@ -536,6 +539,7 @@ export declare const reservationRoute: {
|
|
|
536
539
|
referenceId: z.ZodString;
|
|
537
540
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
538
541
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
542
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
539
543
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
540
544
|
}, z.core.$strip>>;
|
|
541
545
|
meta: z.ZodObject<{
|
|
@@ -621,6 +625,7 @@ export declare const reservationRoute: {
|
|
|
621
625
|
referenceId: z.ZodString;
|
|
622
626
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
623
627
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
628
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
624
629
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
625
630
|
}, z.core.$strip>>;
|
|
626
631
|
};
|
|
@@ -721,6 +726,7 @@ export declare const reservationRoute: {
|
|
|
721
726
|
referenceId: z.ZodString;
|
|
722
727
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
723
728
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
729
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
724
730
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
725
731
|
}, z.core.$strip>;
|
|
726
732
|
};
|
|
@@ -786,7 +792,9 @@ export declare const reservationRoute: {
|
|
|
786
792
|
body: {
|
|
787
793
|
content: {
|
|
788
794
|
"application/json": {
|
|
789
|
-
schema: z.
|
|
795
|
+
schema: z.ZodObject<{
|
|
796
|
+
message: z.ZodOptional<z.ZodString>;
|
|
797
|
+
}, z.core.$strip>;
|
|
790
798
|
};
|
|
791
799
|
};
|
|
792
800
|
required: boolean;
|
|
@@ -820,6 +828,7 @@ export declare const reservationRoute: {
|
|
|
820
828
|
referenceId: z.ZodString;
|
|
821
829
|
acceptedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
822
830
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
831
|
+
cancellationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
832
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
824
833
|
}, z.core.$strip>;
|
|
825
834
|
};
|