@jmruthers/pace-core 0.5.120 → 0.5.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AuthService-D4646R4b.d.ts → AuthService-DYuQPJj6.d.ts} +0 -9
- package/dist/{DataTable-DGZDJUYM.js → DataTable-WTS4IRF2.js} +7 -8
- package/dist/{PublicLoadingSpinner-DgDWTFqn.d.ts → PublicLoadingSpinner-CaoRbHvJ.d.ts} +30 -4
- package/dist/{UnifiedAuthProvider-UACKFATV.js → UnifiedAuthProvider-6C47WIML.js} +3 -4
- package/dist/{chunk-D6BOFXYR.js → chunk-35ZDPMBM.js} +3 -3
- package/dist/{chunk-CGURJ27Z.js → chunk-4MXVZVNS.js} +2 -2
- package/dist/{chunk-ZYJ6O5CA.js → chunk-C43QIDN3.js} +2 -2
- package/dist/{chunk-VKOCWWVY.js → chunk-CX5M4ZAG.js} +1 -6
- package/dist/{chunk-VKOCWWVY.js.map → chunk-CX5M4ZAG.js.map} +1 -1
- package/dist/{chunk-HFBOFZ3Z.js → chunk-DHMFMXFV.js} +258 -243
- package/dist/chunk-DHMFMXFV.js.map +1 -0
- package/dist/{chunk-RIEJGKD3.js → chunk-ESJTIADP.js} +15 -6
- package/dist/{chunk-RIEJGKD3.js.map → chunk-ESJTIADP.js.map} +1 -1
- package/dist/{chunk-SMJZMKYN.js → chunk-GEVIB2UB.js} +43 -10
- package/dist/chunk-GEVIB2UB.js.map +1 -0
- package/dist/{chunk-TDNI6ZWL.js → chunk-IJOZZOGT.js} +7 -7
- package/dist/chunk-IJOZZOGT.js.map +1 -0
- package/dist/{chunk-GZRXOUBE.js → chunk-M6DDYFUD.js} +2 -2
- package/dist/chunk-M6DDYFUD.js.map +1 -0
- package/dist/{chunk-B4GZ2BXO.js → chunk-NZGLXZGP.js} +3 -3
- package/dist/{chunk-NZ32EONV.js → chunk-QWNJCQXZ.js} +2 -2
- package/dist/{chunk-FKFHZUGF.js → chunk-XN6GWKMV.js} +43 -56
- package/dist/chunk-XN6GWKMV.js.map +1 -0
- package/dist/{chunk-BHWIUEYH.js → chunk-ZBLK676C.js} +1 -61
- package/dist/chunk-ZBLK676C.js.map +1 -0
- package/dist/{chunk-QPI2CCBA.js → chunk-ZPJMYGEP.js} +149 -96
- package/dist/chunk-ZPJMYGEP.js.map +1 -0
- package/dist/components.d.ts +1 -1
- package/dist/components.js +11 -11
- package/dist/{formatting-B1jSqgl-.d.ts → formatting-DFcCxUEk.d.ts} +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +9 -8
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +19 -17
- package/dist/index.js.map +1 -1
- package/dist/providers.d.ts +2 -2
- package/dist/providers.js +2 -3
- package/dist/rbac/index.js +7 -8
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.js +5 -3
- package/dist/theming/runtime.d.ts +73 -1
- package/dist/theming/runtime.js +5 -5
- package/dist/{usePublicRouteParams-BdF8bZgs.d.ts → usePublicRouteParams-Dyt1tzI9.d.ts} +60 -8
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +5 -5
- package/docs/api/classes/ColumnFactory.md +1 -1
- package/docs/api/classes/ErrorBoundary.md +1 -1
- package/docs/api/classes/InvalidScopeError.md +1 -1
- package/docs/api/classes/MissingUserContextError.md +1 -1
- package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
- package/docs/api/classes/PermissionDeniedError.md +1 -1
- package/docs/api/classes/PublicErrorBoundary.md +6 -6
- package/docs/api/classes/RBACAuditManager.md +1 -1
- package/docs/api/classes/RBACCache.md +1 -1
- package/docs/api/classes/RBACEngine.md +1 -1
- package/docs/api/classes/RBACError.md +1 -1
- package/docs/api/classes/RBACNotInitializedError.md +1 -1
- package/docs/api/classes/SecureSupabaseClient.md +6 -6
- package/docs/api/classes/StorageUtils.md +1 -1
- package/docs/api/enums/FileCategory.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CardProps.md +1 -1
- package/docs/api/interfaces/ColorPalette.md +1 -1
- package/docs/api/interfaces/ColorShade.md +1 -1
- package/docs/api/interfaces/DataAccessRecord.md +1 -1
- package/docs/api/interfaces/DataRecord.md +1 -1
- package/docs/api/interfaces/DataTableAction.md +1 -1
- package/docs/api/interfaces/DataTableColumn.md +1 -1
- package/docs/api/interfaces/DataTableProps.md +1 -1
- package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
- package/docs/api/interfaces/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventAppRoleData.md +1 -1
- package/docs/api/interfaces/FileDisplayProps.md +1 -1
- package/docs/api/interfaces/FileMetadata.md +1 -1
- package/docs/api/interfaces/FileReference.md +1 -1
- package/docs/api/interfaces/FileSizeLimits.md +1 -1
- package/docs/api/interfaces/FileUploadOptions.md +1 -1
- package/docs/api/interfaces/FileUploadProps.md +1 -1
- package/docs/api/interfaces/FooterProps.md +1 -1
- package/docs/api/interfaces/GrantEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
- package/docs/api/interfaces/InputProps.md +1 -1
- package/docs/api/interfaces/LabelProps.md +1 -1
- package/docs/api/interfaces/LoginFormProps.md +1 -1
- package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
- package/docs/api/interfaces/NavigationContextType.md +1 -1
- package/docs/api/interfaces/NavigationGuardProps.md +1 -1
- package/docs/api/interfaces/NavigationItem.md +1 -1
- package/docs/api/interfaces/NavigationMenuProps.md +1 -1
- package/docs/api/interfaces/NavigationProviderProps.md +1 -1
- package/docs/api/interfaces/Organisation.md +1 -1
- package/docs/api/interfaces/OrganisationContextType.md +1 -1
- package/docs/api/interfaces/OrganisationMembership.md +1 -1
- package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
- package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
- package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
- package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
- package/docs/api/interfaces/PageAccessRecord.md +1 -1
- package/docs/api/interfaces/PagePermissionContextType.md +1 -1
- package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
- package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
- package/docs/api/interfaces/PaletteData.md +1 -1
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/ProtectedRouteProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryProps.md +7 -7
- package/docs/api/interfaces/PublicErrorBoundaryState.md +5 -5
- package/docs/api/interfaces/PublicLoadingSpinnerProps.md +7 -7
- package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
- package/docs/api/interfaces/PublicPageHeaderProps.md +51 -12
- package/docs/api/interfaces/PublicPageLayoutProps.md +72 -12
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RoleManagementResult.md +1 -1
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
- package/docs/api/interfaces/StorageConfig.md +1 -1
- package/docs/api/interfaces/StorageFileInfo.md +1 -1
- package/docs/api/interfaces/StorageFileMetadata.md +1 -1
- package/docs/api/interfaces/StorageListOptions.md +1 -1
- package/docs/api/interfaces/StorageListResult.md +1 -1
- package/docs/api/interfaces/StorageUploadOptions.md +1 -1
- package/docs/api/interfaces/StorageUploadResult.md +1 -1
- package/docs/api/interfaces/StorageUrlOptions.md +1 -1
- package/docs/api/interfaces/StyleImport.md +1 -1
- package/docs/api/interfaces/SwitchProps.md +1 -1
- package/docs/api/interfaces/ToastActionElement.md +1 -1
- package/docs/api/interfaces/ToastProps.md +1 -1
- package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayOptions.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeOptions.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeReturn.md +1 -1
- package/docs/api/interfaces/UserEventAccess.md +1 -1
- package/docs/api/interfaces/UserMenuProps.md +1 -1
- package/docs/api/interfaces/UserProfile.md +1 -1
- package/docs/api/modules.md +140 -30
- package/docs/best-practices/README.md +1 -1
- package/docs/implementation-guides/datatable-filtering.md +313 -0
- package/docs/implementation-guides/datatable-rbac-usage.md +317 -0
- package/docs/implementation-guides/hierarchical-datatable.md +850 -0
- package/docs/implementation-guides/large-datasets.md +281 -0
- package/docs/implementation-guides/performance.md +403 -0
- package/docs/implementation-guides/public-pages.md +4 -4
- package/docs/migration/quick-migration-guide.md +320 -0
- package/docs/rbac/quick-start.md +16 -16
- package/docs/troubleshooting/README.md +4 -4
- package/docs/troubleshooting/cake-page-permission-guard-issue-summary.md +1 -1
- package/docs/troubleshooting/debugging.md +1117 -0
- package/docs/troubleshooting/migration.md +918 -0
- package/examples/public-pages/CorrectPublicPageImplementation.tsx +30 -30
- package/examples/public-pages/PublicEventPage.tsx +41 -41
- package/examples/public-pages/PublicPageApp.tsx +33 -33
- package/examples/public-pages/PublicPageUsageExample.tsx +30 -30
- package/package.json +4 -4
- package/src/__tests__/hooks/usePermissions.test.ts +265 -0
- package/src/components/DataTable/DataTable.test.tsx +9 -38
- package/src/components/DataTable/DataTable.tsx +0 -7
- package/src/components/DataTable/components/DataTableCore.tsx +66 -136
- package/src/components/DataTable/components/DataTableModals.tsx +25 -22
- package/src/components/DataTable/components/EditableRow.tsx +118 -42
- package/src/components/DataTable/components/UnifiedTableBody.tsx +129 -76
- package/src/components/DataTable/components/__tests__/DataTableModals.test.tsx +33 -14
- package/src/components/DataTable/utils/__tests__/exportUtils.test.ts +17 -5
- package/src/components/DataTable/utils/exportUtils.ts +3 -2
- package/src/components/DataTable/utils/flexibleImport.ts +27 -6
- package/src/components/Dialog/Dialog.tsx +1 -1
- package/src/components/Dialog/README.md +24 -24
- package/src/components/Dialog/examples/BasicHtmlTest.tsx +2 -2
- package/src/components/Dialog/examples/DebugHtmlExample.tsx +6 -6
- package/src/components/Dialog/examples/HtmlDialogExample.tsx +2 -2
- package/src/components/Dialog/examples/SimpleHtmlTest.tsx +3 -3
- package/src/components/Dialog/examples/__tests__/SimpleHtmlTest.test.tsx +4 -4
- package/src/components/PaceAppLayout/PaceAppLayout.tsx +12 -1
- package/src/components/PublicLayout/EventLogo.tsx +175 -0
- package/src/components/PublicLayout/PublicErrorBoundary.tsx +22 -18
- package/src/components/PublicLayout/PublicLoadingSpinner.tsx +22 -14
- package/src/components/PublicLayout/PublicPageHeader.tsx +133 -40
- package/src/components/PublicLayout/PublicPageLayout.tsx +75 -72
- package/src/components/PublicLayout/__tests__/PublicErrorBoundary.test.tsx +1 -1
- package/src/components/PublicLayout/__tests__/PublicLoadingSpinner.test.tsx +8 -8
- package/src/components/PublicLayout/__tests__/PublicPageHeader.test.tsx +23 -16
- package/src/components/PublicLayout/__tests__/PublicPageLayout.test.tsx +86 -14
- package/src/examples/CorrectPublicPageImplementation.tsx +30 -30
- package/src/examples/PublicEventPage.tsx +41 -41
- package/src/examples/PublicPageApp.tsx +33 -33
- package/src/examples/PublicPageUsageExample.tsx +30 -30
- package/src/hooks/__tests__/usePublicEvent.unit.test.ts +583 -0
- package/src/hooks/__tests__/usePublicRouteParams.unit.test.ts +10 -3
- package/src/hooks/index.ts +1 -1
- package/src/hooks/public/usePublicEventLogo.ts +285 -0
- package/src/hooks/public/usePublicRouteParams.ts +21 -4
- package/src/hooks/useEventTheme.test.ts +119 -43
- package/src/hooks/useEventTheme.ts +84 -55
- package/src/index.ts +3 -1
- package/src/rbac/components/__tests__/EnhancedNavigationMenu.test.tsx +630 -0
- package/src/rbac/components/__tests__/NavigationProvider.test.tsx +667 -0
- package/src/rbac/components/__tests__/PagePermissionProvider.test.tsx +647 -0
- package/src/rbac/components/__tests__/SecureDataProvider.fixed.test.tsx +496 -0
- package/src/rbac/components/__tests__/SecureDataProvider.test.tsx +496 -0
- package/src/rbac/secureClient.ts +4 -2
- package/src/services/EventService.ts +0 -66
- package/src/services/__tests__/EventService.eventColours.test.ts +44 -40
- package/src/styles/index.ts +1 -1
- package/src/theming/__tests__/parseEventColours.test.ts +209 -0
- package/src/theming/parseEventColours.ts +123 -0
- package/src/theming/runtime.ts +3 -0
- package/src/types/__tests__/file-reference.test.ts +447 -0
- package/src/types/database.generated.ts +1515 -424
- package/src/utils/formatDate.test.ts +11 -11
- package/src/utils/formatting.ts +3 -2
- package/dist/chunk-BHWIUEYH.js.map +0 -1
- package/dist/chunk-FKFHZUGF.js.map +0 -1
- package/dist/chunk-GZRXOUBE.js.map +0 -1
- package/dist/chunk-HFBOFZ3Z.js.map +0 -1
- package/dist/chunk-QPI2CCBA.js.map +0 -1
- package/dist/chunk-SMJZMKYN.js.map +0 -1
- package/dist/chunk-TDNI6ZWL.js.map +0 -1
- package/src/styles/semantic.css +0 -24
- /package/dist/{DataTable-DGZDJUYM.js.map → DataTable-WTS4IRF2.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-UACKFATV.js.map → UnifiedAuthProvider-6C47WIML.js.map} +0 -0
- /package/dist/{chunk-D6BOFXYR.js.map → chunk-35ZDPMBM.js.map} +0 -0
- /package/dist/{chunk-CGURJ27Z.js.map → chunk-4MXVZVNS.js.map} +0 -0
- /package/dist/{chunk-ZYJ6O5CA.js.map → chunk-C43QIDN3.js.map} +0 -0
- /package/dist/{chunk-B4GZ2BXO.js.map → chunk-NZGLXZGP.js.map} +0 -0
- /package/dist/{chunk-NZ32EONV.js.map → chunk-QWNJCQXZ.js.map} +0 -0
|
@@ -4718,6 +4718,7 @@ export type Database = {
|
|
|
4718
4718
|
}
|
|
4719
4719
|
rbac_user_login_history: {
|
|
4720
4720
|
Row: {
|
|
4721
|
+
app_id: string | null
|
|
4721
4722
|
email: string
|
|
4722
4723
|
event_id: string | null
|
|
4723
4724
|
id: string
|
|
@@ -4729,6 +4730,7 @@ export type Database = {
|
|
|
4729
4730
|
user_id: string
|
|
4730
4731
|
}
|
|
4731
4732
|
Insert: {
|
|
4733
|
+
app_id?: string | null
|
|
4732
4734
|
email: string
|
|
4733
4735
|
event_id?: string | null
|
|
4734
4736
|
id?: string
|
|
@@ -4740,6 +4742,7 @@ export type Database = {
|
|
|
4740
4742
|
user_id: string
|
|
4741
4743
|
}
|
|
4742
4744
|
Update: {
|
|
4745
|
+
app_id?: string | null
|
|
4743
4746
|
email?: string
|
|
4744
4747
|
event_id?: string | null
|
|
4745
4748
|
id?: string
|
|
@@ -4779,6 +4782,13 @@ export type Database = {
|
|
|
4779
4782
|
referencedRelation: "user_profiles"
|
|
4780
4783
|
referencedColumns: ["user_id"]
|
|
4781
4784
|
},
|
|
4785
|
+
{
|
|
4786
|
+
foreignKeyName: "rbac_user_login_history_app_id_fkey"
|
|
4787
|
+
columns: ["app_id"]
|
|
4788
|
+
isOneToOne: false
|
|
4789
|
+
referencedRelation: "rbac_apps"
|
|
4790
|
+
referencedColumns: ["id"]
|
|
4791
|
+
},
|
|
4782
4792
|
{
|
|
4783
4793
|
foreignKeyName: "rbac_user_login_history_organisation_id_fkey"
|
|
4784
4794
|
columns: ["organisation_id"]
|
|
@@ -4801,7 +4811,7 @@ export type Database = {
|
|
|
4801
4811
|
email: string
|
|
4802
4812
|
full_name: string | null
|
|
4803
4813
|
id: string
|
|
4804
|
-
organisation_id: string
|
|
4814
|
+
organisation_id: string | null
|
|
4805
4815
|
updated_at: string
|
|
4806
4816
|
}
|
|
4807
4817
|
Insert: {
|
|
@@ -4809,7 +4819,7 @@ export type Database = {
|
|
|
4809
4819
|
email: string
|
|
4810
4820
|
full_name?: string | null
|
|
4811
4821
|
id: string
|
|
4812
|
-
organisation_id
|
|
4822
|
+
organisation_id?: string | null
|
|
4813
4823
|
updated_at?: string
|
|
4814
4824
|
}
|
|
4815
4825
|
Update: {
|
|
@@ -4817,7 +4827,7 @@ export type Database = {
|
|
|
4817
4827
|
email?: string
|
|
4818
4828
|
full_name?: string | null
|
|
4819
4829
|
id?: string
|
|
4820
|
-
organisation_id?: string
|
|
4830
|
+
organisation_id?: string | null
|
|
4821
4831
|
updated_at?: string
|
|
4822
4832
|
}
|
|
4823
4833
|
Relationships: [
|
|
@@ -4834,6 +4844,7 @@ export type Database = {
|
|
|
4834
4844
|
Row: {
|
|
4835
4845
|
app_id: string | null
|
|
4836
4846
|
created_at: string | null
|
|
4847
|
+
device_fingerprint: string | null
|
|
4837
4848
|
event_id: string | null
|
|
4838
4849
|
expires_at: string | null
|
|
4839
4850
|
id: string
|
|
@@ -4848,6 +4859,7 @@ export type Database = {
|
|
|
4848
4859
|
Insert: {
|
|
4849
4860
|
app_id?: string | null
|
|
4850
4861
|
created_at?: string | null
|
|
4862
|
+
device_fingerprint?: string | null
|
|
4851
4863
|
event_id?: string | null
|
|
4852
4864
|
expires_at?: string | null
|
|
4853
4865
|
id?: string
|
|
@@ -4862,6 +4874,7 @@ export type Database = {
|
|
|
4862
4874
|
Update: {
|
|
4863
4875
|
app_id?: string | null
|
|
4864
4876
|
created_at?: string | null
|
|
4877
|
+
device_fingerprint?: string | null
|
|
4865
4878
|
event_id?: string | null
|
|
4866
4879
|
expires_at?: string | null
|
|
4867
4880
|
id?: string
|
|
@@ -6099,6 +6112,110 @@ export type Database = {
|
|
|
6099
6112
|
}
|
|
6100
6113
|
Functions: {
|
|
6101
6114
|
add_geo_columns_to_transport_tables: { Args: never; Returns: undefined }
|
|
6115
|
+
app_cake_delivery_upsert:
|
|
6116
|
+
| {
|
|
6117
|
+
Args: {
|
|
6118
|
+
p_collection_date: string
|
|
6119
|
+
p_delivery_address?: string
|
|
6120
|
+
p_delivery_date: string
|
|
6121
|
+
p_delivery_id?: string
|
|
6122
|
+
p_delivery_notes?: string
|
|
6123
|
+
p_event_id: string
|
|
6124
|
+
p_organisation_id?: string
|
|
6125
|
+
p_supplier_id: string
|
|
6126
|
+
p_user_id?: string
|
|
6127
|
+
}
|
|
6128
|
+
Returns: {
|
|
6129
|
+
delivery_id: string
|
|
6130
|
+
error_code: string
|
|
6131
|
+
message: string
|
|
6132
|
+
success: boolean
|
|
6133
|
+
}[]
|
|
6134
|
+
}
|
|
6135
|
+
| {
|
|
6136
|
+
Args: {
|
|
6137
|
+
p_collection_date: string
|
|
6138
|
+
p_delivery_address?: string
|
|
6139
|
+
p_delivery_date: string
|
|
6140
|
+
p_delivery_id?: string
|
|
6141
|
+
p_delivery_notes?: string
|
|
6142
|
+
p_event_id: string
|
|
6143
|
+
p_organisation_id?: string
|
|
6144
|
+
p_supplier_id: string
|
|
6145
|
+
p_user_id?: string
|
|
6146
|
+
}
|
|
6147
|
+
Returns: {
|
|
6148
|
+
created_at: string
|
|
6149
|
+
created_by: string
|
|
6150
|
+
delivery_address: string
|
|
6151
|
+
delivery_date: string
|
|
6152
|
+
delivery_event_id: string
|
|
6153
|
+
delivery_id: string
|
|
6154
|
+
delivery_notes: string
|
|
6155
|
+
delivery_supplier_id: string
|
|
6156
|
+
delivery_unitcollectiondate: string
|
|
6157
|
+
message: string
|
|
6158
|
+
organisation_id: string
|
|
6159
|
+
success: boolean
|
|
6160
|
+
supplier_name: string
|
|
6161
|
+
updated_at: string
|
|
6162
|
+
updated_by: string
|
|
6163
|
+
}[]
|
|
6164
|
+
}
|
|
6165
|
+
app_cake_diner_create: {
|
|
6166
|
+
Args: {
|
|
6167
|
+
p_diner_adult?: number
|
|
6168
|
+
p_diner_diettype_id: string
|
|
6169
|
+
p_diner_unit_id: string
|
|
6170
|
+
p_diner_youth?: number
|
|
6171
|
+
p_organisation_id?: string
|
|
6172
|
+
p_user_id?: string
|
|
6173
|
+
}
|
|
6174
|
+
Returns: {
|
|
6175
|
+
created_at: string
|
|
6176
|
+
created_by: string
|
|
6177
|
+
diettype_code: string
|
|
6178
|
+
diettype_description: string
|
|
6179
|
+
diettype_name: string
|
|
6180
|
+
diner_adult: number
|
|
6181
|
+
diner_diettype_id: string
|
|
6182
|
+
diner_id: string
|
|
6183
|
+
diner_unit_id: string
|
|
6184
|
+
diner_youth: number
|
|
6185
|
+
message: string
|
|
6186
|
+
organisation_id: string
|
|
6187
|
+
success: boolean
|
|
6188
|
+
updated_at: string
|
|
6189
|
+
updated_by: string
|
|
6190
|
+
}[]
|
|
6191
|
+
}
|
|
6192
|
+
app_cake_diner_update: {
|
|
6193
|
+
Args: {
|
|
6194
|
+
p_diner_adult?: number
|
|
6195
|
+
p_diner_diettype_id?: string
|
|
6196
|
+
p_diner_id: string
|
|
6197
|
+
p_diner_youth?: number
|
|
6198
|
+
p_organisation_id?: string
|
|
6199
|
+
p_user_id?: string
|
|
6200
|
+
}
|
|
6201
|
+
Returns: {
|
|
6202
|
+
created_at: string
|
|
6203
|
+
created_by: string
|
|
6204
|
+
diettype_code: string
|
|
6205
|
+
diettype_description: string
|
|
6206
|
+
diettype_name: string
|
|
6207
|
+
diner_adult: number
|
|
6208
|
+
diner_diettype_id: string
|
|
6209
|
+
diner_id: string
|
|
6210
|
+
diner_unit_id: string
|
|
6211
|
+
diner_youth: number
|
|
6212
|
+
message: string
|
|
6213
|
+
organisation_id: string
|
|
6214
|
+
success: boolean
|
|
6215
|
+
updated_at: string
|
|
6216
|
+
updated_by: string
|
|
6217
|
+
}[]
|
|
6218
|
+
}
|
|
6102
6219
|
app_cake_dish_create: {
|
|
6103
6220
|
Args: {
|
|
6104
6221
|
p_dish_code: string
|
|
@@ -6118,15 +6235,28 @@ export type Database = {
|
|
|
6118
6235
|
p_user_id?: string
|
|
6119
6236
|
}
|
|
6120
6237
|
Returns: {
|
|
6121
|
-
audit_id: string
|
|
6122
6238
|
created_at: string
|
|
6239
|
+
created_by: string
|
|
6123
6240
|
dish_code: string
|
|
6241
|
+
dish_description: string
|
|
6242
|
+
dish_dietnote: string
|
|
6243
|
+
dish_equipment: string
|
|
6244
|
+
dish_event_id: string
|
|
6124
6245
|
dish_id: string
|
|
6246
|
+
dish_mealtype_id: string
|
|
6125
6247
|
dish_name: string
|
|
6126
|
-
|
|
6248
|
+
dish_prep: string
|
|
6249
|
+
dish_step1: string
|
|
6250
|
+
dish_step2: string
|
|
6251
|
+
dish_step3: string
|
|
6252
|
+
dish_step4: string
|
|
6253
|
+
dish_step5: string
|
|
6127
6254
|
mealtype_name: string
|
|
6128
6255
|
message: string
|
|
6256
|
+
organisation_id: string
|
|
6129
6257
|
success: boolean
|
|
6258
|
+
updated_at: string
|
|
6259
|
+
updated_by: string
|
|
6130
6260
|
}[]
|
|
6131
6261
|
}
|
|
6132
6262
|
app_cake_dish_delete: {
|
|
@@ -6136,10 +6266,28 @@ export type Database = {
|
|
|
6136
6266
|
p_user_id?: string
|
|
6137
6267
|
}
|
|
6138
6268
|
Returns: {
|
|
6139
|
-
|
|
6140
|
-
|
|
6269
|
+
created_at: string
|
|
6270
|
+
created_by: string
|
|
6271
|
+
dish_code: string
|
|
6272
|
+
dish_description: string
|
|
6273
|
+
dish_dietnote: string
|
|
6274
|
+
dish_equipment: string
|
|
6275
|
+
dish_event_id: string
|
|
6276
|
+
dish_id: string
|
|
6277
|
+
dish_mealtype_id: string
|
|
6278
|
+
dish_name: string
|
|
6279
|
+
dish_prep: string
|
|
6280
|
+
dish_step1: string
|
|
6281
|
+
dish_step2: string
|
|
6282
|
+
dish_step3: string
|
|
6283
|
+
dish_step4: string
|
|
6284
|
+
dish_step5: string
|
|
6285
|
+
mealtype_name: string
|
|
6141
6286
|
message: string
|
|
6287
|
+
organisation_id: string
|
|
6142
6288
|
success: boolean
|
|
6289
|
+
updated_at: string
|
|
6290
|
+
updated_by: string
|
|
6143
6291
|
}[]
|
|
6144
6292
|
}
|
|
6145
6293
|
app_cake_dish_update: {
|
|
@@ -6161,181 +6309,495 @@ export type Database = {
|
|
|
6161
6309
|
p_user_id?: string
|
|
6162
6310
|
}
|
|
6163
6311
|
Returns: {
|
|
6164
|
-
|
|
6312
|
+
created_at: string
|
|
6313
|
+
created_by: string
|
|
6165
6314
|
dish_code: string
|
|
6315
|
+
dish_description: string
|
|
6316
|
+
dish_dietnote: string
|
|
6317
|
+
dish_equipment: string
|
|
6318
|
+
dish_event_id: string
|
|
6166
6319
|
dish_id: string
|
|
6320
|
+
dish_mealtype_id: string
|
|
6167
6321
|
dish_name: string
|
|
6168
|
-
|
|
6322
|
+
dish_prep: string
|
|
6323
|
+
dish_step1: string
|
|
6324
|
+
dish_step2: string
|
|
6325
|
+
dish_step3: string
|
|
6326
|
+
dish_step4: string
|
|
6327
|
+
dish_step5: string
|
|
6169
6328
|
mealtype_name: string
|
|
6170
6329
|
message: string
|
|
6330
|
+
organisation_id: string
|
|
6171
6331
|
success: boolean
|
|
6172
6332
|
updated_at: string
|
|
6333
|
+
updated_by: string
|
|
6173
6334
|
}[]
|
|
6174
6335
|
}
|
|
6175
|
-
app_cake_item_create:
|
|
6336
|
+
app_cake_item_create:
|
|
6337
|
+
| {
|
|
6338
|
+
Args: {
|
|
6339
|
+
p_event_id?: string
|
|
6340
|
+
p_item_brand: string
|
|
6341
|
+
p_item_diet_dairyfree?: string
|
|
6342
|
+
p_item_diet_diabetic?: string
|
|
6343
|
+
p_item_diet_eggfree?: string
|
|
6344
|
+
p_item_diet_glutenfree?: string
|
|
6345
|
+
p_item_diet_halal?: string
|
|
6346
|
+
p_item_diet_kosher?: string
|
|
6347
|
+
p_item_diet_lactosefree?: string
|
|
6348
|
+
p_item_diet_lowfodmap?: string
|
|
6349
|
+
p_item_diet_lowfructose?: string
|
|
6350
|
+
p_item_diet_porkfree?: string
|
|
6351
|
+
p_item_diet_redmeatfree?: string
|
|
6352
|
+
p_item_diet_vegan?: string
|
|
6353
|
+
p_item_diet_vegetarian?: string
|
|
6354
|
+
p_item_distribution?: string
|
|
6355
|
+
p_item_ingredients?: string
|
|
6356
|
+
p_item_logistics?: number
|
|
6357
|
+
p_item_name: string
|
|
6358
|
+
p_item_packageunit: string
|
|
6359
|
+
p_item_producturl?: string
|
|
6360
|
+
p_organisation_id?: string
|
|
6361
|
+
p_user_id?: string
|
|
6362
|
+
}
|
|
6363
|
+
Returns: {
|
|
6364
|
+
audit_id: string
|
|
6365
|
+
error_code: string
|
|
6366
|
+
item_id: string
|
|
6367
|
+
message: string
|
|
6368
|
+
success: boolean
|
|
6369
|
+
}[]
|
|
6370
|
+
}
|
|
6371
|
+
| {
|
|
6372
|
+
Args: {
|
|
6373
|
+
p_item_brand?: string
|
|
6374
|
+
p_item_diet_dairyfree?: boolean
|
|
6375
|
+
p_item_diet_diabetic?: boolean
|
|
6376
|
+
p_item_diet_eggfree?: boolean
|
|
6377
|
+
p_item_diet_glutenfree?: boolean
|
|
6378
|
+
p_item_diet_halal?: boolean
|
|
6379
|
+
p_item_diet_kosher?: boolean
|
|
6380
|
+
p_item_diet_lactosefree?: boolean
|
|
6381
|
+
p_item_diet_lowfodmap?: boolean
|
|
6382
|
+
p_item_diet_lowfructose?: boolean
|
|
6383
|
+
p_item_diet_porkfree?: boolean
|
|
6384
|
+
p_item_diet_redmeatfree?: boolean
|
|
6385
|
+
p_item_diet_vegan?: boolean
|
|
6386
|
+
p_item_diet_vegetarian?: boolean
|
|
6387
|
+
p_item_distribution?: string
|
|
6388
|
+
p_item_ingredients?: string
|
|
6389
|
+
p_item_logistics?: number
|
|
6390
|
+
p_item_name: string
|
|
6391
|
+
p_item_packageunit?: string
|
|
6392
|
+
p_item_producturl?: string
|
|
6393
|
+
p_organisation_id?: string
|
|
6394
|
+
p_user_id?: string
|
|
6395
|
+
}
|
|
6396
|
+
Returns: {
|
|
6397
|
+
created_at: string
|
|
6398
|
+
created_by: string
|
|
6399
|
+
item_brand: string
|
|
6400
|
+
item_diet_dairyfree: boolean
|
|
6401
|
+
item_diet_diabetic: boolean
|
|
6402
|
+
item_diet_eggfree: boolean
|
|
6403
|
+
item_diet_glutenfree: boolean
|
|
6404
|
+
item_diet_halal: boolean
|
|
6405
|
+
item_diet_kosher: boolean
|
|
6406
|
+
item_diet_lactosefree: boolean
|
|
6407
|
+
item_diet_lowfodmap: boolean
|
|
6408
|
+
item_diet_lowfructose: boolean
|
|
6409
|
+
item_diet_porkfree: boolean
|
|
6410
|
+
item_diet_redmeatfree: boolean
|
|
6411
|
+
item_diet_vegan: boolean
|
|
6412
|
+
item_diet_vegetarian: boolean
|
|
6413
|
+
item_distribution: string
|
|
6414
|
+
item_id: string
|
|
6415
|
+
item_ingredients: string
|
|
6416
|
+
item_logistics: number
|
|
6417
|
+
item_name: string
|
|
6418
|
+
item_packageunit: string
|
|
6419
|
+
item_producturl: string
|
|
6420
|
+
message: string
|
|
6421
|
+
organisation_id: string
|
|
6422
|
+
success: boolean
|
|
6423
|
+
updated_at: string
|
|
6424
|
+
updated_by: string
|
|
6425
|
+
}[]
|
|
6426
|
+
}
|
|
6427
|
+
app_cake_item_update:
|
|
6428
|
+
| {
|
|
6429
|
+
Args: {
|
|
6430
|
+
p_event_id?: string
|
|
6431
|
+
p_item_brand?: string
|
|
6432
|
+
p_item_diet_dairyfree?: string
|
|
6433
|
+
p_item_diet_diabetic?: string
|
|
6434
|
+
p_item_diet_eggfree?: string
|
|
6435
|
+
p_item_diet_glutenfree?: string
|
|
6436
|
+
p_item_diet_halal?: string
|
|
6437
|
+
p_item_diet_kosher?: string
|
|
6438
|
+
p_item_diet_lactosefree?: string
|
|
6439
|
+
p_item_diet_lowfodmap?: string
|
|
6440
|
+
p_item_diet_lowfructose?: string
|
|
6441
|
+
p_item_diet_porkfree?: string
|
|
6442
|
+
p_item_diet_redmeatfree?: string
|
|
6443
|
+
p_item_diet_vegan?: string
|
|
6444
|
+
p_item_diet_vegetarian?: string
|
|
6445
|
+
p_item_distribution?: string
|
|
6446
|
+
p_item_id: string
|
|
6447
|
+
p_item_ingredients?: string
|
|
6448
|
+
p_item_logistics?: number
|
|
6449
|
+
p_item_name?: string
|
|
6450
|
+
p_item_packageunit?: string
|
|
6451
|
+
p_item_producturl?: string
|
|
6452
|
+
p_organisation_id?: string
|
|
6453
|
+
p_user_id?: string
|
|
6454
|
+
}
|
|
6455
|
+
Returns: {
|
|
6456
|
+
audit_id: string
|
|
6457
|
+
error_code: string
|
|
6458
|
+
message: string
|
|
6459
|
+
success: boolean
|
|
6460
|
+
}[]
|
|
6461
|
+
}
|
|
6462
|
+
| {
|
|
6463
|
+
Args: {
|
|
6464
|
+
p_item_brand?: string
|
|
6465
|
+
p_item_diet_dairyfree?: boolean
|
|
6466
|
+
p_item_diet_diabetic?: boolean
|
|
6467
|
+
p_item_diet_eggfree?: boolean
|
|
6468
|
+
p_item_diet_glutenfree?: boolean
|
|
6469
|
+
p_item_diet_halal?: boolean
|
|
6470
|
+
p_item_diet_kosher?: boolean
|
|
6471
|
+
p_item_diet_lactosefree?: boolean
|
|
6472
|
+
p_item_diet_lowfodmap?: boolean
|
|
6473
|
+
p_item_diet_lowfructose?: boolean
|
|
6474
|
+
p_item_diet_porkfree?: boolean
|
|
6475
|
+
p_item_diet_redmeatfree?: boolean
|
|
6476
|
+
p_item_diet_vegan?: boolean
|
|
6477
|
+
p_item_diet_vegetarian?: boolean
|
|
6478
|
+
p_item_distribution?: string
|
|
6479
|
+
p_item_id: string
|
|
6480
|
+
p_item_ingredients?: string
|
|
6481
|
+
p_item_logistics?: number
|
|
6482
|
+
p_item_name?: string
|
|
6483
|
+
p_item_packageunit?: string
|
|
6484
|
+
p_item_producturl?: string
|
|
6485
|
+
p_organisation_id?: string
|
|
6486
|
+
p_user_id?: string
|
|
6487
|
+
}
|
|
6488
|
+
Returns: {
|
|
6489
|
+
created_at: string
|
|
6490
|
+
created_by: string
|
|
6491
|
+
item_brand: string
|
|
6492
|
+
item_diet_dairyfree: boolean
|
|
6493
|
+
item_diet_diabetic: boolean
|
|
6494
|
+
item_diet_eggfree: boolean
|
|
6495
|
+
item_diet_glutenfree: boolean
|
|
6496
|
+
item_diet_halal: boolean
|
|
6497
|
+
item_diet_kosher: boolean
|
|
6498
|
+
item_diet_lactosefree: boolean
|
|
6499
|
+
item_diet_lowfodmap: boolean
|
|
6500
|
+
item_diet_lowfructose: boolean
|
|
6501
|
+
item_diet_porkfree: boolean
|
|
6502
|
+
item_diet_redmeatfree: boolean
|
|
6503
|
+
item_diet_vegan: boolean
|
|
6504
|
+
item_diet_vegetarian: boolean
|
|
6505
|
+
item_distribution: string
|
|
6506
|
+
item_id: string
|
|
6507
|
+
item_ingredients: string
|
|
6508
|
+
item_logistics: number
|
|
6509
|
+
item_name: string
|
|
6510
|
+
item_packageunit: string
|
|
6511
|
+
item_producturl: string
|
|
6512
|
+
message: string
|
|
6513
|
+
organisation_id: string
|
|
6514
|
+
success: boolean
|
|
6515
|
+
updated_at: string
|
|
6516
|
+
updated_by: string
|
|
6517
|
+
}[]
|
|
6518
|
+
}
|
|
6519
|
+
app_cake_meal_create: {
|
|
6176
6520
|
Args: {
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
p_item_diet_halal?: string
|
|
6183
|
-
p_item_diet_kosher?: string
|
|
6184
|
-
p_item_diet_lactosefree?: string
|
|
6185
|
-
p_item_diet_lowfodmap?: string
|
|
6186
|
-
p_item_diet_lowfructose?: string
|
|
6187
|
-
p_item_diet_porkfree?: string
|
|
6188
|
-
p_item_diet_redmeatfree?: string
|
|
6189
|
-
p_item_diet_vegan?: string
|
|
6190
|
-
p_item_diet_vegetarian?: string
|
|
6191
|
-
p_item_distribution?: string
|
|
6192
|
-
p_item_ingredients?: string
|
|
6193
|
-
p_item_logistics?: number
|
|
6194
|
-
p_item_name: string
|
|
6195
|
-
p_item_packageunit: string
|
|
6196
|
-
p_item_producturl?: string
|
|
6521
|
+
p_meal_code: string
|
|
6522
|
+
p_meal_collectiondate?: string
|
|
6523
|
+
p_meal_date: string
|
|
6524
|
+
p_meal_event_id: string
|
|
6525
|
+
p_meal_mealtype_id: string
|
|
6197
6526
|
p_organisation_id?: string
|
|
6198
6527
|
p_user_id?: string
|
|
6199
6528
|
}
|
|
6200
6529
|
Returns: {
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6530
|
+
created_at: string
|
|
6531
|
+
created_by: string
|
|
6532
|
+
meal_code: string
|
|
6533
|
+
meal_collectiondate: string
|
|
6534
|
+
meal_date: string
|
|
6535
|
+
meal_event_id: string
|
|
6536
|
+
meal_id: string
|
|
6537
|
+
meal_mealtype_id: string
|
|
6538
|
+
mealtype_name: string
|
|
6204
6539
|
message: string
|
|
6540
|
+
organisation_id: string
|
|
6205
6541
|
success: boolean
|
|
6542
|
+
updated_at: string
|
|
6543
|
+
updated_by: string
|
|
6206
6544
|
}[]
|
|
6207
6545
|
}
|
|
6208
|
-
|
|
6546
|
+
app_cake_meal_delete: {
|
|
6209
6547
|
Args: {
|
|
6210
|
-
|
|
6211
|
-
p_item_id: string
|
|
6548
|
+
p_meal_id: string
|
|
6212
6549
|
p_organisation_id?: string
|
|
6213
6550
|
p_user_id?: string
|
|
6214
6551
|
}
|
|
6215
6552
|
Returns: {
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6553
|
+
created_at: string
|
|
6554
|
+
created_by: string
|
|
6555
|
+
meal_code: string
|
|
6556
|
+
meal_collectiondate: string
|
|
6557
|
+
meal_date: string
|
|
6558
|
+
meal_event_id: string
|
|
6559
|
+
meal_id: string
|
|
6560
|
+
meal_mealtype_id: string
|
|
6561
|
+
mealtype_name: string
|
|
6220
6562
|
message: string
|
|
6563
|
+
organisation_id: string
|
|
6221
6564
|
success: boolean
|
|
6565
|
+
updated_at: string
|
|
6566
|
+
updated_by: string
|
|
6222
6567
|
}[]
|
|
6223
6568
|
}
|
|
6224
|
-
|
|
6569
|
+
app_cake_meal_update: {
|
|
6225
6570
|
Args: {
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
p_item_diet_halal?: string
|
|
6232
|
-
p_item_diet_kosher?: string
|
|
6233
|
-
p_item_diet_lactosefree?: string
|
|
6234
|
-
p_item_diet_lowfodmap?: string
|
|
6235
|
-
p_item_diet_lowfructose?: string
|
|
6236
|
-
p_item_diet_porkfree?: string
|
|
6237
|
-
p_item_diet_redmeatfree?: string
|
|
6238
|
-
p_item_diet_vegan?: string
|
|
6239
|
-
p_item_diet_vegetarian?: string
|
|
6240
|
-
p_item_distribution?: string
|
|
6241
|
-
p_item_id: string
|
|
6242
|
-
p_item_ingredients?: string
|
|
6243
|
-
p_item_logistics?: number
|
|
6244
|
-
p_item_name?: string
|
|
6245
|
-
p_item_packageunit?: string
|
|
6246
|
-
p_item_producturl?: string
|
|
6571
|
+
p_meal_code?: string
|
|
6572
|
+
p_meal_collectiondate?: string
|
|
6573
|
+
p_meal_date?: string
|
|
6574
|
+
p_meal_id: string
|
|
6575
|
+
p_meal_mealtype_id?: string
|
|
6247
6576
|
p_organisation_id?: string
|
|
6248
6577
|
p_user_id?: string
|
|
6249
6578
|
}
|
|
6250
6579
|
Returns: {
|
|
6251
|
-
|
|
6252
|
-
|
|
6580
|
+
created_at: string
|
|
6581
|
+
created_by: string
|
|
6582
|
+
meal_code: string
|
|
6583
|
+
meal_collectiondate: string
|
|
6584
|
+
meal_date: string
|
|
6585
|
+
meal_event_id: string
|
|
6586
|
+
meal_id: string
|
|
6587
|
+
meal_mealtype_id: string
|
|
6588
|
+
mealtype_name: string
|
|
6253
6589
|
message: string
|
|
6590
|
+
organisation_id: string
|
|
6254
6591
|
success: boolean
|
|
6592
|
+
updated_at: string
|
|
6593
|
+
updated_by: string
|
|
6255
6594
|
}[]
|
|
6256
6595
|
}
|
|
6257
|
-
|
|
6596
|
+
app_cake_mealplan_bulk_delete: {
|
|
6258
6597
|
Args: {
|
|
6598
|
+
p_event_id?: string
|
|
6259
6599
|
p_organisation_id?: string
|
|
6260
|
-
|
|
6261
|
-
p_package_itemid: string
|
|
6262
|
-
p_package_palletctns?: number
|
|
6263
|
-
p_package_size: number
|
|
6264
|
-
p_package_type?: string
|
|
6600
|
+
p_unit_id: string
|
|
6265
6601
|
p_user_id?: string
|
|
6266
6602
|
}
|
|
6267
6603
|
Returns: {
|
|
6268
|
-
|
|
6269
|
-
error_code: string
|
|
6604
|
+
deleted_count: number
|
|
6270
6605
|
message: string
|
|
6271
|
-
package_id: string
|
|
6272
6606
|
success: boolean
|
|
6273
6607
|
}[]
|
|
6274
6608
|
}
|
|
6275
|
-
|
|
6609
|
+
app_cake_mealplan_create: {
|
|
6276
6610
|
Args: {
|
|
6277
|
-
|
|
6611
|
+
p_mealplan_dish_id: string
|
|
6612
|
+
p_mealplan_dish_multiplier?: number
|
|
6613
|
+
p_mealplan_meal_id: string
|
|
6614
|
+
p_mealplan_unit_id: string
|
|
6278
6615
|
p_organisation_id?: string
|
|
6279
|
-
p_package_id: string
|
|
6280
6616
|
p_user_id?: string
|
|
6281
6617
|
}
|
|
6282
6618
|
Returns: {
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6619
|
+
created_at: string
|
|
6620
|
+
created_by: string
|
|
6621
|
+
mealplan_dish_id: string
|
|
6622
|
+
mealplan_dish_multiplier: number
|
|
6623
|
+
mealplan_id: string
|
|
6624
|
+
mealplan_meal_id: string
|
|
6625
|
+
mealplan_unit_id: string
|
|
6286
6626
|
message: string
|
|
6627
|
+
organisation_id: string
|
|
6287
6628
|
success: boolean
|
|
6629
|
+
updated_at: string
|
|
6630
|
+
updated_by: string
|
|
6288
6631
|
}[]
|
|
6289
6632
|
}
|
|
6290
|
-
|
|
6633
|
+
app_cake_mealplan_update: {
|
|
6291
6634
|
Args: {
|
|
6635
|
+
p_mealplan_dish_id?: string
|
|
6636
|
+
p_mealplan_dish_multiplier?: number
|
|
6637
|
+
p_mealplan_id: string
|
|
6638
|
+
p_mealplan_meal_id?: string
|
|
6292
6639
|
p_organisation_id?: string
|
|
6293
|
-
p_package_ctnpkgs?: number
|
|
6294
|
-
p_package_id: string
|
|
6295
|
-
p_package_itemid?: string
|
|
6296
|
-
p_package_palletctns?: number
|
|
6297
|
-
p_package_size?: number
|
|
6298
|
-
p_package_type?: string
|
|
6299
6640
|
p_user_id?: string
|
|
6300
6641
|
}
|
|
6301
6642
|
Returns: {
|
|
6302
|
-
|
|
6303
|
-
|
|
6643
|
+
created_at: string
|
|
6644
|
+
created_by: string
|
|
6645
|
+
mealplan_dish_id: string
|
|
6646
|
+
mealplan_dish_multiplier: number
|
|
6647
|
+
mealplan_id: string
|
|
6648
|
+
mealplan_meal_id: string
|
|
6649
|
+
mealplan_unit_id: string
|
|
6304
6650
|
message: string
|
|
6651
|
+
organisation_id: string
|
|
6305
6652
|
success: boolean
|
|
6653
|
+
updated_at: string
|
|
6654
|
+
updated_by: string
|
|
6306
6655
|
}[]
|
|
6307
6656
|
}
|
|
6308
|
-
|
|
6657
|
+
app_cake_meals_bulk_import: {
|
|
6309
6658
|
Args: {
|
|
6659
|
+
p_meals_data: Json
|
|
6310
6660
|
p_organisation_id?: string
|
|
6311
|
-
p_recipe_diettype_id: string
|
|
6312
|
-
p_recipe_dish_id: string
|
|
6313
|
-
p_recipe_item_id: string
|
|
6314
|
-
p_recipe_qtypp: number
|
|
6315
|
-
p_recipe_uptake: number
|
|
6316
6661
|
p_user_id?: string
|
|
6317
6662
|
}
|
|
6318
6663
|
Returns: {
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
dish_name: string
|
|
6323
|
-
error_code: string
|
|
6324
|
-
item_name: string
|
|
6664
|
+
errors: Json
|
|
6665
|
+
failed: number
|
|
6666
|
+
imported: number
|
|
6325
6667
|
message: string
|
|
6326
|
-
recipe_id: string
|
|
6327
6668
|
success: boolean
|
|
6328
6669
|
}[]
|
|
6329
6670
|
}
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6671
|
+
app_cake_package_create:
|
|
6672
|
+
| {
|
|
6673
|
+
Args: {
|
|
6674
|
+
p_event_id?: string
|
|
6675
|
+
p_organisation_id?: string
|
|
6676
|
+
p_package_ctnpkgs?: number
|
|
6677
|
+
p_package_itemid: string
|
|
6678
|
+
p_package_palletctns?: number
|
|
6679
|
+
p_package_size: number
|
|
6680
|
+
p_package_type?: string
|
|
6681
|
+
p_user_id?: string
|
|
6682
|
+
}
|
|
6683
|
+
Returns: {
|
|
6684
|
+
audit_id: string
|
|
6685
|
+
error_code: string
|
|
6686
|
+
message: string
|
|
6687
|
+
package_id: string
|
|
6688
|
+
success: boolean
|
|
6689
|
+
}[]
|
|
6690
|
+
}
|
|
6691
|
+
| {
|
|
6692
|
+
Args: {
|
|
6693
|
+
p_organisation_id?: string
|
|
6694
|
+
p_package_ctnpkgs?: number
|
|
6695
|
+
p_package_itemid: string
|
|
6696
|
+
p_package_palletctns?: number
|
|
6697
|
+
p_package_size: number
|
|
6698
|
+
p_package_type?: string
|
|
6699
|
+
p_user_id?: string
|
|
6700
|
+
}
|
|
6701
|
+
Returns: {
|
|
6702
|
+
created_at: string
|
|
6703
|
+
created_by: string
|
|
6704
|
+
message: string
|
|
6705
|
+
organisation_id: string
|
|
6706
|
+
package_ctnpkgs: number
|
|
6707
|
+
package_id: string
|
|
6708
|
+
package_itemid: string
|
|
6709
|
+
package_palletctns: number
|
|
6710
|
+
package_size: number
|
|
6711
|
+
package_type: string
|
|
6712
|
+
success: boolean
|
|
6713
|
+
updated_at: string
|
|
6714
|
+
updated_by: string
|
|
6715
|
+
}[]
|
|
6716
|
+
}
|
|
6717
|
+
app_cake_package_update:
|
|
6718
|
+
| {
|
|
6719
|
+
Args: {
|
|
6720
|
+
p_event_id?: string
|
|
6721
|
+
p_organisation_id?: string
|
|
6722
|
+
p_package_ctnpkgs?: number
|
|
6723
|
+
p_package_id: string
|
|
6724
|
+
p_package_itemid?: string
|
|
6725
|
+
p_package_palletctns?: number
|
|
6726
|
+
p_package_size?: number
|
|
6727
|
+
p_package_type?: string
|
|
6728
|
+
p_user_id?: string
|
|
6729
|
+
}
|
|
6730
|
+
Returns: {
|
|
6731
|
+
audit_id: string
|
|
6732
|
+
error_code: string
|
|
6733
|
+
message: string
|
|
6734
|
+
success: boolean
|
|
6735
|
+
}[]
|
|
6736
|
+
}
|
|
6737
|
+
| {
|
|
6738
|
+
Args: {
|
|
6739
|
+
p_organisation_id?: string
|
|
6740
|
+
p_package_ctnpkgs?: number
|
|
6741
|
+
p_package_id: string
|
|
6742
|
+
p_package_itemid?: string
|
|
6743
|
+
p_package_palletctns?: number
|
|
6744
|
+
p_package_size?: number
|
|
6745
|
+
p_package_type?: string
|
|
6746
|
+
p_user_id?: string
|
|
6747
|
+
}
|
|
6748
|
+
Returns: {
|
|
6749
|
+
created_at: string
|
|
6750
|
+
created_by: string
|
|
6751
|
+
message: string
|
|
6752
|
+
organisation_id: string
|
|
6753
|
+
package_ctnpkgs: number
|
|
6754
|
+
package_id: string
|
|
6755
|
+
package_itemid: string
|
|
6756
|
+
package_palletctns: number
|
|
6757
|
+
package_size: number
|
|
6758
|
+
package_type: string
|
|
6759
|
+
success: boolean
|
|
6760
|
+
updated_at: string
|
|
6761
|
+
updated_by: string
|
|
6762
|
+
}[]
|
|
6763
|
+
}
|
|
6764
|
+
app_cake_recipe_create: {
|
|
6765
|
+
Args: {
|
|
6766
|
+
p_organisation_id?: string
|
|
6767
|
+
p_recipe_diettype_id: string
|
|
6768
|
+
p_recipe_dish_id: string
|
|
6769
|
+
p_recipe_item_id: string
|
|
6770
|
+
p_recipe_qtypp: number
|
|
6771
|
+
p_recipe_uptake: number
|
|
6772
|
+
p_user_id?: string
|
|
6773
|
+
}
|
|
6774
|
+
Returns: {
|
|
6775
|
+
created_at: string
|
|
6776
|
+
created_by: string
|
|
6777
|
+
diettype_name: string
|
|
6778
|
+
dish_code: string
|
|
6779
|
+
dish_name: string
|
|
6780
|
+
item_name: string
|
|
6781
|
+
message: string
|
|
6782
|
+
organisation_id: string
|
|
6783
|
+
recipe_diettype_id: string
|
|
6784
|
+
recipe_dish_id: string
|
|
6785
|
+
recipe_id: string
|
|
6786
|
+
recipe_item_id: string
|
|
6787
|
+
recipe_qtypp: number
|
|
6788
|
+
recipe_uptake: number
|
|
6789
|
+
success: boolean
|
|
6790
|
+
updated_at: string
|
|
6791
|
+
updated_by: string
|
|
6792
|
+
}[]
|
|
6793
|
+
}
|
|
6794
|
+
app_cake_recipe_delete: {
|
|
6795
|
+
Args: {
|
|
6796
|
+
p_organisation_id?: string
|
|
6797
|
+
p_recipe_id: string
|
|
6334
6798
|
p_user_id?: string
|
|
6335
6799
|
}
|
|
6336
6800
|
Returns: {
|
|
6337
|
-
audit_id: string
|
|
6338
|
-
error_code: string
|
|
6339
6801
|
message: string
|
|
6340
6802
|
success: boolean
|
|
6341
6803
|
}[]
|
|
@@ -6351,96 +6813,758 @@ export type Database = {
|
|
|
6351
6813
|
p_user_id?: string
|
|
6352
6814
|
}
|
|
6353
6815
|
Returns: {
|
|
6354
|
-
|
|
6355
|
-
|
|
6816
|
+
created_at: string
|
|
6817
|
+
created_by: string
|
|
6818
|
+
diettype_name: string
|
|
6819
|
+
dish_code: string
|
|
6820
|
+
dish_name: string
|
|
6821
|
+
item_name: string
|
|
6356
6822
|
message: string
|
|
6823
|
+
organisation_id: string
|
|
6824
|
+
recipe_diettype_id: string
|
|
6825
|
+
recipe_dish_id: string
|
|
6357
6826
|
recipe_id: string
|
|
6827
|
+
recipe_item_id: string
|
|
6828
|
+
recipe_qtypp: number
|
|
6829
|
+
recipe_uptake: number
|
|
6830
|
+
success: boolean
|
|
6831
|
+
updated_at: string
|
|
6832
|
+
updated_by: string
|
|
6833
|
+
}[]
|
|
6834
|
+
}
|
|
6835
|
+
app_cake_supplier_create:
|
|
6836
|
+
| {
|
|
6837
|
+
Args: {
|
|
6838
|
+
p_event_id?: string
|
|
6839
|
+
p_organisation_id?: string
|
|
6840
|
+
p_supplier_contactemail?: string
|
|
6841
|
+
p_supplier_contactname?: string
|
|
6842
|
+
p_supplier_contactnumber?: string
|
|
6843
|
+
p_supplier_name: string
|
|
6844
|
+
p_user_id?: string
|
|
6845
|
+
}
|
|
6846
|
+
Returns: {
|
|
6847
|
+
message: string
|
|
6848
|
+
success: boolean
|
|
6849
|
+
supplier_id: string
|
|
6850
|
+
}[]
|
|
6851
|
+
}
|
|
6852
|
+
| {
|
|
6853
|
+
Args: {
|
|
6854
|
+
p_organisation_id?: string
|
|
6855
|
+
p_supplier_contactemail?: string
|
|
6856
|
+
p_supplier_contactname?: string
|
|
6857
|
+
p_supplier_contactnumber?: string
|
|
6858
|
+
p_supplier_name: string
|
|
6859
|
+
p_user_id?: string
|
|
6860
|
+
}
|
|
6861
|
+
Returns: {
|
|
6862
|
+
created_at: string
|
|
6863
|
+
created_by: string
|
|
6864
|
+
message: string
|
|
6865
|
+
organisation_id: string
|
|
6866
|
+
success: boolean
|
|
6867
|
+
supplier_contactemail: string
|
|
6868
|
+
supplier_contactname: string
|
|
6869
|
+
supplier_contactnumber: string
|
|
6870
|
+
supplier_id: string
|
|
6871
|
+
supplier_name: string
|
|
6872
|
+
updated_at: string
|
|
6873
|
+
updated_by: string
|
|
6874
|
+
}[]
|
|
6875
|
+
}
|
|
6876
|
+
app_cake_supplier_update:
|
|
6877
|
+
| {
|
|
6878
|
+
Args: {
|
|
6879
|
+
p_event_id?: string
|
|
6880
|
+
p_organisation_id?: string
|
|
6881
|
+
p_supplier_contactemail?: string
|
|
6882
|
+
p_supplier_contactname?: string
|
|
6883
|
+
p_supplier_contactnumber?: string
|
|
6884
|
+
p_supplier_id: string
|
|
6885
|
+
p_supplier_name?: string
|
|
6886
|
+
p_user_id?: string
|
|
6887
|
+
}
|
|
6888
|
+
Returns: {
|
|
6889
|
+
message: string
|
|
6890
|
+
success: boolean
|
|
6891
|
+
supplier_id: string
|
|
6892
|
+
}[]
|
|
6893
|
+
}
|
|
6894
|
+
| {
|
|
6895
|
+
Args: {
|
|
6896
|
+
p_organisation_id?: string
|
|
6897
|
+
p_supplier_contactemail?: string
|
|
6898
|
+
p_supplier_contactname?: string
|
|
6899
|
+
p_supplier_contactnumber?: string
|
|
6900
|
+
p_supplier_id: string
|
|
6901
|
+
p_supplier_name?: string
|
|
6902
|
+
p_user_id?: string
|
|
6903
|
+
}
|
|
6904
|
+
Returns: {
|
|
6905
|
+
created_at: string
|
|
6906
|
+
created_by: string
|
|
6907
|
+
message: string
|
|
6908
|
+
organisation_id: string
|
|
6909
|
+
success: boolean
|
|
6910
|
+
supplier_contactemail: string
|
|
6911
|
+
supplier_contactname: string
|
|
6912
|
+
supplier_contactnumber: string
|
|
6913
|
+
supplier_id: string
|
|
6914
|
+
supplier_name: string
|
|
6915
|
+
updated_at: string
|
|
6916
|
+
updated_by: string
|
|
6917
|
+
}[]
|
|
6918
|
+
}
|
|
6919
|
+
app_cake_supply_create:
|
|
6920
|
+
| {
|
|
6921
|
+
Args: {
|
|
6922
|
+
p_event_id: string
|
|
6923
|
+
p_organisation_id?: string
|
|
6924
|
+
p_package_id: string
|
|
6925
|
+
p_supplier_id?: string
|
|
6926
|
+
p_supply_code?: string
|
|
6927
|
+
p_supply_cost?: number
|
|
6928
|
+
p_user_id?: string
|
|
6929
|
+
}
|
|
6930
|
+
Returns: {
|
|
6931
|
+
audit_id: string
|
|
6932
|
+
error_code: string
|
|
6933
|
+
message: string
|
|
6934
|
+
success: boolean
|
|
6935
|
+
supply_id: string
|
|
6936
|
+
}[]
|
|
6937
|
+
}
|
|
6938
|
+
| {
|
|
6939
|
+
Args: {
|
|
6940
|
+
p_event_id: string
|
|
6941
|
+
p_organisation_id?: string
|
|
6942
|
+
p_package_id: string
|
|
6943
|
+
p_supplier_id?: string
|
|
6944
|
+
p_supply_code?: string
|
|
6945
|
+
p_supply_cost?: number
|
|
6946
|
+
p_user_id?: string
|
|
6947
|
+
}
|
|
6948
|
+
Returns: {
|
|
6949
|
+
created_at: string
|
|
6950
|
+
created_by: string
|
|
6951
|
+
message: string
|
|
6952
|
+
organisation_id: string
|
|
6953
|
+
package_ctnpkgs: number
|
|
6954
|
+
package_id: string
|
|
6955
|
+
package_itemid: string
|
|
6956
|
+
package_palletctns: number
|
|
6957
|
+
package_size: number
|
|
6958
|
+
package_type: string
|
|
6959
|
+
success: boolean
|
|
6960
|
+
supply_code: string
|
|
6961
|
+
supply_cost: number
|
|
6962
|
+
supply_event_id: string
|
|
6963
|
+
supply_id: string
|
|
6964
|
+
supply_packageid: string
|
|
6965
|
+
supply_supplier_id: string
|
|
6966
|
+
updated_at: string
|
|
6967
|
+
updated_by: string
|
|
6968
|
+
}[]
|
|
6969
|
+
}
|
|
6970
|
+
app_cake_supply_update:
|
|
6971
|
+
| {
|
|
6972
|
+
Args: {
|
|
6973
|
+
p_organisation_id?: string
|
|
6974
|
+
p_package_id?: string
|
|
6975
|
+
p_supplier_id?: string
|
|
6976
|
+
p_supply_code?: string
|
|
6977
|
+
p_supply_cost?: number
|
|
6978
|
+
p_supply_id: string
|
|
6979
|
+
p_user_id?: string
|
|
6980
|
+
}
|
|
6981
|
+
Returns: {
|
|
6982
|
+
audit_id: string
|
|
6983
|
+
error_code: string
|
|
6984
|
+
message: string
|
|
6985
|
+
success: boolean
|
|
6986
|
+
}[]
|
|
6987
|
+
}
|
|
6988
|
+
| {
|
|
6989
|
+
Args: {
|
|
6990
|
+
p_organisation_id?: string
|
|
6991
|
+
p_package_id?: string
|
|
6992
|
+
p_supplier_id?: string
|
|
6993
|
+
p_supply_code?: string
|
|
6994
|
+
p_supply_cost?: number
|
|
6995
|
+
p_supply_id: string
|
|
6996
|
+
p_user_id?: string
|
|
6997
|
+
}
|
|
6998
|
+
Returns: {
|
|
6999
|
+
created_at: string
|
|
7000
|
+
created_by: string
|
|
7001
|
+
message: string
|
|
7002
|
+
organisation_id: string
|
|
7003
|
+
package_ctnpkgs: number
|
|
7004
|
+
package_id: string
|
|
7005
|
+
package_itemid: string
|
|
7006
|
+
package_palletctns: number
|
|
7007
|
+
package_size: number
|
|
7008
|
+
package_type: string
|
|
7009
|
+
success: boolean
|
|
7010
|
+
supply_code: string
|
|
7011
|
+
supply_cost: number
|
|
7012
|
+
supply_event_id: string
|
|
7013
|
+
supply_id: string
|
|
7014
|
+
supply_packageid: string
|
|
7015
|
+
supply_supplier_id: string
|
|
7016
|
+
updated_at: string
|
|
7017
|
+
updated_by: string
|
|
7018
|
+
}[]
|
|
7019
|
+
}
|
|
7020
|
+
app_cake_unit_create: {
|
|
7021
|
+
Args: {
|
|
7022
|
+
p_organisation_id?: string
|
|
7023
|
+
p_unit_contingent?: string
|
|
7024
|
+
p_unit_event_id: string
|
|
7025
|
+
p_unit_name?: string
|
|
7026
|
+
p_unit_number: number
|
|
7027
|
+
p_unit_subcamp?: string
|
|
7028
|
+
p_user_id?: string
|
|
7029
|
+
}
|
|
7030
|
+
Returns: {
|
|
7031
|
+
created_at: string
|
|
7032
|
+
created_by: string
|
|
7033
|
+
message: string
|
|
7034
|
+
organisation_id: string
|
|
7035
|
+
success: boolean
|
|
7036
|
+
unit_contingent: string
|
|
7037
|
+
unit_event_id: string
|
|
7038
|
+
unit_id: string
|
|
7039
|
+
unit_name: string
|
|
7040
|
+
unit_number: number
|
|
7041
|
+
unit_subcamp: string
|
|
7042
|
+
updated_at: string
|
|
7043
|
+
updated_by: string
|
|
7044
|
+
}[]
|
|
7045
|
+
}
|
|
7046
|
+
app_cake_unit_update:
|
|
7047
|
+
| {
|
|
7048
|
+
Args: {
|
|
7049
|
+
p_organisation_id?: string
|
|
7050
|
+
p_unit_contingent?: string
|
|
7051
|
+
p_unit_id: string
|
|
7052
|
+
p_unit_name?: string
|
|
7053
|
+
p_unit_subcamp?: string
|
|
7054
|
+
p_user_id?: string
|
|
7055
|
+
}
|
|
7056
|
+
Returns: {
|
|
7057
|
+
message: string
|
|
7058
|
+
success: boolean
|
|
7059
|
+
unit_id: string
|
|
7060
|
+
}[]
|
|
7061
|
+
}
|
|
7062
|
+
| {
|
|
7063
|
+
Args: {
|
|
7064
|
+
p_organisation_id?: string
|
|
7065
|
+
p_unit_contingent?: string
|
|
7066
|
+
p_unit_id: string
|
|
7067
|
+
p_unit_name?: string
|
|
7068
|
+
p_unit_number?: number
|
|
7069
|
+
p_unit_subcamp?: string
|
|
7070
|
+
p_user_id?: string
|
|
7071
|
+
}
|
|
7072
|
+
Returns: {
|
|
7073
|
+
created_at: string
|
|
7074
|
+
created_by: string
|
|
7075
|
+
message: string
|
|
7076
|
+
organisation_id: string
|
|
7077
|
+
success: boolean
|
|
7078
|
+
unit_contingent: string
|
|
7079
|
+
unit_event_id: string
|
|
7080
|
+
unit_id: string
|
|
7081
|
+
unit_name: string
|
|
7082
|
+
unit_number: number
|
|
7083
|
+
unit_subcamp: string
|
|
7084
|
+
updated_at: string
|
|
7085
|
+
updated_by: string
|
|
7086
|
+
}[]
|
|
7087
|
+
}
|
|
7088
|
+
app_cake_units_bulk_import: {
|
|
7089
|
+
Args: {
|
|
7090
|
+
p_organisation_id?: string
|
|
7091
|
+
p_units_data: Json
|
|
7092
|
+
p_user_id?: string
|
|
7093
|
+
}
|
|
7094
|
+
Returns: {
|
|
7095
|
+
errors: Json
|
|
7096
|
+
failed: number
|
|
7097
|
+
imported: number
|
|
7098
|
+
message: string
|
|
6358
7099
|
success: boolean
|
|
6359
7100
|
}[]
|
|
6360
7101
|
}
|
|
6361
|
-
|
|
7102
|
+
app_name: { Args: never; Returns: string }
|
|
7103
|
+
cleanup_orphaned_file_references: { Args: never; Returns: number }
|
|
7104
|
+
data_cake_deliveries_list: {
|
|
7105
|
+
Args: {
|
|
7106
|
+
p_event_id: string
|
|
7107
|
+
p_organisation_id?: string
|
|
7108
|
+
p_user_id?: string
|
|
7109
|
+
}
|
|
7110
|
+
Returns: {
|
|
7111
|
+
collection_date: string
|
|
7112
|
+
delivery_address: string
|
|
7113
|
+
delivery_date: string
|
|
7114
|
+
delivery_id: string
|
|
7115
|
+
delivery_notes: string
|
|
7116
|
+
item_count: number
|
|
7117
|
+
supplier_id: string
|
|
7118
|
+
supplier_name: string
|
|
7119
|
+
total_quantity: number
|
|
7120
|
+
}[]
|
|
7121
|
+
}
|
|
7122
|
+
data_cake_diettypes_list: {
|
|
7123
|
+
Args: {
|
|
7124
|
+
p_event_id?: string
|
|
7125
|
+
p_limit?: number
|
|
7126
|
+
p_offset?: number
|
|
7127
|
+
p_organisation_id?: string
|
|
7128
|
+
p_user_id?: string
|
|
7129
|
+
}
|
|
7130
|
+
Returns: {
|
|
7131
|
+
created_at: string
|
|
7132
|
+
created_by: string
|
|
7133
|
+
diettype_code: string
|
|
7134
|
+
diettype_description: string
|
|
7135
|
+
diettype_id: string
|
|
7136
|
+
diettype_name: string
|
|
7137
|
+
organisation_id: string
|
|
7138
|
+
updated_at: string
|
|
7139
|
+
updated_by: string
|
|
7140
|
+
}[]
|
|
7141
|
+
}
|
|
7142
|
+
data_cake_diners_list: {
|
|
7143
|
+
Args: {
|
|
7144
|
+
p_event_id?: string
|
|
7145
|
+
p_limit?: number
|
|
7146
|
+
p_offset?: number
|
|
7147
|
+
p_organisation_id?: string
|
|
7148
|
+
p_unit_ids?: string[]
|
|
7149
|
+
p_user_id?: string
|
|
7150
|
+
}
|
|
7151
|
+
Returns: {
|
|
7152
|
+
created_at: string
|
|
7153
|
+
created_by: string
|
|
7154
|
+
diettype_code: string
|
|
7155
|
+
diettype_description: string
|
|
7156
|
+
diettype_name: string
|
|
7157
|
+
diner_adult: number
|
|
7158
|
+
diner_diettype_id: string
|
|
7159
|
+
diner_id: string
|
|
7160
|
+
diner_unit_id: string
|
|
7161
|
+
diner_youth: number
|
|
7162
|
+
organisation_id: string
|
|
7163
|
+
updated_at: string
|
|
7164
|
+
updated_by: string
|
|
7165
|
+
}[]
|
|
7166
|
+
}
|
|
7167
|
+
data_cake_dish_details: {
|
|
7168
|
+
Args: {
|
|
7169
|
+
p_dish_id: string
|
|
7170
|
+
p_event_id?: string
|
|
7171
|
+
p_organisation_id?: string
|
|
7172
|
+
p_user_id?: string
|
|
7173
|
+
}
|
|
7174
|
+
Returns: {
|
|
7175
|
+
created_at: string
|
|
7176
|
+
created_by: string
|
|
7177
|
+
dish_code: string
|
|
7178
|
+
dish_description: string
|
|
7179
|
+
dish_dietnote: string
|
|
7180
|
+
dish_equipment: string
|
|
7181
|
+
dish_event_id: string
|
|
7182
|
+
dish_id: string
|
|
7183
|
+
dish_mealtype_id: string
|
|
7184
|
+
dish_name: string
|
|
7185
|
+
dish_prep: string
|
|
7186
|
+
dish_step1: string
|
|
7187
|
+
dish_step2: string
|
|
7188
|
+
dish_step3: string
|
|
7189
|
+
dish_step4: string
|
|
7190
|
+
dish_step5: string
|
|
7191
|
+
event_code: string
|
|
7192
|
+
event_name: string
|
|
7193
|
+
mealtype_name: string
|
|
7194
|
+
organisation_id: string
|
|
7195
|
+
updated_at: string
|
|
7196
|
+
updated_by: string
|
|
7197
|
+
}[]
|
|
7198
|
+
}
|
|
7199
|
+
data_cake_dishes_list: {
|
|
7200
|
+
Args: {
|
|
7201
|
+
p_event_id: string
|
|
7202
|
+
p_limit?: number
|
|
7203
|
+
p_offset?: number
|
|
7204
|
+
p_organisation_id?: string
|
|
7205
|
+
p_user_id?: string
|
|
7206
|
+
}
|
|
7207
|
+
Returns: {
|
|
7208
|
+
created_at: string
|
|
7209
|
+
created_by: string
|
|
7210
|
+
dish_code: string
|
|
7211
|
+
dish_description: string
|
|
7212
|
+
dish_dietnote: string
|
|
7213
|
+
dish_equipment: string
|
|
7214
|
+
dish_event_id: string
|
|
7215
|
+
dish_id: string
|
|
7216
|
+
dish_mealtype_id: string
|
|
7217
|
+
dish_name: string
|
|
7218
|
+
dish_prep: string
|
|
7219
|
+
dish_step1: string
|
|
7220
|
+
dish_step2: string
|
|
7221
|
+
dish_step3: string
|
|
7222
|
+
dish_step4: string
|
|
7223
|
+
dish_step5: string
|
|
7224
|
+
event_code: string
|
|
7225
|
+
event_name: string
|
|
7226
|
+
mealtype_name: string
|
|
7227
|
+
organisation_id: string
|
|
7228
|
+
updated_at: string
|
|
7229
|
+
updated_by: string
|
|
7230
|
+
}[]
|
|
7231
|
+
}
|
|
7232
|
+
data_cake_distribution_list: {
|
|
7233
|
+
Args: {
|
|
7234
|
+
p_event_id: string
|
|
7235
|
+
p_organisation_id?: string
|
|
7236
|
+
p_user_id?: string
|
|
7237
|
+
}
|
|
7238
|
+
Returns: {
|
|
7239
|
+
collection_date: string
|
|
7240
|
+
diettype_id: string
|
|
7241
|
+
diettype_name: string
|
|
7242
|
+
item_brand: string
|
|
7243
|
+
item_id: string
|
|
7244
|
+
item_logistics: number
|
|
7245
|
+
item_name: string
|
|
7246
|
+
item_packageunit: string
|
|
7247
|
+
logistics_name: string
|
|
7248
|
+
meal_dates: string[]
|
|
7249
|
+
package_size: number
|
|
7250
|
+
packages_needed: number
|
|
7251
|
+
required_quantity: number
|
|
7252
|
+
unit_id: string
|
|
7253
|
+
unit_name: string
|
|
7254
|
+
unit_number: number
|
|
7255
|
+
unit_subcamp: string
|
|
7256
|
+
}[]
|
|
7257
|
+
}
|
|
7258
|
+
data_cake_item_details: {
|
|
7259
|
+
Args: {
|
|
7260
|
+
p_event_id?: string
|
|
7261
|
+
p_item_id: string
|
|
7262
|
+
p_organisation_id?: string
|
|
7263
|
+
p_user_id?: string
|
|
7264
|
+
}
|
|
7265
|
+
Returns: {
|
|
7266
|
+
created_at: string
|
|
7267
|
+
created_by: string
|
|
7268
|
+
item_brand: string
|
|
7269
|
+
item_diet_dairyfree: string
|
|
7270
|
+
item_diet_diabetic: string
|
|
7271
|
+
item_diet_eggfree: string
|
|
7272
|
+
item_diet_glutenfree: string
|
|
7273
|
+
item_diet_halal: string
|
|
7274
|
+
item_diet_kosher: string
|
|
7275
|
+
item_diet_lactosefree: string
|
|
7276
|
+
item_diet_lowfodmap: string
|
|
7277
|
+
item_diet_lowfructose: string
|
|
7278
|
+
item_diet_porkfree: string
|
|
7279
|
+
item_diet_redmeatfree: string
|
|
7280
|
+
item_diet_vegan: string
|
|
7281
|
+
item_diet_vegetarian: string
|
|
7282
|
+
item_distribution: string
|
|
7283
|
+
item_id: string
|
|
7284
|
+
item_ingredients: string
|
|
7285
|
+
item_logistics: number
|
|
7286
|
+
item_name: string
|
|
7287
|
+
item_packageunit: string
|
|
7288
|
+
item_producturl: string
|
|
7289
|
+
updated_at: string
|
|
7290
|
+
updated_by: string
|
|
7291
|
+
}[]
|
|
7292
|
+
}
|
|
7293
|
+
data_cake_item_usage_check:
|
|
7294
|
+
| {
|
|
7295
|
+
Args: {
|
|
7296
|
+
p_current_event_id: string
|
|
7297
|
+
p_item_id: string
|
|
7298
|
+
p_organisation_id?: string
|
|
7299
|
+
p_user_id?: string
|
|
7300
|
+
}
|
|
7301
|
+
Returns: {
|
|
7302
|
+
other_event_names: string[]
|
|
7303
|
+
used_in_current_event: boolean
|
|
7304
|
+
used_in_other_events: boolean
|
|
7305
|
+
}[]
|
|
7306
|
+
}
|
|
7307
|
+
| {
|
|
7308
|
+
Args: {
|
|
7309
|
+
p_current_event_id: string
|
|
7310
|
+
p_item_id: string
|
|
7311
|
+
p_organisation_id?: string
|
|
7312
|
+
p_user_id?: string
|
|
7313
|
+
}
|
|
7314
|
+
Returns: {
|
|
7315
|
+
other_event_names: string[]
|
|
7316
|
+
used_in_current_event: boolean
|
|
7317
|
+
used_in_other_events: boolean
|
|
7318
|
+
}[]
|
|
7319
|
+
}
|
|
7320
|
+
data_cake_items_list: {
|
|
7321
|
+
Args: {
|
|
7322
|
+
p_event_id?: string
|
|
7323
|
+
p_limit?: number
|
|
7324
|
+
p_offset?: number
|
|
7325
|
+
p_organisation_id?: string
|
|
7326
|
+
p_user_id?: string
|
|
7327
|
+
}
|
|
7328
|
+
Returns: {
|
|
7329
|
+
created_at: string
|
|
7330
|
+
created_by: string
|
|
7331
|
+
item_brand: string
|
|
7332
|
+
item_diet_dairyfree: boolean
|
|
7333
|
+
item_diet_diabetic: boolean
|
|
7334
|
+
item_diet_eggfree: boolean
|
|
7335
|
+
item_diet_glutenfree: boolean
|
|
7336
|
+
item_diet_halal: boolean
|
|
7337
|
+
item_diet_kosher: boolean
|
|
7338
|
+
item_diet_lactosefree: boolean
|
|
7339
|
+
item_diet_lowfodmap: boolean
|
|
7340
|
+
item_diet_lowfructose: boolean
|
|
7341
|
+
item_diet_porkfree: boolean
|
|
7342
|
+
item_diet_redmeatfree: boolean
|
|
7343
|
+
item_diet_vegan: boolean
|
|
7344
|
+
item_diet_vegetarian: boolean
|
|
7345
|
+
item_distribution: string
|
|
7346
|
+
item_id: string
|
|
7347
|
+
item_ingredients: string
|
|
7348
|
+
item_logistics: number
|
|
7349
|
+
item_name: string
|
|
7350
|
+
item_packageunit: string
|
|
7351
|
+
item_producturl: string
|
|
7352
|
+
organisation_id: string
|
|
7353
|
+
updated_at: string
|
|
7354
|
+
updated_by: string
|
|
7355
|
+
}[]
|
|
7356
|
+
}
|
|
7357
|
+
data_cake_mealplans_list: {
|
|
7358
|
+
Args: {
|
|
7359
|
+
p_event_id?: string
|
|
7360
|
+
p_limit?: number
|
|
7361
|
+
p_offset?: number
|
|
7362
|
+
p_organisation_id?: string
|
|
7363
|
+
p_unit_ids: string[]
|
|
7364
|
+
p_user_id?: string
|
|
7365
|
+
}
|
|
7366
|
+
Returns: {
|
|
7367
|
+
created_at: string
|
|
7368
|
+
created_by: string
|
|
7369
|
+
dish_dish_code: string
|
|
7370
|
+
dish_dish_id: string
|
|
7371
|
+
dish_dish_name: string
|
|
7372
|
+
meal_meal_code: string
|
|
7373
|
+
meal_meal_date: string
|
|
7374
|
+
meal_meal_event_id: string
|
|
7375
|
+
meal_mealtype_id: string
|
|
7376
|
+
mealplan_dish_id: string
|
|
7377
|
+
mealplan_dish_multiplier: number
|
|
7378
|
+
mealplan_id: string
|
|
7379
|
+
mealplan_meal_id: string
|
|
7380
|
+
mealplan_unit_id: string
|
|
7381
|
+
mealtype_name: string
|
|
7382
|
+
organisation_id: string
|
|
7383
|
+
updated_at: string
|
|
7384
|
+
updated_by: string
|
|
7385
|
+
}[]
|
|
7386
|
+
}
|
|
7387
|
+
data_cake_meals_get: {
|
|
7388
|
+
Args: {
|
|
7389
|
+
p_event_id: string
|
|
7390
|
+
p_organisation_id?: string
|
|
7391
|
+
p_user_id?: string
|
|
7392
|
+
}
|
|
7393
|
+
Returns: {
|
|
7394
|
+
created_at: string
|
|
7395
|
+
meal_code: string
|
|
7396
|
+
meal_collectiondate: string
|
|
7397
|
+
meal_date: string
|
|
7398
|
+
meal_event_id: string
|
|
7399
|
+
meal_id: string
|
|
7400
|
+
meal_mealtype_id: string
|
|
7401
|
+
mealtype_name: string
|
|
7402
|
+
organisation_id: string
|
|
7403
|
+
updated_at: string
|
|
7404
|
+
}[]
|
|
7405
|
+
}
|
|
7406
|
+
data_cake_meals_list: {
|
|
7407
|
+
Args: {
|
|
7408
|
+
p_event_id: string
|
|
7409
|
+
p_limit?: number
|
|
7410
|
+
p_offset?: number
|
|
7411
|
+
p_organisation_id?: string
|
|
7412
|
+
p_user_id?: string
|
|
7413
|
+
}
|
|
7414
|
+
Returns: {
|
|
7415
|
+
created_at: string
|
|
7416
|
+
created_by: string
|
|
7417
|
+
meal_code: string
|
|
7418
|
+
meal_collectiondate: string
|
|
7419
|
+
meal_date: string
|
|
7420
|
+
meal_event_id: string
|
|
7421
|
+
meal_id: string
|
|
7422
|
+
meal_mealtype_id: string
|
|
7423
|
+
mealtype_name: string
|
|
7424
|
+
organisation_id: string
|
|
7425
|
+
updated_at: string
|
|
7426
|
+
updated_by: string
|
|
7427
|
+
}[]
|
|
7428
|
+
}
|
|
7429
|
+
data_cake_mealtypes_list: {
|
|
7430
|
+
Args: {
|
|
7431
|
+
p_event_id?: string
|
|
7432
|
+
p_limit?: number
|
|
7433
|
+
p_offset?: number
|
|
7434
|
+
p_organisation_id?: string
|
|
7435
|
+
p_user_id?: string
|
|
7436
|
+
}
|
|
7437
|
+
Returns: {
|
|
7438
|
+
created_at: string
|
|
7439
|
+
created_by: string
|
|
7440
|
+
mealtype_id: string
|
|
7441
|
+
mealtype_name: string
|
|
7442
|
+
organisation_id: string
|
|
7443
|
+
updated_at: string
|
|
7444
|
+
updated_by: string
|
|
7445
|
+
}[]
|
|
7446
|
+
}
|
|
7447
|
+
data_cake_orders_list: {
|
|
6362
7448
|
Args: {
|
|
6363
7449
|
p_event_id: string
|
|
6364
7450
|
p_organisation_id?: string
|
|
6365
|
-
p_package_id: string
|
|
6366
|
-
p_supplier_id?: string
|
|
6367
|
-
p_supply_code?: string
|
|
6368
|
-
p_supply_cost?: number
|
|
6369
7451
|
p_user_id?: string
|
|
6370
7452
|
}
|
|
6371
7453
|
Returns: {
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
7454
|
+
delivery_date: string
|
|
7455
|
+
item_brand: string
|
|
7456
|
+
item_id: string
|
|
7457
|
+
item_name: string
|
|
7458
|
+
item_packageunit: string
|
|
7459
|
+
package_cost: number
|
|
7460
|
+
package_ctnpkgs: number
|
|
7461
|
+
package_size: number
|
|
7462
|
+
package_type: string
|
|
7463
|
+
supplier_id: string
|
|
7464
|
+
supplier_name: string
|
|
7465
|
+
total_carton_cost: number
|
|
7466
|
+
total_cartons: number
|
|
7467
|
+
total_packages: number
|
|
7468
|
+
total_pkg_cost: number
|
|
6377
7469
|
}[]
|
|
6378
7470
|
}
|
|
6379
|
-
|
|
7471
|
+
data_cake_package_details: {
|
|
6380
7472
|
Args: {
|
|
7473
|
+
p_event_id?: string
|
|
6381
7474
|
p_organisation_id?: string
|
|
6382
|
-
|
|
7475
|
+
p_package_id: string
|
|
6383
7476
|
p_user_id?: string
|
|
6384
7477
|
}
|
|
6385
7478
|
Returns: {
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
7479
|
+
created_at: string
|
|
7480
|
+
created_by: string
|
|
7481
|
+
organisation_id: string
|
|
7482
|
+
package_ctnpkgs: number
|
|
7483
|
+
package_id: string
|
|
7484
|
+
package_itemid: string
|
|
7485
|
+
package_palletctns: number
|
|
7486
|
+
package_size: number
|
|
7487
|
+
package_type: string
|
|
7488
|
+
updated_at: string
|
|
7489
|
+
updated_by: string
|
|
6390
7490
|
}[]
|
|
6391
7491
|
}
|
|
6392
|
-
|
|
7492
|
+
data_cake_package_usage_check:
|
|
7493
|
+
| {
|
|
7494
|
+
Args: {
|
|
7495
|
+
p_current_event_id: string
|
|
7496
|
+
p_organisation_id?: string
|
|
7497
|
+
p_package_id: string
|
|
7498
|
+
p_user_id?: string
|
|
7499
|
+
}
|
|
7500
|
+
Returns: {
|
|
7501
|
+
other_event_names: string[]
|
|
7502
|
+
used_in_current_event: boolean
|
|
7503
|
+
used_in_other_events: boolean
|
|
7504
|
+
}[]
|
|
7505
|
+
}
|
|
7506
|
+
| {
|
|
7507
|
+
Args: {
|
|
7508
|
+
p_current_event_id: string
|
|
7509
|
+
p_organisation_id?: string
|
|
7510
|
+
p_package_id: string
|
|
7511
|
+
p_user_id?: string
|
|
7512
|
+
}
|
|
7513
|
+
Returns: {
|
|
7514
|
+
other_event_names: string[]
|
|
7515
|
+
used_in_current_event: boolean
|
|
7516
|
+
used_in_other_events: boolean
|
|
7517
|
+
}[]
|
|
7518
|
+
}
|
|
7519
|
+
data_cake_packages_list: {
|
|
6393
7520
|
Args: {
|
|
7521
|
+
p_event_id?: string
|
|
7522
|
+
p_item_id?: string
|
|
7523
|
+
p_limit?: number
|
|
7524
|
+
p_offset?: number
|
|
6394
7525
|
p_organisation_id?: string
|
|
6395
|
-
p_package_id?: string
|
|
6396
|
-
p_supplier_id?: string
|
|
6397
|
-
p_supply_code?: string
|
|
6398
|
-
p_supply_cost?: number
|
|
6399
|
-
p_supply_id: string
|
|
6400
7526
|
p_user_id?: string
|
|
6401
7527
|
}
|
|
6402
7528
|
Returns: {
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
7529
|
+
created_at: string
|
|
7530
|
+
created_by: string
|
|
7531
|
+
organisation_id: string
|
|
7532
|
+
package_ctnpkgs: number
|
|
7533
|
+
package_id: string
|
|
7534
|
+
package_itemid: string
|
|
7535
|
+
package_palletctns: number
|
|
7536
|
+
package_size: number
|
|
7537
|
+
package_type: string
|
|
7538
|
+
updated_at: string
|
|
7539
|
+
updated_by: string
|
|
6407
7540
|
}[]
|
|
6408
7541
|
}
|
|
6409
|
-
|
|
6410
|
-
cleanup_orphaned_file_references: { Args: never; Returns: number }
|
|
6411
|
-
data_cake_dish_details: {
|
|
7542
|
+
data_cake_recipe_details: {
|
|
6412
7543
|
Args: {
|
|
6413
|
-
p_dish_id: string
|
|
6414
7544
|
p_event_id?: string
|
|
6415
7545
|
p_organisation_id?: string
|
|
7546
|
+
p_recipe_id: string
|
|
6416
7547
|
p_user_id?: string
|
|
6417
7548
|
}
|
|
6418
7549
|
Returns: {
|
|
6419
7550
|
created_at: string
|
|
6420
|
-
|
|
7551
|
+
diettype_name: string
|
|
6421
7552
|
dish_code: string
|
|
6422
|
-
dish_description: string
|
|
6423
|
-
dish_dietnote: string
|
|
6424
|
-
dish_equipment: string
|
|
6425
|
-
dish_event_id: string
|
|
6426
|
-
dish_id: string
|
|
6427
|
-
dish_mealtype_id: string
|
|
6428
7553
|
dish_name: string
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
dish_step3: string
|
|
6433
|
-
dish_step4: string
|
|
6434
|
-
dish_step5: string
|
|
6435
|
-
event_code: string
|
|
6436
|
-
event_name: string
|
|
7554
|
+
item_brand: string
|
|
7555
|
+
item_name: string
|
|
7556
|
+
item_packageunit: string
|
|
6437
7557
|
mealtype_name: string
|
|
6438
|
-
|
|
7558
|
+
recipe_diettype_id: string
|
|
7559
|
+
recipe_dish_id: string
|
|
7560
|
+
recipe_id: string
|
|
7561
|
+
recipe_item_id: string
|
|
7562
|
+
recipe_qtypp: number
|
|
7563
|
+
recipe_uptake: number
|
|
6439
7564
|
updated_at: string
|
|
6440
|
-
updated_by: string
|
|
6441
7565
|
}[]
|
|
6442
7566
|
}
|
|
6443
|
-
|
|
7567
|
+
data_cake_recipes_list: {
|
|
6444
7568
|
Args: {
|
|
6445
7569
|
p_event_id: string
|
|
6446
7570
|
p_limit?: number
|
|
@@ -6450,103 +7574,88 @@ export type Database = {
|
|
|
6450
7574
|
}
|
|
6451
7575
|
Returns: {
|
|
6452
7576
|
created_at: string
|
|
6453
|
-
|
|
7577
|
+
diettype_name: string
|
|
6454
7578
|
dish_code: string
|
|
6455
|
-
dish_description: string
|
|
6456
|
-
dish_dietnote: string
|
|
6457
|
-
dish_equipment: string
|
|
6458
|
-
dish_event_id: string
|
|
6459
|
-
dish_id: string
|
|
6460
|
-
dish_mealtype_id: string
|
|
6461
7579
|
dish_name: string
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
dish_step3: string
|
|
6466
|
-
dish_step4: string
|
|
6467
|
-
dish_step5: string
|
|
6468
|
-
event_code: string
|
|
6469
|
-
event_name: string
|
|
7580
|
+
item_brand: string
|
|
7581
|
+
item_name: string
|
|
7582
|
+
item_packageunit: string
|
|
6470
7583
|
mealtype_name: string
|
|
6471
|
-
|
|
7584
|
+
recipe_diettype_id: string
|
|
7585
|
+
recipe_dish_id: string
|
|
7586
|
+
recipe_id: string
|
|
7587
|
+
recipe_item_id: string
|
|
7588
|
+
recipe_qtypp: number
|
|
7589
|
+
recipe_uptake: number
|
|
6472
7590
|
updated_at: string
|
|
6473
|
-
updated_by: string
|
|
6474
7591
|
}[]
|
|
6475
7592
|
}
|
|
6476
|
-
|
|
7593
|
+
data_cake_suppliers_list: {
|
|
6477
7594
|
Args: {
|
|
6478
|
-
p_event_id
|
|
7595
|
+
p_event_id?: string
|
|
6479
7596
|
p_limit?: number
|
|
6480
7597
|
p_offset?: number
|
|
6481
7598
|
p_organisation_id?: string
|
|
6482
7599
|
p_user_id?: string
|
|
6483
7600
|
}
|
|
6484
7601
|
Returns: {
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
required_quantity: number
|
|
6496
|
-
unit_id: string
|
|
6497
|
-
unit_name: string
|
|
6498
|
-
unit_number: number
|
|
7602
|
+
created_at: string
|
|
7603
|
+
created_by: string
|
|
7604
|
+
organisation_id: string
|
|
7605
|
+
supplier_contactemail: string
|
|
7606
|
+
supplier_contactname: string
|
|
7607
|
+
supplier_contactnumber: string
|
|
7608
|
+
supplier_id: string
|
|
7609
|
+
supplier_name: string
|
|
7610
|
+
updated_at: string
|
|
7611
|
+
updated_by: string
|
|
6499
7612
|
}[]
|
|
6500
7613
|
}
|
|
6501
|
-
|
|
7614
|
+
data_cake_supplies_list: {
|
|
6502
7615
|
Args: {
|
|
6503
7616
|
p_event_id?: string
|
|
6504
|
-
|
|
7617
|
+
p_limit?: number
|
|
7618
|
+
p_offset?: number
|
|
6505
7619
|
p_organisation_id?: string
|
|
7620
|
+
p_package_id?: string
|
|
6506
7621
|
p_user_id?: string
|
|
6507
7622
|
}
|
|
6508
7623
|
Returns: {
|
|
6509
7624
|
created_at: string
|
|
6510
7625
|
created_by: string
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
item_diet_lactosefree: string
|
|
6519
|
-
item_diet_lowfodmap: string
|
|
6520
|
-
item_diet_lowfructose: string
|
|
6521
|
-
item_diet_porkfree: string
|
|
6522
|
-
item_diet_redmeatfree: string
|
|
6523
|
-
item_diet_vegan: string
|
|
6524
|
-
item_diet_vegetarian: string
|
|
6525
|
-
item_distribution: string
|
|
6526
|
-
item_id: string
|
|
6527
|
-
item_ingredients: string
|
|
6528
|
-
item_logistics: number
|
|
6529
|
-
item_name: string
|
|
6530
|
-
item_packageunit: string
|
|
6531
|
-
item_producturl: string
|
|
7626
|
+
organisation_id: string
|
|
7627
|
+
supply_code: string
|
|
7628
|
+
supply_cost: number
|
|
7629
|
+
supply_event_id: string
|
|
7630
|
+
supply_id: string
|
|
7631
|
+
supply_packageid: string
|
|
7632
|
+
supply_supplier_id: string
|
|
6532
7633
|
updated_at: string
|
|
6533
7634
|
updated_by: string
|
|
6534
7635
|
}[]
|
|
6535
7636
|
}
|
|
6536
|
-
|
|
7637
|
+
data_cake_supply_details: {
|
|
6537
7638
|
Args: {
|
|
6538
|
-
|
|
6539
|
-
p_item_id: string
|
|
7639
|
+
p_event_id?: string
|
|
6540
7640
|
p_organisation_id?: string
|
|
7641
|
+
p_supply_id: string
|
|
6541
7642
|
p_user_id?: string
|
|
6542
7643
|
}
|
|
6543
7644
|
Returns: {
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
7645
|
+
created_at: string
|
|
7646
|
+
created_by: string
|
|
7647
|
+
organisation_id: string
|
|
7648
|
+
supply_code: string
|
|
7649
|
+
supply_cost: number
|
|
7650
|
+
supply_event_id: string
|
|
7651
|
+
supply_id: string
|
|
7652
|
+
supply_packageid: string
|
|
7653
|
+
supply_supplier_id: string
|
|
7654
|
+
updated_at: string
|
|
7655
|
+
updated_by: string
|
|
6547
7656
|
}[]
|
|
6548
7657
|
}
|
|
6549
|
-
|
|
7658
|
+
data_cake_units_list: {
|
|
6550
7659
|
Args: {
|
|
6551
7660
|
p_event_id: string
|
|
6552
7661
|
p_limit?: number
|
|
@@ -6557,156 +7666,153 @@ export type Database = {
|
|
|
6557
7666
|
Returns: {
|
|
6558
7667
|
created_at: string
|
|
6559
7668
|
created_by: string
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
7669
|
+
organisation_id: string
|
|
7670
|
+
unit_contingent: string
|
|
7671
|
+
unit_event_id: string
|
|
7672
|
+
unit_id: string
|
|
7673
|
+
unit_name: string
|
|
7674
|
+
unit_number: number
|
|
7675
|
+
unit_subcamp: string
|
|
7676
|
+
updated_at: string
|
|
7677
|
+
updated_by: string
|
|
7678
|
+
}[]
|
|
7679
|
+
}
|
|
7680
|
+
data_event_get_by_code: {
|
|
7681
|
+
Args: {
|
|
7682
|
+
p_event_code: string
|
|
7683
|
+
p_organisation_id?: string
|
|
7684
|
+
p_user_id?: string
|
|
7685
|
+
}
|
|
7686
|
+
Returns: {
|
|
7687
|
+
created_at: string
|
|
7688
|
+
event_billing: string
|
|
7689
|
+
event_catering_email: string
|
|
7690
|
+
event_code: string
|
|
7691
|
+
event_col_d1: string
|
|
7692
|
+
event_col_d2: string
|
|
7693
|
+
event_col_l1: string
|
|
7694
|
+
event_col_l2: string
|
|
7695
|
+
event_col_m1: string
|
|
7696
|
+
event_col_m2: string
|
|
7697
|
+
event_colours: Json
|
|
7698
|
+
event_date: string
|
|
7699
|
+
event_days: number
|
|
7700
|
+
event_email: string
|
|
7701
|
+
event_footer: string
|
|
7702
|
+
event_id: string
|
|
7703
|
+
event_name: string
|
|
7704
|
+
event_news: string
|
|
7705
|
+
event_participants: number
|
|
7706
|
+
event_rounddown: number
|
|
7707
|
+
event_typicalunit: number
|
|
7708
|
+
event_venue: string
|
|
7709
|
+
event_youthmultiplier: number
|
|
7710
|
+
is_visible: boolean
|
|
7711
|
+
organisation_id: string
|
|
6581
7712
|
updated_at: string
|
|
6582
|
-
updated_by: string
|
|
6583
7713
|
}[]
|
|
6584
7714
|
}
|
|
6585
|
-
|
|
7715
|
+
data_file_reference_by_category_list: {
|
|
6586
7716
|
Args: {
|
|
6587
|
-
|
|
6588
|
-
p_organisation_id
|
|
7717
|
+
p_category: string
|
|
7718
|
+
p_organisation_id: string
|
|
7719
|
+
p_record_id: string
|
|
7720
|
+
p_table_name: string
|
|
6589
7721
|
p_user_id?: string
|
|
6590
7722
|
}
|
|
6591
7723
|
Returns: {
|
|
6592
7724
|
created_at: string
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
meal_id: string
|
|
6598
|
-
meal_mealtype_id: string
|
|
6599
|
-
mealtype_name: string
|
|
6600
|
-
organisation_id: string
|
|
6601
|
-
updated_at: string
|
|
7725
|
+
file_metadata: Json
|
|
7726
|
+
file_path: string
|
|
7727
|
+
id: string
|
|
7728
|
+
is_public: boolean
|
|
6602
7729
|
}[]
|
|
6603
7730
|
}
|
|
6604
|
-
|
|
7731
|
+
data_file_reference_count_get: {
|
|
6605
7732
|
Args: {
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
7733
|
+
p_organisation_id: string
|
|
7734
|
+
p_record_id: string
|
|
7735
|
+
p_table_name: string
|
|
6609
7736
|
p_user_id?: string
|
|
6610
7737
|
}
|
|
6611
|
-
Returns:
|
|
6612
|
-
created_at: string
|
|
6613
|
-
created_by: string
|
|
6614
|
-
organisation_id: string
|
|
6615
|
-
package_ctnpkgs: number
|
|
6616
|
-
package_id: string
|
|
6617
|
-
package_itemid: string
|
|
6618
|
-
package_palletctns: number
|
|
6619
|
-
package_size: number
|
|
6620
|
-
package_type: string
|
|
6621
|
-
updated_at: string
|
|
6622
|
-
updated_by: string
|
|
6623
|
-
}[]
|
|
7738
|
+
Returns: number
|
|
6624
7739
|
}
|
|
6625
|
-
|
|
7740
|
+
data_file_reference_create: {
|
|
6626
7741
|
Args: {
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
7742
|
+
p_app_id: string
|
|
7743
|
+
p_file_metadata?: Json
|
|
7744
|
+
p_file_path: string
|
|
7745
|
+
p_is_public?: boolean
|
|
7746
|
+
p_organisation_id: string
|
|
7747
|
+
p_record_id: string
|
|
7748
|
+
p_table_name: string
|
|
6630
7749
|
p_user_id?: string
|
|
6631
7750
|
}
|
|
6632
|
-
Returns:
|
|
6633
|
-
other_event_names: string[]
|
|
6634
|
-
used_in_current_event: boolean
|
|
6635
|
-
used_in_other_events: boolean
|
|
6636
|
-
}[]
|
|
7751
|
+
Returns: string
|
|
6637
7752
|
}
|
|
6638
|
-
|
|
7753
|
+
data_file_reference_delete: {
|
|
6639
7754
|
Args: {
|
|
6640
|
-
|
|
6641
|
-
p_organisation_id
|
|
6642
|
-
|
|
7755
|
+
p_delete_file?: boolean
|
|
7756
|
+
p_organisation_id: string
|
|
7757
|
+
p_record_id: string
|
|
7758
|
+
p_table_name: string
|
|
6643
7759
|
p_user_id?: string
|
|
6644
7760
|
}
|
|
6645
|
-
Returns:
|
|
6646
|
-
created_at: string
|
|
6647
|
-
diettype_name: string
|
|
6648
|
-
dish_code: string
|
|
6649
|
-
dish_name: string
|
|
6650
|
-
item_brand: string
|
|
6651
|
-
item_name: string
|
|
6652
|
-
item_packageunit: string
|
|
6653
|
-
mealtype_name: string
|
|
6654
|
-
recipe_diettype_id: string
|
|
6655
|
-
recipe_dish_id: string
|
|
6656
|
-
recipe_id: string
|
|
6657
|
-
recipe_item_id: string
|
|
6658
|
-
recipe_qtypp: number
|
|
6659
|
-
recipe_uptake: number
|
|
6660
|
-
updated_at: string
|
|
6661
|
-
}[]
|
|
7761
|
+
Returns: boolean
|
|
6662
7762
|
}
|
|
6663
|
-
|
|
7763
|
+
data_file_reference_get: {
|
|
6664
7764
|
Args: {
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
p_offset?: number
|
|
6668
|
-
p_organisation_id?: string
|
|
7765
|
+
p_file_reference_id: string
|
|
7766
|
+
p_organisation_id: string
|
|
6669
7767
|
p_user_id?: string
|
|
6670
7768
|
}
|
|
6671
7769
|
Returns: {
|
|
7770
|
+
app_id: string
|
|
6672
7771
|
created_at: string
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
recipe_diettype_id: string
|
|
6681
|
-
recipe_dish_id: string
|
|
6682
|
-
recipe_id: string
|
|
6683
|
-
recipe_item_id: string
|
|
6684
|
-
recipe_qtypp: number
|
|
6685
|
-
recipe_uptake: number
|
|
7772
|
+
file_metadata: Json
|
|
7773
|
+
file_path: string
|
|
7774
|
+
id: string
|
|
7775
|
+
is_public: boolean
|
|
7776
|
+
organisation_id: string
|
|
7777
|
+
record_id: string
|
|
7778
|
+
table_name: string
|
|
6686
7779
|
updated_at: string
|
|
6687
7780
|
}[]
|
|
6688
7781
|
}
|
|
6689
|
-
|
|
7782
|
+
data_file_reference_list: {
|
|
6690
7783
|
Args: {
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
7784
|
+
p_organisation_id: string
|
|
7785
|
+
p_record_id: string
|
|
7786
|
+
p_table_name: string
|
|
6694
7787
|
p_user_id?: string
|
|
6695
7788
|
}
|
|
6696
7789
|
Returns: {
|
|
6697
7790
|
created_at: string
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
supply_event_id: string
|
|
6703
|
-
supply_id: string
|
|
6704
|
-
supply_packageid: string
|
|
6705
|
-
supply_supplier_id: string
|
|
6706
|
-
updated_at: string
|
|
6707
|
-
updated_by: string
|
|
7791
|
+
file_metadata: Json
|
|
7792
|
+
file_path: string
|
|
7793
|
+
id: string
|
|
7794
|
+
is_public: boolean
|
|
6708
7795
|
}[]
|
|
6709
7796
|
}
|
|
7797
|
+
data_file_reference_signed_url_get: {
|
|
7798
|
+
Args: {
|
|
7799
|
+
p_expires_in?: number
|
|
7800
|
+
p_organisation_id: string
|
|
7801
|
+
p_record_id: string
|
|
7802
|
+
p_table_name: string
|
|
7803
|
+
p_user_id?: string
|
|
7804
|
+
}
|
|
7805
|
+
Returns: string
|
|
7806
|
+
}
|
|
7807
|
+
data_file_reference_url_get: {
|
|
7808
|
+
Args: {
|
|
7809
|
+
p_organisation_id: string
|
|
7810
|
+
p_record_id: string
|
|
7811
|
+
p_table_name: string
|
|
7812
|
+
p_user_id?: string
|
|
7813
|
+
}
|
|
7814
|
+
Returns: string
|
|
7815
|
+
}
|
|
6710
7816
|
data_user_events_get: {
|
|
6711
7817
|
Args: {
|
|
6712
7818
|
p_app_name?: string
|
|
@@ -6715,6 +7821,7 @@ export type Database = {
|
|
|
6715
7821
|
}
|
|
6716
7822
|
Returns: {
|
|
6717
7823
|
created_at: string
|
|
7824
|
+
event_code: string
|
|
6718
7825
|
event_colours: Json
|
|
6719
7826
|
event_date: string
|
|
6720
7827
|
event_id: string
|
|
@@ -6757,33 +7864,17 @@ export type Database = {
|
|
|
6757
7864
|
}[]
|
|
6758
7865
|
}
|
|
6759
7866
|
debug_auth_context: { Args: never; Returns: Json }
|
|
6760
|
-
|
|
7867
|
+
delete_event_app_access: {
|
|
6761
7868
|
Args: {
|
|
6762
|
-
|
|
7869
|
+
p_app_id: string
|
|
7870
|
+
p_event_id: string
|
|
6763
7871
|
p_organisation_id: string
|
|
6764
|
-
|
|
6765
|
-
p_table_name: string
|
|
7872
|
+
p_user_id?: string
|
|
6766
7873
|
}
|
|
6767
7874
|
Returns: boolean
|
|
6768
7875
|
}
|
|
6769
7876
|
get_app_config: { Args: { app_id: string }; Returns: Json }
|
|
6770
|
-
|
|
6771
|
-
Args: {
|
|
6772
|
-
p_expires_in?: number
|
|
6773
|
-
p_organisation_id: string
|
|
6774
|
-
p_record_id: string
|
|
6775
|
-
p_table_name: string
|
|
6776
|
-
}
|
|
6777
|
-
Returns: string
|
|
6778
|
-
}
|
|
6779
|
-
get_file_url: {
|
|
6780
|
-
Args: {
|
|
6781
|
-
p_organisation_id: string
|
|
6782
|
-
p_record_id: string
|
|
6783
|
-
p_table_name: string
|
|
6784
|
-
}
|
|
6785
|
-
Returns: string
|
|
6786
|
-
}
|
|
7877
|
+
get_current_organisation_context: { Args: never; Returns: string }
|
|
6787
7878
|
get_file_url_for_record: {
|
|
6788
7879
|
Args: {
|
|
6789
7880
|
p_organisation_id: string
|
|
@@ -6855,7 +7946,7 @@ export type Database = {
|
|
|
6855
7946
|
}[]
|
|
6856
7947
|
}
|
|
6857
7948
|
get_public_event_by_code: {
|
|
6858
|
-
Args: {
|
|
7949
|
+
Args: { event_code_param: string }
|
|
6859
7950
|
Returns: {
|
|
6860
7951
|
event_billing: string
|
|
6861
7952
|
event_catering_email: string
|
|
@@ -6863,7 +7954,6 @@ export type Database = {
|
|
|
6863
7954
|
event_date: string
|
|
6864
7955
|
event_days: number
|
|
6865
7956
|
event_email: string
|
|
6866
|
-
event_footer: string
|
|
6867
7957
|
event_id: string
|
|
6868
7958
|
event_logo: string
|
|
6869
7959
|
event_name: string
|
|
@@ -6876,28 +7966,6 @@ export type Database = {
|
|
|
6876
7966
|
organisation_id: string
|
|
6877
7967
|
}[]
|
|
6878
7968
|
}
|
|
6879
|
-
get_record_file_count: {
|
|
6880
|
-
Args: {
|
|
6881
|
-
p_organisation_id: string
|
|
6882
|
-
p_record_id: string
|
|
6883
|
-
p_table_name: string
|
|
6884
|
-
}
|
|
6885
|
-
Returns: number
|
|
6886
|
-
}
|
|
6887
|
-
get_record_files: {
|
|
6888
|
-
Args: {
|
|
6889
|
-
p_organisation_id: string
|
|
6890
|
-
p_record_id: string
|
|
6891
|
-
p_table_name: string
|
|
6892
|
-
}
|
|
6893
|
-
Returns: {
|
|
6894
|
-
created_at: string
|
|
6895
|
-
file_metadata: Json
|
|
6896
|
-
file_path: string
|
|
6897
|
-
id: string
|
|
6898
|
-
is_public: boolean
|
|
6899
|
-
}[]
|
|
6900
|
-
}
|
|
6901
7969
|
has_files: {
|
|
6902
7970
|
Args: {
|
|
6903
7971
|
p_organisation_id: string
|
|
@@ -6914,15 +7982,13 @@ export type Database = {
|
|
|
6914
7982
|
window_start: string
|
|
6915
7983
|
}[]
|
|
6916
7984
|
}
|
|
6917
|
-
|
|
7985
|
+
insert_event_app_access: {
|
|
6918
7986
|
Args: {
|
|
6919
7987
|
p_app_id: string
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
p_is_public?: boolean
|
|
7988
|
+
p_created_by?: string
|
|
7989
|
+
p_event_id: string
|
|
6923
7990
|
p_organisation_id: string
|
|
6924
|
-
|
|
6925
|
-
p_table_name: string
|
|
7991
|
+
p_updated_by?: string
|
|
6926
7992
|
}
|
|
6927
7993
|
Returns: string
|
|
6928
7994
|
}
|
|
@@ -6935,6 +8001,8 @@ export type Database = {
|
|
|
6935
8001
|
}
|
|
6936
8002
|
Returns: undefined
|
|
6937
8003
|
}
|
|
8004
|
+
is_super_admin: { Args: { p_user_id: string }; Returns: boolean }
|
|
8005
|
+
is_user_super_admin: { Args: never; Returns: boolean }
|
|
6938
8006
|
populate_location_descriptions: { Args: never; Returns: undefined }
|
|
6939
8007
|
populate_location_display_names: { Args: never; Returns: undefined }
|
|
6940
8008
|
rbac_audit_log:
|
|
@@ -6965,6 +8033,15 @@ export type Database = {
|
|
|
6965
8033
|
success: boolean
|
|
6966
8034
|
}[]
|
|
6967
8035
|
}
|
|
8036
|
+
rbac_check_distribution_or_page_permission: {
|
|
8037
|
+
Args: {
|
|
8038
|
+
p_event_id: string
|
|
8039
|
+
p_organisation_id: string
|
|
8040
|
+
p_page_name: string
|
|
8041
|
+
p_permission_pattern: string
|
|
8042
|
+
}
|
|
8043
|
+
Returns: boolean
|
|
8044
|
+
}
|
|
6968
8045
|
rbac_check_permission_simplified: {
|
|
6969
8046
|
Args: {
|
|
6970
8047
|
p_app_id?: string
|
|
@@ -6976,38 +8053,46 @@ export type Database = {
|
|
|
6976
8053
|
}
|
|
6977
8054
|
Returns: boolean
|
|
6978
8055
|
}
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
8056
|
+
rbac_detect_concurrent_sessions: {
|
|
8057
|
+
Args: {
|
|
8058
|
+
p_device_fingerprint?: string
|
|
8059
|
+
p_timeout_seconds?: number
|
|
8060
|
+
p_user_id: string
|
|
8061
|
+
}
|
|
8062
|
+
Returns: {
|
|
8063
|
+
concurrent_sessions_count: number
|
|
8064
|
+
has_concurrent: boolean
|
|
8065
|
+
session_ids: string[]
|
|
8066
|
+
}[]
|
|
8067
|
+
}
|
|
8068
|
+
rbac_enforce_session_timeout: {
|
|
8069
|
+
Args: { p_timeout_minutes?: number }
|
|
8070
|
+
Returns: {
|
|
8071
|
+
expired_sessions_count: number
|
|
8072
|
+
user_ids: string[]
|
|
8073
|
+
}[]
|
|
8074
|
+
}
|
|
8075
|
+
rbac_generate_device_fingerprint: { Args: never; Returns: string }
|
|
8076
|
+
rbac_invalidate_other_sessions: {
|
|
8077
|
+
Args: { p_current_device_fingerprint: string; p_user_id: string }
|
|
8078
|
+
Returns: number
|
|
8079
|
+
}
|
|
8080
|
+
rbac_permissions_get: {
|
|
8081
|
+
Args: {
|
|
8082
|
+
p_app_id?: string
|
|
8083
|
+
p_event_id?: string
|
|
8084
|
+
p_organisation_id?: string
|
|
8085
|
+
p_page_id?: string
|
|
8086
|
+
p_user_id: string
|
|
8087
|
+
}
|
|
8088
|
+
Returns: {
|
|
8089
|
+
context_id: string
|
|
8090
|
+
granted_at: string
|
|
8091
|
+
has_permission: boolean
|
|
8092
|
+
permission_type: string
|
|
8093
|
+
role_name: string
|
|
8094
|
+
}[]
|
|
8095
|
+
}
|
|
7011
8096
|
rbac_role_grant: {
|
|
7012
8097
|
Args: {
|
|
7013
8098
|
p_context_id?: string
|
|
@@ -7072,19 +8157,16 @@ export type Database = {
|
|
|
7072
8157
|
rbac_session_track: {
|
|
7073
8158
|
Args: {
|
|
7074
8159
|
p_app_id?: string
|
|
8160
|
+
p_device_fingerprint?: string
|
|
7075
8161
|
p_event_id?: string
|
|
7076
|
-
p_ip_address?:
|
|
8162
|
+
p_ip_address?: string
|
|
7077
8163
|
p_session_type?: string
|
|
7078
8164
|
p_user_agent?: string
|
|
7079
|
-
p_user_id
|
|
8165
|
+
p_user_id: string
|
|
7080
8166
|
}
|
|
7081
|
-
Returns:
|
|
7082
|
-
error_code: string
|
|
7083
|
-
message: string
|
|
7084
|
-
session_id: string
|
|
7085
|
-
success: boolean
|
|
7086
|
-
}[]
|
|
8167
|
+
Returns: string
|
|
7087
8168
|
}
|
|
8169
|
+
rbac_super_admin_check: { Args: { p_user_id: string }; Returns: boolean }
|
|
7088
8170
|
secure_query: {
|
|
7089
8171
|
Args: {
|
|
7090
8172
|
p_organisation_id: string
|
|
@@ -7094,6 +8176,11 @@ export type Database = {
|
|
|
7094
8176
|
}
|
|
7095
8177
|
Returns: Json
|
|
7096
8178
|
}
|
|
8179
|
+
set_app_organisation_id: {
|
|
8180
|
+
Args: { p_organisation_id: string }
|
|
8181
|
+
Returns: undefined
|
|
8182
|
+
}
|
|
8183
|
+
set_organisation_context: { Args: { org_id: string }; Returns: undefined }
|
|
7097
8184
|
sys_audit_cleanup: {
|
|
7098
8185
|
Args: { p_days_to_keep?: number; p_user_id?: string }
|
|
7099
8186
|
Returns: {
|
|
@@ -7116,6 +8203,10 @@ export type Database = {
|
|
|
7116
8203
|
Args: { options: Json; question_type: string }
|
|
7117
8204
|
Returns: boolean
|
|
7118
8205
|
}
|
|
8206
|
+
validate_organisation_access: {
|
|
8207
|
+
Args: { org_id: string }
|
|
8208
|
+
Returns: boolean
|
|
8209
|
+
}
|
|
7119
8210
|
verify_greenpay_signature: {
|
|
7120
8211
|
Args: { payload: string; signature: string }
|
|
7121
8212
|
Returns: boolean
|